﻿//Status Begin
var Writings=535;
var Reviews=3;
var Trackbacks=0;
//Status End
//LatestReviews Begin
var LatestReviews = new Array(  
'<li>Guest# 21: <a href="'+Path+'f/p523.html#r3i"  title="Reviewing...">Reviewing...</a></li>',
'<li>adad: <a href="'+Path+'f_2_d4/p517.html#r2i"  title="Reviewing...">Reviewing...</a></li>',
'<li>seo: <a href="'+Path+'f_2_d3/93466-51.html#r1i"  title="Reviewing...">Reviewing...</a></li>');//LatestReviews End
//Directories Begin
var Directories = new Array(  
new Directory('f/index.html','无缝钢管资讯',242,'f'),
new Directory('f_2_d2/index.html','财经',33,'f_2_d2'),
new Directory('f_2_d3/index.html','其它新闻',71,'f_2_d3'),
new Directory('f_2_d4/index.html','钢管知识',62,'f_2_d4'),
new Directory('f_2_d5/index.html','无缝钢管展示',8,'f_2_d5'),
new Directory('f_2_d6/index.html','最新铁矿石价格',38,'f_2_d6'),
new Directory('f_2_d7/index.html','最新无缝钢管.无缝管价格',68,'f_2_d7'),
new Directory('f_2_d8/index.html','四川汶川地震',12,'f_2_d8'));//Directories End
//Menologies Begin
var Menologies = new Array(  
new Menology('2009-12',5,'2009-12.html'),
new Menology('2009-09',1,'2009-09.html'),
new Menology('2009-06',4,'2009-06.html'),
new Menology('2009-05',2,'2009-05.html'),
new Menology('2009-04',8,'2009-04.html'),
new Menology('2009-03',14,'2009-03.html'),
new Menology('2009-02',23,'2009-02.html'),
new Menology('2009-01',11,'2009-01.html'),
new Menology('2008-12',37,'2008-12.html'),
new Menology('2008-11',17,'2008-11.html'),
new Menology('Index &amp; Tags',-1,'index.html'));//Menologies End
//Resources Begin
var Resources = new Array( );//Resources End
//Specials Begin
var Specials = new Array(  
new Special('2009-12-4','f_2_d4/p550.html','影響表面拋光性的因素'),
new Special('2009-12-2','f/p546.html','中油广安天然气公司“气化广安”一期管道工程竣工'),
new Special('2009-9-8','f/47.html','47个国庆特型焰火发射装置都由无缝钢管制作'),
new Special('2009-6-24','f/p544.html','上周钢材市场均势打破 板材价格再步下跌通道'),
new Special('2009-6-19','f/p543.html','太重制造：山西装备制造业新镜像'),
new Special('2009-6-3','f/p542.html','衡钢将成为全球先进品种最为齐全的钢管供应商'),
new Special('2009-5-10','f/p540.html','衡钢炼铁高炉产出首炉铁水 总投资12亿元'),
new Special('2009-4-27','f/p538.html','住友金属开发成功两种新型设备'),
new Special('2009-4-21','f/p537.html','天津规模以上工业首季增加值增长20.3%'),
new Special('2009-4-20','f/p535.html','冶金工业占天津工业的比重高达23.2%，为全市第一大产业'),
new Special('2009-4-18','f/p534.html','攀钢已经成为我国西部最大的钢铁生产基地，中国最大的铁路用钢生产基地、品种结构最齐全的无缝钢管生产基地'),
new Special('2009-4-15','f/p533.html','黑龙江省建龙无缝钢管项目二期工程启动'),
new Special('2009-4-11','f/-212.html','美国钢铁业大规模反倾销 涉及212家中国企业'),
new Special('2009-4-8','f_2_d7/p531.html','无缝钢管价格已经连续第八周下跌'),
new Special('2009-3-30','f_2_d4/p530.html','中板、型钢钢材理论重量表'),
new Special('2009-3-27','f/327.html','3月27日国内无缝钢管市场行情'),
new Special('2009-3-17','f/p527.html','天津钢管集团圆满完成2月份生产任务'),
new Special('2009-3-16','f_2_d4/p526.html','冷拔方形无缝钢管制作工艺'),
new Special('2009-3-13','f/api.html','凌钢API钢管首次打开了通往国际的陆路通道'),
new Special('2009-3-12','f/p524.html','上半年很难有希望回暖，但是继续下跌也很难，因为现在已经跌破成本了'),
new Special('2009-3-10','f/p523.html','钢铁暴利时代已经一去不复返'),
new Special('2009-3-9','f/p522.html','3月9号“09华菱债”在深交所正式上市交易'),
new Special('2009-3-6','f_2_d4/p521.html','16Mn无缝钢管和16MnR无缝钢管的区别'),
new Special('2009-3-5','f_2_d4/p520.html','什么是GS认证?怎样让您的产品签发GS证书'),
new Special('2009-3-4','f_2_d4/p519.html','Q235-A，Q235-B，Q235-C，Q235-D四种材质有什么区别'),
new Special('2009-3-3','f_2_d4/p518.html','在无缝钢管交易中外形尺寸术语介绍'),
new Special('2009-3-2','f_2_d4/p517.html','无缝钢管、管材、管件、阀门、接头等在外贸应用中对照表'),
new Special('2009-2-27','f_2_d4/p516.html','中国不锈钢无缝钢管的发展史'),
new Special('2009-2-26','f_2_d4/p515.html','20G高压锅炉用无缝钢管和20g锅炉钢板的区别'),
new Special('2009-2-25','f_2_d4/p514.html','钢管设备介绍在外贸中的中英文对照表'),
new Special('2009-2-24','f_2_d3/p512.html','太原装备制造业发展环境越来越好'),
new Special('2009-2-23','f/p511.html','邯郸精密无缝钢管积极应诉欧盟反倾销'),
new Special('2009-2-21','f/p510.html','宝隆石油专材产销两旺实现元月开门红'),
new Special('2009-2-19','f/p509.html','河北：一月份钢铁产品出厂价格平稳回暖'),
new Special('2009-2-17','f_2_d3/4_2_p508.html','河北吴桥发生特大杀人案4人死亡'),
new Special('2009-2-15','f_2_d7/p507.html','近期天津无缝钢管市场价格教稳定'),
new Special('2009-2-13','f/p506.html','太钢在危机中再造新的优势'),
new Special('2009-2-12','f_2_d3/p505.html','美国通信卫星与俄罗斯已报废卫星相撞'),
new Special('2009-2-10','f/5000_2_p504.html','攀成钢公司投资5000万启动清洁提钒项目'),
new Special('2009-2-9','f_2_d3/p502.html','中央电视台新址附近发生大火(组图)'),
new Special('2009-2-7','f/p500.html','邯钢冷轧厂以产品质量升级应对市场挑战'),
new Special('2009-2-3','f/p495.html','中国螺纹钢在韩国市场售价保持平稳'),
new Special('2009-1-19','f/p493.html','欧盟拟对我出口钢材征25%临时关税'),
new Special('2009-1-16','f_2_d4/p492.html','德国钢管DIN标准大全'),
new Special('2009-1-14','f/p491.html','太重集团跨入我国百亿企业行列'),
new Special('2009-1-11','f/p490.html','2008年无缝钢管市场回顾及09年预测'),
new Special('2009-1-9','f_2_d6/3945.html','巴西矿和澳大利亚矿至少应分别降价39%和45%'),
new Special('2009-1-7','f/2008_2_p488.html','2008年的中国钢铁企业的实际实现产能过剩问题仍然比较突出'),
new Special('2009-1-6','f/p487.html','元旦过后天无缝钢管市场开始升温'),
new Special('2009-1-5','f/p486.html','无缝管市场风平浪静，市场处于观望状态'),
new Special('2009-1-4','f/09_2_p485.html','09年钢铁产品结构调整的新动向'),
new Special('2009-1-3','f/20_2_p484.html','武钢20万吨工程落地天津'),
new Special('2008-12-31','f/p482.html','临近岁末，一些经济数据依然不太理想'),
new Special('2008-12-29','f_2_d7/p481.html','临近春节无缝钢管价格逐渐回暖'),
new Special('2008-12-28','f_2_d4/p480.html','无缝化钢管与无缝钢管的区别'),
new Special('2008-12-27','f_2_d3/p478.html','俄工贸部建议对中国和巴西不锈钢管征高关税'),
new Special('2008-12-26','f_2_d6/p477.html','铁矿石需求增大属于暂时波动分析'),
new Special('2008-12-25','f/24_2_p476.html','24日国内不锈钢市场行情呈显小幅阴跌的表现'),
new Special('2008-12-24','f/1-.html','多家钢厂上调1月订货价 对后市报有信心'),
new Special('2008-12-23','f/p472.html','无缝管市场价格现状分析'),
new Special('2008-12-22','f/452.html','辽宁省今年已关停452家小钢铁厂'),
new Special('2008-12-21','f/09_2_p468.html','09年起钢材等关税再次调整'),
new Special('2008-12-19','f/11_2_p467.html','11月份国内钢材市场价格呈探底震荡反弹态势'),
new Special('2008-12-17','f/100_2_p465.html','宝钢国际华中公司今年钢材销量已突破100万吨'),
new Special('2008-12-15','f_2_d3/30_2_p461.html','30年的国企改革风起云涌，回顾四川人的多个创新固然令人欣慰'),
new Special('2008-12-13','f/09_2_p459.html','福建天乘二期工程计划09年初投产'),
new Special('2008-12-12','f/p458.html','金融危机给盐山管道装备制造业带来的影响和机遇'),
new Special('2008-12-11','f/100_2_p457.html','攀成钢无缝钢管产量突破100万吨'),
new Special('2008-12-10','f/50_2_p456.html','香港中联集团在本溪市拟建一条年产50万吨的无缝钢管生产线'),
new Special('2008-12-9','f_2_d3/p455.html','张兴业：中国汽车工业怕什么'),
new Special('2008-12-8','f/p454.html','天管、淮钢和西马克公司进行技术谈判'),
new Special('2008-12-7','f/2008_2_p453.html','2008年中国钢管行业形势分析及预测'),
new Special('2008-12-6','f_2_d6/5_2_p452.html','5日全国主要城市矿石价格汇总'),
new Special('2008-12-4','f/-_2_p447.html','安阳钢铁：钢铁见底 阶段反弹'),
new Special('2008-12-3','f/p445.html','国内最大的均整机组和穿孔机组最近在太重集团制造成功'),
new Special('2008-11-27','f/p443.html','印度商工部对外贸易总局11月24日宣布，对无缝钢管实行进口许可证管理'),
new Special('2008-11-25','f/-_2_p442.html','有效投入促可持续发展 嘉善全面推进项目建设'),
new Special('2008-11-20','f/110329065.html','无缝钢管购进价格指数为110.32，比9月份回落0.65个百分点'),
new Special('2008-11-17','f/p439.html','产业结构调整是经济发展的永恒主题'),
new Special('2008-11-16','f_2_d3/p438.html','百度搜索引擎排名涉骗调查：恶意屏蔽不交钱企业'),
new Special('2008-11-14','f/p436.html','年内无缝钢管市场价格稳中小幅波动'),
new Special('2008-11-12','f_2_d4/200814127.html','中华人民共和国国家标准批准发布公告2008年第14期(总第127期）'),
new Special('2008-11-11','f/p433.html','法国机械集团承建的全球核电项目，不锈钢无缝管均由中兴装备提供'),
new Special('2008-11-10','f_2_d2/-_2_p430.html','调控后投资热明显降温 钢材市场转向理性增长'),
new Special('2008-11-6','f_2_d6/9-5.html','国际海运费下跌逾9成 创5年来新低'),
new Special('2008-11-4','f_2_d2/-_2_p428.html','铁路建设大提速 房价还会跟着跌'),
new Special('2008-10-29','f_2_d3/-141.html','内蒙古发现新的金脉区 预计可提交金资源量14.1吨'),
new Special('2008-10-28','f_2_d2/100.html','总投资100亿元的首钢装备制造业廊坊基地在河北廊坊大厂工业园区奠基'),
new Special('2008-10-23','f_2_d3/23.html','23日天津无缝管主流价格'),
new Special('2008-10-21','f_2_d3/p418.html','“一艘船全身是宝”'),
new Special('2008-10-20','f/p416.html','泰纳斯控股集团是全球最大的无缝钢管生产企业'),
new Special('2008-10-17','f/p415.html','上海建材市场新低，又见新低'),
new Special('2008-10-16','f_2_d3/2903-5.html','今年河北粮食总产预计2903万吨 连续5年增产'),
new Special('2008-10-15','f_2_d6/p393.html','中国铁矿石和钢材市场的需求疲软状况可能持续'),
new Special('2008-10-13','f/techint.html','阿根廷Techint集团拟在墨西哥开展大规模钢铁投资'),
new Special('2008-10-10','f/-_2_p387.html','大冶特钢:等待资产注入 期待需求恢复'),
new Special('2008-10-9','f_2_d4/109.html','10月9日大邱庄市场螺旋管价格明显下调'),
new Special('2008-8-14','f_2_d3/p376.html','国家统计局认为房价下调是必然'),
new Special('2008-8-12','f_2_d2/p372.html','8月12日钢铁行业日报'),
new Special('2008-8-7','f_2_d3/p370.html','危险时刻中国男足攻入奥运史首球将比分搬平'),
new Special('2008-8-6','f_2_d3/p367.html','中国奥运军团开门红 女足首战2-1克瑞典'),
new Special('2008-8-5','f_2_d7/8.html','太钢8月份不锈钢冷轧材料出厂价格表'),
new Special('2008-8-4','f_2_d3/p360.html','两名不法份子竟敢袭击边防支队'),
new Special('2008-8-1','f_2_d4/api-5l-grb.html','美国API 5L Gr.B相当于中国什么钢号'),
new Special('2008-7-30','f_2_d7/0730.html','07月30日无缝钢管网上报价'),
new Special('2008-7-29','f/5000_2_p356.html','邯郸市成安县总投资5000万元的无缝钢管项目竣工投产'),
new Special('2008-7-28','f_2_d7/728_2_p355.html','成都焊管7月28日市场报价'),
new Special('2008-7-27','f/p350.html','近期国内钢材市场需求疲软，价格小幅回落。'),
new Special('2008-7-26','f_2_d7/25_2_p347.html','25日重庆无缝管主流价格'),
new Special('2008-7-25','f_2_d6/kumbaceo3800.html','Kumba铁矿石公司CEO称全年产量将增至3800万吨'),
new Special('2008-7-23','f/p335.html','中国钢管业面临内外交困局面'),
new Special('2008-7-22','f/p334.html','通化冶金基地在思想解放中崛起'),
new Special('2008-7-21','f/p330.html','印度拟禁止铁矿石和扁钢出口'),
new Special('2008-7-18','f/p324.html','中国新型无缝钢管厂家认为钢市短期将稳中波动'),
new Special('2008-7-17','f_2_d4/p323.html','锅炉用钢板'),
new Special('2008-7-15','f_2_d7/715.html','7月15日成都大口径厚壁无缝钢管价格'),
new Special('2008-7-13','f/77-711.html','一周钢铁行业概览(7.7-7.11)'),
new Special('2008-7-11','f_2_d4/p316.html','高压锅炉用无缝钢管的尺寸允许偏差'),
new Special('2008-7-10','f_2_d2/50.html','上半年海湾地区建筑材料价格上涨50%'),
new Special('2008-7-9','f_2_d2/p308.html','攀钢四项重点创模项目有序推进'),
new Special('2008-7-8','f_2_d7/77.html','7月7日包钢无缝管调价信息'),
new Special('2008-7-7','f/7320087378.html','7月3日，山西省经委发布了电力供应“红色”预警，预警时间为2008年7月3日至7月8日。'),
new Special('2008-7-4','f_2_d6/bhp2008.html','宝钢与BHP达成2008年度铁矿石基准价格'),
new Special('2008-7-3','f_2_d4/p22t22.html','P22合金管和T22合金管的区别?'),
new Special('2008-7-2','f/p285.html','“一块钢板”怎样做成三个千亿元产业'),
new Special('2008-7-1','f_2_d6/08_2_p284.html','浦项与力拓达成08年度矿价协议'),
new Special('2008-6-30','f_2_d7/p280.html','近期部分钢厂调价信息'),
new Special('2008-6-27','f/p279.html','商务部:中澳铁矿石谈判结果对钢价影响小于预期'),
new Special('2008-6-26','f_2_d7/626_2_p278.html','6月26日莱钢热轧卷板出厂价格调整信息'),
new Special('2008-6-25','f_2_d7/6253mm.html','6月25日国内热轧卷(3mm)价格汇总'),
new Special('2008-6-24','f_2_d3/2008_2_p249.html','2008年高考志愿填报七大注意事项'),
new Special('2008-6-23','f_2_d4/p244.html','电镀锌和热镀锌(热浸锌）的内在区别'),
new Special('2008-6-20','f/p242.html','国内无缝钢管市场继续保持趋好的运行格局'),
new Special('2008-6-19','f/p240.html','铂金的应用及常见疑问'),
new Special('2008-6-18','f/-_2_p239.html','、铁矿石海运费暴跌迷局 专家及钢企否认“阴谋论”'),
new Special('2008-6-17','f/p236.html','不锈钢的物理化学机械特性一览表'),
new Special('2008-6-16','f/1580.html','阿联酋当地螺纹钢价格达到1580美元'),
new Special('2008-6-15','f_2_d8/72_2_p231.html','日本东北部发生7.2级地震'),
new Special('2008-6-14','f_2_d2/5_2_p229.html','5月份焦作市重要生产资料市场价格运行情况分析'),
new Special('2008-6-13','f_2_d4/p228.html','合金工具钢'),
new Special('2008-6-12','f_2_d4/p223.html','有关钢的热处理的名词'),
new Special('2008-6-10','f_2_d2/692-.html','人民币兑美元首破6.92关 再创新高'),
new Special('2008-6-5','f/700-.html','天津双街钢管被征700%关税 或将放弃美国市场'),
new Special('2008-6-4','f/0604.html','06月04日钢结构网上报价'),
new Special('2008-6-3','f/5000.html','灾后重建将催生5000万吨钢材需求'),
new Special('2008-6-1','f/-720.html','钢管集团扩能改造迈坚实一步 720旋扩管项目投产'),
new Special('2008-5-31','f/0530_2_p197.html','05月30日螺纹钢网上报价'),
new Special('2008-5-30','f/-_2_p193.html','钢铁行业：短期负面影响较小 不改总体向好'),
new Special('2008-5-29','f/-630.html','多家不锈钢企业将限产稳价 预计6月减产30%'),
new Special('2008-5-28','f/p191.html','钢材价格与消费需求渐行渐远'),
new Special('2008-5-27','f/-_2_p190.html','集资源铸精品 打造现代化钢铁钒钛巨头'),
new Special('2008-5-25','f_2_d2/p188.html','中国移动宣布铁通将并入移动，成为其全资子企业'),
new Special('2008-5-24','f/000629.html','攀钢钢钒（000629）钛主业将成为未来增长的主要动力'),
new Special('2008-5-23','f/70-.html','嘉鱼紧急赶制70吨钢管发往宜昌 制作救灾帐篷'),
new Special('2008-5-19','f_2_d7/519_2_p180.html','5月19日管坯出厂价格汇总'),
new Special('2008-5-16','f_2_d8/72.html','72小时过后，并不是不能存活'),
new Special('2008-5-15','f_2_d8/15151344.html','截至15日15时全国接收捐赠款物13.44亿'),
new Special('2008-5-14','f_2_d6/p173.html','国内外铁矿石价格强劲上涨的支持因素并不稳固'),
new Special('2008-5-13','f_2_d8/p155.html','目击都江堰聚源中学教学楼垮塌现场'),
new Special('2008-5-12','f_2_d3/87000.html','北京8天查获涉牌涉证交通违法7000余起'),
new Special('2008-5-9','f_2_d2/12-6400.html','住房公积金缴存升至12% 双职工每年多存6400元'),
new Special('2008-5-7','f_2_d7/57_2_p125.html','5月7日鞍山无缝管参考价格'),
new Special('2008-5-6','f/92.html','自主创新使92岁的鞍钢焕发青春'),
new Special('2008-5-5','f/p113.html','钢铁是怎样炼成的'),
new Special('2008-5-4','f_2_d2/p102.html','国内钢材价格继续全面上涨'),
new Special('2008-5-2','f_2_d4/p77.html','钢管标准中常用术语介绍'),
new Special('2008-5-1','f/p73.html','天津钢管扩能改造项目全部建成投产'),
new Special('2008-4-29','f/4-28-60.html','“4-28”胶济铁路事故初查 肇事火车超速60%'),
new Special('2008-4-28','f/-_2_p70.html','国内外钢材价格均创历史新高 长材价格继续走强'),
new Special('2008-4-25','f_2_d3/p54.html','全球粮食危机下的契机'),
new Special('2008-4-24','f/2008.html','日本新日铁称，将与韩国浦项合作共同进行2008年铁矿石价格谈判'),
new Special('2008-4-23','f/-_2_p46.html','邯郸钢铁、华菱管线价值严重低估 中线极有潜力'),
new Special('2008-4-22','f_2_d3/5050_2_p42.html','美国有线电视新闻网（ＣＮＮ）节目主持人卡弗蒂辱骂华人是50年不变的"呆子"'),
new Special('2008-4-20','f/fmg.html','全球第三大矿主FMG扩产赴华求援'),
new Special('2008-4-18','f/108.html','衡阳钢管108技术改造工程热试成功'),
new Special('2008-4-17','f/p18.html','安钢管线钢生产取得新进展'),
new Special('2008-4-16','f/2007.html','2007年全国钢铁企业生铁产量排名'),
new Special('2008-4-15','f/p8.html','武钢发布我国钢铁企业第一份社会责任报告'),
new Special('2008-4-14','f/76.html','第一季度我国钢铁出口量减少近两成,出口金额增长7.6%'));//Specials End
//RandomWritings Begin
var RandomWritings =   new Array(  
'<li><a href="../f_2_d3/1016_2_p398.html">10月16日沈阳无缝管市场行情</a></li>'       ,
'<li><a href="../f/5_2_p212.html">攀钢5月生产仍保持了稳定均衡良好势头</a></li>'       ,
'<li><a href="../f_2_d3/1650.html">16日大邱庄螺旋管下跌50元</a></li>'       ,
'<li><a href="../f_2_d3/-26.html">奥运圣火顺利抵达日本东京 26日将在长野传递</a></li>'       ,
'<li><a href="../f_2_d7/16.html">16日杭州市场无缝管价格行情</a></li>'       );//RandomWritings End
//HotestWritings Begin
var HotestWritings =  new Array(  
'<li><a href="../f_2_d4/p381.html">钢材理论重量表</a></li>'       ,
'<li><a href="../f_2_d4/p226.html">常用材料重量与比重表</a></li>'       ,
'<li><a href="../f_2_d4/p530.html">中板、型钢钢材理论重量表</a></li>'       ,
'<li><a href="../f_2_d4/p517.html">无缝钢管、管材、管件、阀门、接头等在外贸应用中对照表</a></li>'       ,
'<li><a href="../f_2_d4/p519.html">Q235-A，Q235-B，Q235-C，Q235-D四种材质有什么区别</a></li>'       );//HotestWritings End
//LastUpdateDate Begin
var LastUpdateDate=20091204;
//LastUpdateDate End
var Months = new Array('Jan','Feb','Mar','Apr','May','Jun','Jul','Aug','Sep','Oct','Nov','Dec');
var YunY_Calendar = "";
var Now = new Date();
var When = new Date( Now.getFullYear(),Now.getMonth(),1);
var Special ="-";
function FindSpecial(SpecialDate){for(var i=0;i<Specials.length;i++){if(Specials[i].UpdateDate==SpecialDate){return i;}}return -1;}
function setMonthYear(){YunY_Calendar.rows[0].cells[1].innerHTML=Months[When.getMonth()]+" "+When.getFullYear();for(var i=0;i<6;i++)for(var j=0;j<7;j++){YunY_Calendar.rows[2+i].cells[j].innerHTML="";}for(var i=0;i<6;i++)for(var j=0;j<7;j++){if(  (i*7+j-When.getDay()+1)>0 && (i*7+j-When.getDay()+1)<=(32-(new Date( When.getFullYear(),(When.getMonth()),32)).getDate()) ){if(FindSpecial(When.getFullYear()+"-"+(When.getMonth()+1)+"-"+(i*7+j-When.getDay()+1))>-1){YunY_Calendar.rows[2+i].cells[j].innerHTML="<a href='"+Path+Specials[FindSpecial(When.getFullYear()+"-"+(When.getMonth()+1)+"-"+(i*7+j-When.getDay()+1))].LinkID+"' title='"+Specials[FindSpecial(When.getFullYear()+"-"+(When.getMonth()+1)+"-"+(i*7+j-When.getDay()+1))].Abstract+"' ><span class='tdStrong'>"+(i*7+j-When.getDay()+1)+"</span></a>";}else{YunY_Calendar.rows[2+i].cells[j].innerHTML=i*7+j-When.getDay()+1;}}}if((Now.getMonth()==When.getMonth())&&(Now.getFullYear()==When.getFullYear())){YunY_Calendar.rows[2+Math.floor((Now.getDate()+When.getDay()-1)/7)].cells[Now.getDay()].innerHTML="<font color='red'>"+Now.getDate()+"</font>";}}
function PreviousMonth(){if((When.getMonth()-1)<0){When = new Date( When.getFullYear()-1,(When.getMonth()+11)%12,1);}else{When = new Date( When.getFullYear(),(When.getMonth()+11)%12,1);}setMonthYear();}
function NextMonth(){if((When.getMonth()+1)>11){When = new Date( When.getFullYear()+1,(When.getMonth()+1)%12,1);}else{When = new Date( When.getFullYear(),(When.getMonth()+1)%12,1);}setMonthYear();}
function Directory(ID,Name,Quantity,Alias){this.ID=ID;this.Name=Name;this.Quantity=Quantity;this.Alias=Alias;}
function Menology(Name,Quantity,LinkID){this.Name=Name;this.Quantity=Quantity;this.LinkID=LinkID;}
function Special(UpdateDate,LinkID,Abstract){this.UpdateDate=UpdateDate;this.LinkID=LinkID;this.Abstract=Abstract;}
function DeleteReviewLink(ReviewID){if (getCookie("blogYunY")!=""){document.write('<a href="'+Path+'Process/ReviewDelete.asp?ID='+ReviewID+'">Delete</a>');}}
function DeleteReviewLink(ID){if (getCookie("blogYunY")!=""){document.write('<a href="'+Path+'Process/ReviewDelete.asp?ID='+ID+'">Delete</a>');}}
function indexOfD(dir){for(var i=0;i<Directories.length;i++){if(('/'+Directories[i].ID).indexOf('/'+dir+'/index.')==0)return i;}return -1;}
function E(ID){return document.getElementById(ID);}
function OKReviewLink(ID){if (getCookie("blogYunY")!=""){document.write('<a href="'+Path+'process/reviewaction.asp?id='+ID+'">OK?</a>');}}
function ShowReviewLink(ID){if (getCookie("blogYunY")!=""){document.write('<a href="'+Path+'process/reviewaction.asp?id='+ID+'">Show</a>');}}
function HideReviewLink(ID){if (getCookie("blogYunY")!=""){document.write('<a href="'+Path+'process/reviewaction.asp?a=hide&id='+ID+'">Hide</a> ');}}
function EditLink(WritingID,AllowReview){if(AllowReview==1){document.write(' <span style="cursor:pointer" onclick="if(E(\'reviews\').style.display!=\'none\') {E(\'reviews\').style.display=\'none\';document.reviewform.author.focus();} else E(\'reviews\').style.display=\'block\';">[<strong>Review</strong>]</span>');} if (getCookie("blogYunY")!=""){document.write(' <a href="'+Path+'process/writingedit.asp?id='+WritingID+'">[Edit]</a>');}}
function Quote(ID){var qstr = E('C'+ID).innerHTML.replace(/<.*?>/mg,'').replace(/\[.*\]/mg,''); if(qstr.length>10)qstr = qstr.substring(0,10) +'...'; document.reviewform.content.value+= '['+E('A'+ID).innerHTML.replace(/<.*?>/mg,'')+':'+qstr+']\r\n'; document.reviewform.content.focus();}
function WriteDirectories(){document.write('<ul class="mul" id="muldirectories">');for(var i=0;i<Directories.length;i++){document.write('<li><a href="'+Path+Directories[i].ID+'">'+Directories[i].Name+'</a> <span class="smallfont">['+Directories[i].Quantity+']</span></li>');}document.write('</ul>');}
function WriteResources(){document.write('<ul class="mul" id="mulresources">');for(var i=0;i<Resources.length;i++){document.write(Resources[i]);}document.write('</ul>');}
function WriteMenologies(){document.write('<ul class="mul" id="mulmenologies">');for(var i=0;i<Menologies.length;i++){document.write('<li><a href="'+Path+'m/'+Menologies[i].LinkID+'">'+Menologies[i].Name+'</a>'+(Menologies[i].Quantity>-1?' <span class="smallfont">['+Menologies[i].Quantity+']</span>':'')+'</li>');}document.write('</ul>');}
function WriteLastestReviews(){document.write('<ul class="mul" id="mullatestreviews">');for(var i=0;i<LatestReviews.length;i++){document.write(LatestReviews[i]);}document.write('</ul>');}
function WriteRandomWritings(){document.write('<ul class="mul" id="mulrandomwritings">');for(var i=0;i<RandomWritings.length;i++){document.write(RandomWritings[i]);}document.write('</ul>');}
function WriteHotestWritings(){document.write('<ul class="mul" id="mulhotestwritings">');for(var i=0;i<HotestWritings.length;i++){document.write(HotestWritings[i]);}document.write('</ul>');}
function ResizeImg(imgID){if(imgID.width>500)imgID.width=500;}
function getCookie(arg_CookieName){fromN=document.cookie.indexOf(arg_CookieName+"=")+0;if((fromN)!=-1){		fromN+=arg_CookieName.length+1; toN=document.cookie.indexOf(";",fromN)+0;	if(toN==-1){		toN=document.cookie.length}	return unescape(decodeURI(document.cookie.substring(fromN,toN)))	}	return ""	}
function Search(event,oInput){var keyCode=(event)?event.keyCode:keyStroke.which;if(keyCode==13){top.location=Path+"Process/Search.asp?Keywords="+oInput.value;return false;}return true;}function Search2(oInputId){var oInput=E(oInputId);top.location=Path+"Process/Search.asp?Keywords="+oInput.value;return false;}
function Showdadv(){if(E('dadv').style.display=='none'){E('dadv').style.display='inline';E('code').src='../process/code.asp';}}
function LoadLastUser(){if((getCookie('YunYNickName')!='')&&(getCookie('YunYHomePage')!='')){document.reviewform.author.value=getCookie('YunYNickName');document.reviewform.link.value=getCookie('YunYHomePage');}}
function CheckSearchCache(key,N){if(LastUpdateDate==0) return; if(LastUpdateDate>N) location.href='../process/search.asp?keywords='+key;}
function MenologiesChart(){var maxy = 0;	var total = 12;	for(var i=Menologies.length-2;(i>-1 && i>Menologies.length-2-total);i--){	if(Menologies[i].Quantity>maxy) maxy=Menologies[i].Quantity;	}	 	var width = parseInt((Menologies.length-1)*45); 	var height = 100; 	var chd=""; 	var xl = ""; 	var chm=""; 	 	var t = 0; 	var totalv=0; 	for(var i=Menologies.length-2;(i>-1 && i>Menologies.length-2-total);i--){ 		var v = parseFloat(Menologies[i].Quantity*100/maxy).toFixed(4); 		chd +=v+','; 		xl +=Menologies[i].Name+'|'; 		chm +='o,FF9900,0,'+(Menologies.length-2-i)+',5.0|'; 		t++; 		totalv = totalv+parseFloat(Menologies[i].Quantity*100/maxy); 	} 	totalv = totalv/t/100; 	chm = 'h,dddddd,0,'+totalv.toFixed(4)+',1|'+chm; 	  	 	if(chd.length>0) chd = chd.substring(0,chd.length-1); 	if(xl.length>0) xl = xl.substring(0,xl.length-1);	 	if(chm.length>0) chm = chm.substring(0,chm.length-1); 	 	 	var yl = '|'+maxy/2+'|'+maxy; 	var chtt = 'Writings in the past months';	 	 	var url = 'http://chart.apis.google.com/chart?chs='+width+'x'+height+'&chd=t:'+chd+'&chtt='+chtt+'&chf=bg,s,f5f5f5&chm='+chm+'&cht=lc&chxt=x,y&chxl=0:|'+xl+'|1:|'+yl; 	if(t>5)document.write('<p><img src="'+url+'" /></p>');	 }function ShowCalendar(){document.write('<table width="100%" border="0" cellpadding="0" cellspacing="0" id="YunY_Calendar"><tr><td><div onclick="javascript:PreviousMonth()" style="cursor:pointer">«</div></td><td colspan="5" align="center"></td><td ><div onclick="javascript:NextMonth()" style="cursor:pointer;">»</div></td></tr><tr class="tdStrong"><td >Su</td><td >M</td><td >Tu</td><td >W</td><td >Th</td><td >F</td><td >Sa</td></tr><tr><td></td><td></td><td></td><td></td><td></td><td></td><td></td></tr><tr><td></td><td></td><td></td><td></td><td></td><td></td><td></td></tr><tr><td></td><td></td><td></td><td></td><td></td><td></td><td></td></tr><tr><td></td><td></td><td></td><td></td><td></td><td></td><td></td></tr><tr><td></td><td></td><td></td><td></td><td></td><td></td><td></td></tr><tr><td></td><td></td><td></td><td></td><td></td><td></td><td></td></tr></table>');YunY_Calendar=E("YunY_Calendar");setMonthYear();}function OKMessageLink(ID){if (getCookie("blogYunY")!=""){document.write('<a href="'+Path+'process/p_messageaction.asp?id='+ID+'">OK?</a>');}}
function ShowMessageLink(ID){if (getCookie("blogYunY")!=""){document.write('<a href="'+Path+'process/p_messageaction.asp?id='+ID+'">Show</a>');}}
function ShowReplyLink(ID){if (getCookie("blogYunY")!=""){document.write('<span style="cursor:pointer;text-decoration: underline;" onclick="if(E(\'replyform'+ID+'\').style.display!=\'none\') E(\'replyform'+ID+'\').style.display=\'none\';else E(\'replyform'+ID+'\').style.display=\'block\';">Reply</span> ');}}
function HideMessageLink(ID){if (getCookie("blogYunY")!=""){document.write('<a href="'+Path+'process/p_messageaction.asp?a=hide&id='+ID+'">Hide</a> ');}}
function DeleteMessageLink(ID){if (getCookie("blogYunY")!=""){document.write('<a href="'+Path+'Process/p_messageDelete.asp?ID='+ID+'">Delete</a>');}}

