﻿//Configs Begin
var AfAuthor = 'WWT';
var BfBulletin = '<h1>零预付，服务更人性；流程简化，工作更高效； >><a href="http://www.leeglee.org/back/">立即提交</a></h2>';
var CfEmail = '<br/><a href="/webpages/shanghai-fanyi/">上海</a> <a href="/webpages/shandong-fanyi/" target="_blank">山东</a> <a href="/webpages/hebei-fanyi/" target="_blank" >河北</a> <a href="/webpages/tianjin-fanyi/" target="_blank" >天津</a> <a href="/webpages/shenzhen-fanyi/" target="_blank" >深圳</a> <a href="/webpages/sichuan-fanyi/" target="_blank" >四川</a> <a href="/webpages/xiamen-fanyi/" target="_blank" >厦门</a> <a href="/webpages/zhejiang-fanyi/" target="_blank" >浙江</a> <a href="/webpages/jiangsu-fanyi/" target="_blank" >江苏</a> <a href="/webpages/hubei-fanyi/" target="_blank" >湖北</a> <a href="/webpages/beijing-fanyi/">北京</a>';
var EfSubTitle = '北京宽天下翻译公司';
var FfTheme = 'worldwide';
var GfTitle = '翻译公司（北京宽天下翻译公司）';
var PfSiteURL = 'http://www.leeglee.org/webpages/';

//Configs End
//Status Begin
var Writings=401;
var Reviews=19;
var Trackbacks=0;
//Status End
//LatestReviews Begin
var LatestReviews = new Array(  
'<li>Guest#47: <a href="'+Path+'learn/postenglish.html#r55i"  title="企划部总监">企划部总监</a></li>',
'<li>Yangzhong Kaiyangzhijiao Co., Ltd.: <a href="'+Path+'companynews/free-online-trans.html#r40i"  title="Yangzhong Kaiyangzhijiao Co., Ltd. ">Yangzhong Kaiyangzhijiao Co., Ltd. </a></li>',
'<li>Guest#+8: <a href="'+Path+'learn/companyname-trans.html#r37i"  title="[Guest# 54:实业有限公司]Industrial Co.,Ltd. ">[Guest# 54:实业有限公司]Industrial Co.,Ltd. </a></li>',
'<li>Guest#+8: <a href="'+Path+'learn/companyname-trans.html#r36i"  title="[Guest# 19:江苏通瑞包装有限公司]Jiangsu Tongrui Packing Co.,Ltd. ">[Guest# 19:江苏通瑞包装有限公司]Jiangsu Tongrui Packing Co.,Ltd. </a></li>',
'<li>Guest# 19: <a href="'+Path+'learn/companyname-trans.html#r27i"  title="江苏通瑞包装有限公司">江苏通瑞包装有限公司</a></li>',
'<li>Guest# 10: <a href="'+Path+'learn/companyname-trans.html#r25i"  title="Billion China Trading Ltd">Billion China Trading Ltd</a></li>',
'<li>Guest# 54: <a href="'+Path+'learn/companyname-trans.html#r24i"  title="实业有限公司">实业有限公司</a></li>',
'<li>gain: <a href="'+Path+'learn/companyname-trans.html#r21i"  title="corpoation">corpoation</a></li>');//LatestReviews End
//Directories Begin
var Directories = new Array(  
new Directory('learn/index.html','翻译学习-翻译学习资源|翻译术语库|翻译词汇',122,'learn'),
new Directory('news/index.html','翻译动态-宽天下翻译公司',77,'news'),
new Directory('companynews/index.html','翻译公司动态-翻译行业新闻|翻译资讯|翻译报道',29,'companynews'),
new Directory('job/index.html','翻译人才-译员招聘|兼职翻译|翻译工作|宽天下翻译公司',2,'job'),
new Directory('solution/index.html','行业翻译方案-工程翻译公司|宽天下翻译公司',27,'solution'),
new Directory('languages/index.html','翻译涉及语言-英语翻译|法语翻译|德语翻译|西班牙语翻译',14,'languages'),
new Directory('life/index.html','翻译之外-宽天下翻译公司',9,'life'),
new Directory('engineering-trans/index.html','工程技术翻译-公司|标书翻译|项目标书翻译|',42,'engineering-trans'),
new Directory('zhengjianfanyi/index.html','证件证明翻译-毕业证翻译|简历翻译|留学证件翻译|证明翻译|公证翻译',7,'zhengjianfanyi'),
new Directory('biaozhunfanyi-gongye/index.html','标准翻译-公司|专业标准翻译|行业标准|标准资源|欧洲标准翻译|标准网',61,'biaozhunfanyi-gongye'),
new Directory('shanghai-fanyi/index.html','宽天下-上海外语翻译服务公司网站',1,'shanghai-fanyi'),
new Directory('tianjin-fanyi/index.html','宽天下-天津外语翻译服务公司网站',1,'tianjin-fanyi'),
new Directory('shenzhen-fanyi/index.html','宽天下-深圳外语翻译服务公司网站',1,'shenzhen-fanyi'),
new Directory('xiamen-fanyi/index.html','宽天下-厦门外语翻译服务公司网站',1,'xiamen-fanyi'),
new Directory('shandong-fanyi/index.html','宽天下-山东青岛外语翻译服务公司网站',1,'shandong-fanyi'),
new Directory('hebei-fanyi/index.html','宽天下-河北石家庄外语翻译服务公司网站',1,'hebei-fanyi'),
new Directory('sichuan-fanyi/index.html','宽天下-四川重庆外语翻译服务公司网站',1,'sichuan-fanyi'),
new Directory('zhejiang-fanyi/index.html','宽天下-浙江杭州外语翻译服务公司网站',1,'zhejiang-fanyi'),
new Directory('jiangsu-fanyi/index.html','宽天下-江苏南京外语翻译服务公司网站',1,'jiangsu-fanyi'),
new Directory('hubei-fanyi/index.html','宽天下-湖北武汉外语翻译服务公司网站',1,'hubei-fanyi'),
new Directory('beijing-fanyi/index.html','宽天下-北京外语翻译服务公司网站',1,'beijing-fanyi'));//Directories End
//Menologies Begin
var Menologies = new Array(  
new Menology('2010-02',1,'2010-02.html'),
new Menology('2009-09',1,'2009-09.html'),
new Menology('2009-07',5,'2009-07.html'),
new Menology('2009-05',2,'2009-05.html'),
new Menology('2009-04',5,'2009-04.html'),
new Menology('2009-02',14,'2009-02.html'),
new Menology('2009-01',6,'2009-01.html'),
new Menology('2008-12',76,'2008-12.html'),
new Menology('2008-11',34,'2008-11.html'),
new Menology('2008-10',13,'2008-10.html'),
new Menology('2008-09',6,'2008-09.html'),
new Menology('2008-08',13,'2008-08.html'),
new Menology('2008-07',32,'2008-07.html'),
new Menology('2008-06',70,'2008-06.html'),
new Menology('2008-05',43,'2008-05.html'),
new Menology('2008-03',4,'2008-03.html'),
new Menology('Index &amp; Tags',-1,'index.html'));//Menologies End
//Resources Begin
var Resources = new Array(  
'<li><a href="'+Path+'r/b3b873786e1f8694.html">汽车工程翻译词汇</a></li>',
'<li><a href="'+Path+'r/50905fa8152e2e64.html">植物药物翻译实用词汇</a></li>');//Resources End
//Specials Begin
var Specials = new Array(  
new Special('2010-2-12','news/511.html','测试'),
new Special('2009-9-16','biaozhunfanyi-gongye/742.html','消防系统对综合布线的要求'),
new Special('2009-7-28','biaozhunfanyi-gongye/319.html','标准查询下载网址大全-国际性标准化组织网址目录汇总'),
new Special('2009-7-19','biaozhunfanyi-gongye/292.html','检验标准,抽样检验标准,检验标准翻译'),
new Special('2009-7-13','biaozhunfanyi-gongye/728.html','IEC电线电缆标准目录翻译查询'),
new Special('2009-7-11','biaozhunfanyi-gongye/625_644_p417.html','船用机械设备技术标准全书'),
new Special('2009-5-22','companynews/328.html','感恩翻译客户积分回馈'),
new Special('2009-5-12','solution/911.html','解说词翻译，剧目台词，剧本翻译'),
new Special('2009-4-3','solution/395_397_p414.html','船舶建造合同翻译样稿'),
new Special('2009-2-22','companynews/961.html','《沉思录》火爆与翻译界之痛'),
new Special('2009-2-8','solution/464.html','外文图书翻译中文，中文图书翻译外文'),
new Special('2009-5-6','zhejiang-fanyi/323.html','浙江外语翻译服务公司网站'),
new Special('2009-2-6','xiamen-fanyi/022.html','厦门外语翻译服务公司'),
new Special('2009-8-3','shanghai-fanyi/117.html','宽天下上海外语翻译服务公司'),
new Special('2009-2-5','beijing-fanyi/128.html','北京宽天下外语翻译服务公司'),
new Special('2009-2-4','companynews/989.html','兼职翻译常见问题解答'),
new Special('2009-1-30','solution/712.html','企业（项目）策划书翻译，商业计划书（方案）翻译'),
new Special('2009-3-29','solution/704.html','手机说明书（使用手册）翻译—产品说明书翻译'),
new Special('2009-1-13','biaozhunfanyi-gongye/566.html','EN——欧洲标准（翻译）目录18'),
new Special('2009-1-17','companynews/fanyi-hezuo-jiameng-01.html','合作加盟—翻译连锁加盟'),
new Special('2009-1-4','news/488.html','国家不再进行翻译系列任职资格评审'),
new Special('2008-12-25','biaozhunfanyi-gongye/741.html','英国国家标准（翻译）目录'),
new Special('2008-12-21','companynews/045.html','翻译外包的理由'),
new Special('2008-12-13','engineering-trans/aoac-biaozhun-fanyi.html','AOAC标准翻译（中文）'),
new Special('2009-1-9','life/sitemap.html','网站地图'),
new Special('2009-1-14','companynews/fanyi-gongsi-jiage-baojia.html','翻译公司价格，翻译报价，中译英报价（英译中）'),
new Special('2008-12-4','learn/shigong-guanxian-jianli-fanyi.html','施工管线,施工管理,监理翻译,标书,建筑设计翻译'),
new Special('2008-12-3','learn/wenhua-chayi-yuyan-biaoda.html','文化差异：语言表达上的含蓄与外露'),
new Special('2008-11-24','learn/waiyu-fanyi-kaoshi.html','考全国外语翻译证书考试要买那些资料?'),
new Special('2008-11-23','learn/jieci-shiyong-guilei-zongjie.html','很有意思的英语介词使用总结'),
new Special('2008-11-22','learn/fanyi-gongsi-rencai.html','翻译公司需要怎么样的人才'),
new Special('2008-11-21','learn/shaoer-tushu-fanyi.html','少儿图书出版翻译进入繁荣期'),
new Special('2008-11-20','news/fanyi-hongloumeng-piping.html','黛玉&quot;放荡&quot;袭人&quot;剽悍&quot; &lt;红楼梦&gt;翻译不当遭批'),
new Special('2008-11-19','news/pinpai-fanyi-wenhua.html','品牌翻译中的民族文化因素'),
new Special('2008-10-15','news/guoji-yurong.html','国际羽绒羽毛质量检测方法最新版中文翻译工作完成'),
new Special('2008-10-14','learn/fanyi-biaoda.html','翻译的表达'),
new Special('2008-10-13','companynews/fanyi-fuwuka.html','与众不同的优质服务—宽天下翻译'),
new Special('2008-10-3','news/kouyi-biaozhun.html','《现场口译服务质量标准 》（试行）'),
new Special('2008-12-31','solution/caipu-fanyi.html','中国菜谱翻译—菜单翻译'),
new Special('2009-6-5','solution/biaozhunfanyi.html','标准翻译，工业标准翻译，欧洲标准翻译'),
new Special('2009-1-20','solution/lunwenfanyi.html','学术论文翻译，论文摘要翻译'),
new Special('2008-9-3','engineering-trans/zimufanyi.html','字幕翻译，影视字幕翻译，视频字幕翻译，剧本字幕翻译'),
new Special('2008-8-20','news/fit2008-china.html','祝贺中国成功申办第18届世界翻译大会'),
new Special('2008-8-19','learn/yuanxifanyi.html','大学院系及教研室译名'),
new Special('2008-8-18','learn/yingyu-changju.html','英语翻译讲座之英语长句翻译基本功四'),
new Special('2008-8-15','learn/goubuli-yingwen.html','天津狗不理悬挂英文招牌翻译GO BELIEVE'),
new Special('2008-7-31','learn/yinshiwenhua.html','美国快餐饮食文化'),
new Special('2008-12-6','companynews/wangzhan-waiyu.html','免费外语网站制作—英语网站制作—做国际买卖'),
new Special('2008-7-21','news/p240.html','英语毕业证翻译中文—证件翻译'),
new Special('2008-7-17','learn/jiazhou-lvguan.html','《加州旅馆》的经典中文翻译'),
new Special('2008-7-11','learn/wenyanwen-fanyi.html','文言文翻译方法'),
new Special('2008-7-10','learn/zhongguoshiyingyu.html','一个老外总结的中国式英语及正确的说法'),
new Special('2008-7-8','news/p233.html','网上盛行四大翻译软件介绍与下载地址'),
new Special('2008-7-7','learn/sanzijing-fanyi.html','三字经的英文翻译'),
new Special('2008-7-4','news/jiazhao-suolue.html','外文驾照缩略语翻译指南'),
new Special('2008-7-3','zhengjianfanyi/xueli-renzheng.html','学历学位证书认证申请办法'),
new Special('2008-7-2','learn/mingcheng-fanyi.html','国际与区域组织名称翻译'),
new Special('2008-6-27','learn/russia-study.html','俄国留学申请程序及条件'),
new Special('2008-6-29','learn/huzhao-fanyi.html','中国护照英语翻译样本'),
new Special('2008-11-8','learn/lvyou-jingdian.html','旅游景点英文翻译样本'),
new Special('2008-6-20','learn/huazhuangpin-shuoming.html','化妆品说明书翻译样本'),
new Special('2008-6-19','zhengjianfanyi/olympictrans.html','奥运翻译，奥运百科'),
new Special('2008-6-17','news/abbyy-finereader.html','最牛多语识别软件|ABBYY FineReader 8.0 专业版|ocr 识别软件'),
new Special('2008-6-15','news/p190.html','招标合同翻译|标书翻译|工程标书翻译'),
new Special('2008-6-14','news/zhili-fanyi.html','治理翻译质量下降从何做起'),
new Special('2008-6-25','zhengjianfanyi/zaiduzhengming.html','在读证明中英文样本（大学）'),
new Special('2008-6-13','engineering-trans/bangcai-xingcai.html','棒材型材钢管图纸翻译（中英文对照）'),
new Special('2008-6-12','engineering-trans/qilunjizhu.html','汽轮机组设备图纸翻译资料（中英文对照）'),
new Special('2008-6-11','engineering-trans/xiaoshouhetong.html','销售合同英文翻译范本'),
new Special('2008-12-18','engineering-trans/gongchenghetong.html','工程安装合同英文翻译样本'),
new Special('2008-6-30','companynews/yinhangcunkuan.html','银行存款证明英文翻译样本'),
new Special('2008-6-9','engineering-trans/com-biaozhun.html','COM标准法规'),
new Special('2009-4-7','life/msn-dengru.html','MSN 登录时出现80048820错误的官方解释'),
new Special('2008-6-3','learn/jiudian-fanyi.html','全国酒店名称中英文对照翻译'),
new Special('2008-10-16','news/wenziluru.html','文字录入，数据录入，外文录入，快速录入，名片录入'),
new Special('2008-5-18','life/wenhuashanfanyi.html','文化衫，英文翻译及其文化'),
new Special('2008-5-16','news/fanyi-aoyunfanyi.html','奥运翻译团队组建完毕 160名外籍翻译员'),
new Special('2008-5-13','news/fanyi-ruanjian_2_p129.html','沟通无国界: 2006翻译工具编辑推荐'),
new Special('2008-12-26','news/fanyi-google.html','Google翻译进行最大升级 翻译功能更加强大'),
new Special('2008-5-12','learn/fanyi-cuowei.html','英汉翻译中的词序错位现象（Different Word 0rders）'),
new Special('2009-4-27','learn/fanyi-eyu.html','俄语学习资料'),
new Special('2008-5-9','news/fanyi-jiqi.html','用电脑来做翻译效果如何？'),
new Special('2008-8-26','learn/fanyi-jiqiao.html','翻译技巧：英语形容词翻译的小窍门'),
new Special('2008-5-7','learn/ditie-fanyi.html','地铁警示翻译欠妥 英文小心错成关心'),
new Special('2008-5-4','news/fanyi-weipai.html','外语人才委派'),
new Special('2008-11-17','news/fanyi-ruanjian.html','软件本地化翻译'),
new Special('2009-1-15','news/fanyi-tongchuan.html','国际会议同声传译（口译）服务'),
new Special('2009-2-3','news/fanyi-wangzhan.html','中文网站翻译英文，英文网站翻译中文，英语网站设计制作'),
new Special('2008-9-18','news/fanyi-wenjian.html','文件资料翻译 Documents Translation'),
new Special('2009-1-7','news/kouyu-fanyi.html','PC级运算能力业界首创口语翻译'),
new Special('2008-5-1','news/zhongwen-fanyi.html','强势语文影响下的中文翻译'),
new Special('2008-6-10','companynews/p93.html','可行性报告翻译'),
new Special('2009-1-22','companynews/p92.html','公司年报翻译/年报翻译'),
new Special('2008-2-26','life/p89.html','如何打造清爽干净男士形象'),
new Special('2008-2-25','life/searchtool.html','搜索引擎大全'),
new Special('2008-5-2','learn/p85.html','重新认识翻译理论的作用'),
new Special('2008-2-22','learn/p84.html','英汉翻译中认知视点的把握'),
new Special('2008-2-19','news/p83.html','翻译产业的信息化与标准化'),
new Special('2008-7-24','learn/p82.html','翻译家的忙碌'),
new Special('2008-1-25','news/p81.html','商业翻译中的质量管理'),
new Special('2008-1-24','news/p74.html','北京公厕代名词WC将被彻底取缔'),
new Special('2008-1-21','learn/zljswz.html','专利词汇检索网站大全'),
new Special('2008-5-20','languages/mongolian.html','蒙古语概括－蒙古语翻译中文'),
new Special('2008-11-25','languages/p62.html','挪威语概况-中文翻译挪威语'),
new Special('2008-1-20','learn/filmenglish.html','看电影学英语也要注意方法'),
new Special('2008-1-11','news/transmenmory.html','专业翻译领域的首选技术 - 翻译记忆'),
new Special('2009-1-21','companynews/free-online-trans.html','免费在线翻译-多国语言在线翻译,中文翻译英文,在线中文翻译英语,英文翻译中文,在线中文译英文,英文译中文'),
new Special('2008-7-6','learn/online-translation.html','在线翻译（再现翻译）网站大全'),
new Special('2008-1-1','learn/welfaredonationslaw-.html','中华人民共和国公益事业捐赠法翻译'),
new Special('2008-11-28','companynews/bianbie.html','各国语言辨别一览表'),
new Special('2010-2-28','languages/russan.html','俄文翻译中文-俄语翻译服务公司'),
new Special('2008-5-5','learn/fanyitongshi.html','新书演绎中国翻译通史三千年'),
new Special('2008-12-30','solution/8.html','法律文书领域翻译/合同翻译'),
new Special('2009-1-23','solution/7.html','金融领域翻译/企业年报翻译'),
new Special('2008-5-19','learn/pipinglilun.html','文学翻译与批评理论'),
new Special('2007-12-26','learn/marktrans.html','浅谈国际贸易中商标的翻译'));//Specials End
//RandomWritings Begin
var RandomWritings =   new Array(  
'<li><a href="../biaozhunfanyi-gongye/309.html">风电标准目录（翻译）</a></li>'       ,
'<li><a href="../learn/huazhuangpin-shuoming.html">化妆品说明书翻译样本</a></li>'       ,
'<li><a href="../languages/portuguese-.html">葡萄牙语翻译-中文翻译葡萄牙文</a></li>'       ,
'<li><a href="../learn/p84.html">英汉翻译中认知视点的把握</a></li>'       ,
'<li><a href="../biaozhunfanyi-gongye/633.html">NF——法国标准化协会（翻译）目录5</a></li>'       ,
'<li><a href="../solution/4.html">科学技术文档/说明翻译</a></li>'       ,
'<li><a href="../biaozhunfanyi-gongye/171.html">NF——法国标准化协会（翻译）目录4</a></li>'       ,
'<li><a href="../learn/jixie-shebei-fanyi.html">大型机械设备翻译样本</a></li>'       ,
'<li><a href="../biaozhunfanyi-gongye/721.html">NF——法国标准化协会（翻译）目录3</a></li>'       ,
'<li><a href="../learn/fanyi-cuowei.html">英汉翻译中的词序错位现象（Different Word 0rders）</a></li>'       ,
'<li><a href="../biaozhunfanyi-gongye/795.html">NF——法国标准化协会（翻译）目录2</a></li>'       ,
'<li><a href="../learn/shouji-fanyi.html">手机使用说明书翻译-产品说明书翻译</a></li>'       ,
'<li><a href="../news/p83.html">翻译产业的信息化与标准化</a></li>'       ,
'<li><a href="../biaozhunfanyi-gongye/754.html">NF——法国标准化协会（翻译）目录</a></li>'       ,
'<li><a href="../learn/educatiotrans.html">中国各种学历的翻译</a></li>'       ,
'<li><a href="../biaozhunfanyi-gongye/201.html">BS——英国国家标准（翻译）目录10</a></li>'       ,
'<li><a href="../learn/cooperation-contract.html">合作合同翻译样本</a></li>'       ,
'<li><a href="../biaozhunfanyi-gongye/813.html">BS——英国国家标准（翻译）目录9</a></li>'       ,
'<li><a href="../news/fanyi-chanye.html">中国翻译服务产业与企业现代化</a></li>'       ,
'<li><a href="../biaozhunfanyi-gongye/418.html">BS——英国国家标准（翻译）目录8</a></li>'       ,
'<li><a href="../zhengjianfanyi/olympictrans.html">奥运翻译，奥运百科</a></li>'       ,
'<li><a href="../languages/spanish.html">西班牙语翻译-西班牙文翻译中文</a></li>'       ,
'<li><a href="../learn/p82.html">翻译家的忙碌</a></li>'       ,
'<li><a href="../biaozhunfanyi-gongye/202.html">BS——英国国家标准（翻译）目录7</a></li>'       );//RandomWritings End
//HottestWritings Begin
var HottestWritings =  new Array(  
'<li><a href="../life/translation-help.html">免费外语翻译求助</a></li>'       ,
'<li><a href="../learn/companyname-trans.html">公司名称翻译大全</a></li>'       ,
'<li><a href="../news/transmenmory.html">专业翻译领域的首选技术 - 翻译记忆</a></li>'       ,
'<li><a href="../companynews/free-online-trans.html">免费在线翻译-多国语言在线翻译,中文翻译英文,在线中文翻译英语,英文翻译中文,在线中文译英文,英文译中文</a></li>'       ,
'<li><a href="../learn/jibengong.html">英语翻译讲座之英语长句翻译基本功一</a></li>'       ,
'<li><a href="../learn/postenglish.html">英文职称翻译大全</a></li>'       );//HottestWritings End
//LastUpdateDate Begin
var LastUpdateDate=20100228;
//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("webpagesYunY")!=""){document.write('<a href="'+Path+'Process/ReviewDelete.asp?ID='+ReviewID+'">Delete</a>');}}
function DeleteReviewLink(ID){if (getCookie("webpagesYunY")!=""){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("webpagesYunY")!=""){document.write('<a href="'+Path+'process/reviewaction.asp?id='+ID+'">OK?</a>');}}
function ShowReviewLink(ID){if (getCookie("webpagesYunY")!=""){document.write('<a href="'+Path+'process/reviewaction.asp?id='+ID+'">Show</a>');}}
function HideReviewLink(ID){if (getCookie("webpagesYunY")!=""){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("webpagesYunY")!=""){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(){ if(1==2 && location.href.indexOf("/index.html")==-1 && location.href.indexOf("/r/")==-1 && location.href.indexOf("/m/")==-1 ){ document.write('<select style="width:150px; display:block" id="drpdirectories" onchange="location.href=\'../\'+this.value;">'); for(var i=0;i<Directories.length;i++){ document.write('<option value="'+Directories[i].ID+'">'+Directories[i].Name+' ['+Directories[i].Quantity+']</option>'); } document.write('</select>'); var drp = E('drpdirectories'); for(var i=0;i<Directories.length;i++){ if( location.href.indexOf("/"+Directories[i].Alias+"/")!=-1 && location.href.indexOf("/"+Directories[i].Alias+"/")==location.href.lastIndexOf("/"+Directories[i].Alias+"/") ){ drp.options[i].selected = true; break; } } } else { document.write('<ul class="mul" id="muldirectories">');for(var i=0;i<Directories.length;i++){ if( location.href.indexOf("/"+Directories[i].Alias+"/")!=-1 && location.href.indexOf("/"+Directories[i].Alias+"/")==location.href.lastIndexOf("/"+Directories[i].Alias+"/") ){ document.write('<li>'+Directories[i].Name+' <span class="smallfont">['+Directories[i].Quantity+']</span></li>'); }else {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(){ if(1==2&& location.href.indexOf("/index.html")==-1){ document.write('<select style="width:150px; display:block" id="drpmenologies" onchange="location.href=\'../m/\'+this.value;">'); for(var i=0;i<Menologies.length-1;i++){ document.write('<option value="'+Menologies[i].LinkID+'">'+Menologies[i].Name+(Menologies[i].Quantity>-1?' ['+Menologies[i].Quantity+']':'')+'</option>'); } document.write('</select><a href="'+Path+'m/'+Menologies[Menologies.length-1].LinkID+'">'+Menologies[Menologies.length-1].Name+'</a>'); var drp = E('drpmenologies'); for(var i=0;i<Menologies.length-1;i++){ if(location.href.indexOf('/m/'+Menologies[i].LinkID)!=-1||document.documentElement.innerHTML.indexOf(' href="../m/'+Menologies[i].LinkID+'"')!=-1 ){ drp.options[i].selected=true; break; } } } else{ 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 createRandom(mv,len){if(len>mv+1) len=mv+1;var re ='';var i=0;while(i<len){	var t = Math.floor(Math.random( ) * (mv+1));if(re.indexOf('['+t+']')==-1) {re+='['+t+']';i++;}}return re;}
function WriteRandomWritings(){var rstr=createRandom(RandomWritings.length-1,8);document.write('<ul class="mul" id="mulrandomwritings">');for(var i=0;i<RandomWritings.length;i++){if(rstr.indexOf('['+i+']')!=-1)document.write(RandomWritings[i]);}document.write('</ul>');}
function WriteHottestWritings(){document.write('<ul class="mul" id="mulhottestwritings">');for(var i=0;i<HottestWritings.length;i++){document.write(HottestWritings[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("webpagesYunY")!=""){document.write('<a href="'+Path+'process/p_messageaction.asp?id='+ID+'">OK?</a>');}}
function ShowMessageLink(ID){if (getCookie("webpagesYunY")!=""){document.write('<a href="'+Path+'process/p_messageaction.asp?id='+ID+'">Show</a>');}}
function ShowReplyLink(ID){if (getCookie("webpagesYunY")!=""){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("webpagesYunY")!=""){document.write('<a href="'+Path+'process/p_messageaction.asp?a=hide&id='+ID+'">Hide</a> ');}}
function DeleteMessageLink(ID){if (getCookie("webpagesYunY")!=""){document.write('<a href="'+Path+'Process/p_messageDelete.asp?ID='+ID+'">Delete</a>');}}
function CheckReviewForm(ID){if(E('dadv').style.display=='none'){Showdadv(); return false;} return true;}
 function GetPages(cur,pages,prefix,endfix,padding, ri, rstr){ if(pages>1 && cur>0 && cur<pages+1){ var right =0; var posr = 0; if((cur+padding)>pages) { right = cur+padding-pages; posr = pages; }  else{ posr = cur+padding; }  var left = 0; var posl = 0;  if((cur-padding)<1) { left =1-cur+padding; posl=1; }else{ posl = cur-padding; }  if(right >0 && left==0) { if((posl-right)<1){  posl=1; }  else{  posl =posl-right; }  }  if(left>0 && right==0){ if(posr+left>pages){  posr = pages; }  else{  posr = posr+left; } }  var out=''; for(var i=posl;i<=posr;i++){ if(cur==i) out+=(' <strong>'+i+'</strong> '); else { out+=(' <a href="'+prefix+''+(i)+''+endfix+'">'+i+'</a> '); } } if(posl>2) out = ' ... '+out; if(out.indexOf('>1<')==-1) out = ' <a href="'+prefix+'1'+endfix+'">1</a> ' +out; if(posr<pages-1) out+=' ... '; if(out.indexOf('>'+pages+'<')==-1) out+=(' <a href="'+prefix+''+pages+''+endfix+'">'+pages+'</a> '); out=out.replace('<strong>','<strong>[').replace('</strong>',']</strong>'); if(ri!=-1){out = out.replace(prefix+ri+endfix,rstr);} return (' '+out+' ');  } return ''; }
