﻿//Configs Begin
var AfAuthor = 'lqfy.com';
var BfBulletin = '<p><img alt="工程技术翻译，标书翻译" width="176" height="150" vspace="2" hspace="6" align="left" src="/userfiles/image/about.gif" />    蓝桥工程技术翻译成立于1998年8月，是国内大型专业翻译（工程技术翻译）机构之一。<br /><br /><br />    现有正式职工60人，其中中高级翻译及工程技术人员40多人。能承接英、日、德、法、俄、阿拉伯、意大利等多语种翻译业务，主要服务对象为大中型引进工程，各种外贸和合资企业及国内企业进出口项目。多年来，已为多个大中型企业引进项目，外资和合资项目提供了各类翻译服务。这些工程包括电力、石油化工、机电、建材、纺织、印染、冶金、轻工等领域。同时也承接了大量非工程领域的翻译工作。<br /><br /><br />    主要翻译范围是：<br /><br />    → 各类资料的中外文互译，翻译内容包括：工程技术资料，行业标准，项目标书，项目合同，制造标准等；<br /><br />    → 各类资料的中外文录入、排版和印刷；<br /><br />    → 为各类引进工程的谈判、考察和现场施工提供口笔译服务。<br /><br />    我司翻译人员具有丰富的翻译经验，能在较短时间内高质量地完成大批量翻译工作。 </p> <h3><a href="http://www.lqfy.com/industry/brief-introduction.html">Brief Introduction</a></h3>';
var CfEmail = 'yiyoufanyi@gmail.com';
var EfSubTitle = '蓝桥工程技术翻译服务内容包括：行业标准翻译，技术资料翻译，欧洲标准翻译，工业标准翻译，制造标准翻译；在北京和浙江设有办事处分别是：蓝桥北京工程技术翻译公司，蓝桥杭州工程技术翻译公司';
var FfTheme = 'simple';
var GfTitle = '蓝桥工程技术（标准，标书）翻译公司——行业标准|技术资料|欧洲标准|工业制造标准翻译';
var PfSiteURL = 'http://www.lqfy.com/';

//Configs End
//Status Begin
var Writings=299;
var Reviews=17;
var Trackbacks=0;
//Status End
//LatestReviews Begin
var LatestReviews = new Array(  
'<li>柯艳: <a href="'+Path+'talents/job-fayu.html#r35i"  title="Reviewing...">Reviewing...</a></li>',
'<li>Guest#9: <a href="'+Path+'english/513.html#r34i"  title="Reviewing...">Reviewing...</a></li>',
'<li>黄星源: <a href="'+Path+'talents/jixie-deyu.html#r33i"  title="Reviewing...">Reviewing...</a></li>',
'<li>刘光文: <a href="'+Path+'talents/gongcheng-yingyu.html#r32i"  title="Reviewing...">Reviewing...</a></li>',
'<li>佟俊杰: <a href="'+Path+'talents/gongcheng-yingyu.html#r31i"  title="Reviewing...">Reviewing...</a></li>');//LatestReviews End
//Directories Begin
var Directories = new Array(  
new Directory('company/index.html','新闻公告',11,'company'),
new Directory('industry/index.html','行业动态',11,'industry'),
new Directory('learn/index.html','翻译学习',13,'learn'),
new Directory('english/index.html','英语翻译',9,'english'),
new Directory('france/index.html','法语翻译',1,'france'),
new Directory('jappanese/index.html','日语翻译',0,'jappanese'),
new Directory('korean/index.html','韩语翻译',1,'korean'),
new Directory('germany/index.html','德语翻译',1,'germany'),
new Directory('russan/index.html','俄语翻译',0,'russan'),
new Directory('spanish/index.html','西班牙语翻译',0,'spanish'),
new Directory('italian/index.html','意大利语翻译',0,'italian'),
new Directory('portugal/index.html','葡萄牙语翻译',0,'portugal'),
new Directory('arabia/index.html','阿拉伯语翻译',1,'arabia'),
new Directory('engineering/index.html','工程技术翻译',0,'engineering'),
new Directory('biaoshu/index.html','项目标书翻译',0,'biaoshu'),
new Directory('biaozhun/index.html','标准翻译',0,'biaozhun'),
new Directory('tuzhi/index.html','图纸翻译',1,'tuzhi'),
new Directory('shouce/index.html','质量手册翻译',1,'shouce'),
new Directory('chanpinshouce/index.html','产品手册翻译',0,'chanpinshouce'),
new Directory('tushu/index.html','图书翻译',1,'tushu'),
new Directory('shuomingshu/index.html','说明书翻译',0,'shuomingshu'),
new Directory('fanyi-gongsi-quanguo-fenbu/index.html','翻译公司',2,'fanyi-gongsi-quanguo-fenbu'),
new Directory('talents/index.html','人才招募',6,'talents'),
new Directory('brieftrans/index.html','公司简介翻译',0,'brieftrans'));//Directories End
//Menologies Begin
var Menologies = new Array(  
new Menology('2009-01',5,'2009-01.html'),
new Menology('2008-12',2,'2008-12.html'),
new Menology('2008-11',17,'2008-11.html'),
new Menology('2008-10',43,'2008-10.html'),
new Menology('2008-09',5,'2008-09.html'),
new Menology('2008-08',13,'2008-08.html'),
new Menology('2008-07',31,'2008-07.html'),
new Menology('2008-06',70,'2008-06.html'),
new Menology('2008-05',41,'2008-05.html'),
new Menology('2008-03',2,'2008-03.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-1-4','korean/hanyufanyi03894.html','韩语翻译'),
new Special('2009-1-17','france/fayufanyi9932.html','法语翻译'),
new Special('2008-12-27','company/481.html','蓝桥再添新客户'),
new Special('2008-11-23','arabia/alabo-fanyi-ceshi.html','阿拉伯语翻译'),
new Special('2008-11-21','industry/shaoer-tushu-fanyi.html','少儿图书出版翻译进入繁荣期'),
new Special('2008-11-20','learn/fanyi-hongloumeng-piping.html','黛玉&quot;放荡&quot;袭人&quot;剽悍&quot; &lt;红楼梦&gt;翻译不当遭批'),
new Special('2008-11-19','learn/pinpai-fanyi-wenhua.html','品牌翻译中的民族文化因素'),
new Special('2008-10-15','learn/guoji-yurong.html','国际羽绒羽毛质量检测方法最新版中文翻译工作完成'),
new Special('2008-10-14','industry/fanyi-biaoda.html','翻译的表达'),
new Special('2008-10-3','learn/kouyi-biaozhun.html','《现场口译服务质量标准 》（试行）'),
new Special('2009-1-21','english/biaozhunfanyi.html','标准翻译，工业标准翻译，欧洲标准翻译'),
new Special('2008-8-20','learn/fit2008-china.html','祝贺中国成功申办第18届世界翻译大会'),
new Special('2008-8-19','industry/yuanxifanyi.html','大学院系及教研室译名'),
new Special('2008-8-18','english/yingyu-changju.html','英语翻译讲座之英语长句翻译基本功四'),
new Special('2008-8-15','industry/goubuli-yingwen.html','天津狗不理悬挂英文招牌翻译GO BELIEVE'),
new Special('2008-7-31','industry/yinshiwenhua.html','美国快餐饮食文化'),
new Special('2008-7-21','germany/gongcheng-jishu.html','工程建设（技术）标准翻译出版工作管理办法'),
new Special('2008-7-17','industry/jiazhou-lvguan.html','《加州旅馆》的经典中文翻译'),
new Special('2008-7-11','industry/wenyanwen-fanyi.html','文言文翻译方法'),
new Special('2009-2-15','industry/zhongguoshiyingyu.html','总结的中国式英语及正确的说法'),
new Special('2008-7-10','industry/guji-fanyi.html','中国名胜古迹翻译—英汉对照'),
new Special('2009-1-15','learn/biaoshi-fanyi.html','包装上常见的警示标志翻译'),
new Special('2008-7-8','learn/p233.html','网上盛行四大翻译软件介绍与下载地址'),
new Special('2008-7-7','industry/sanzijing-fanyi.html','三字经的英文翻译'),
new Special('2008-7-2','industry/mingcheng-fanyi.html','国际与区域组织名称翻译'),
new Special('2008-11-22','industry/russia-study.html','俄国留学申请程序及条件'),
new Special('2009-4-7','industry/canada-liuxue.html','加拿大留学申请程序'),
new Special('2008-6-20','industry/cooperation-contract.html','合作合同翻译样本'),
new Special('2008-6-19','russan/olympictrans.html','奥运翻译，奥运百科'),
new Special('2008-6-17','learn/abbyy-finereader.html','最牛多语识别软件|ABBYY FineReader 8.0 专业版|ocr 识别软件'),
new Special('2008-6-14','learn/zhili-fanyi.html','治理翻译质量下降从何做起'),
new Special('2008-6-13','germany/jiliaochengliao.html','给料称料包装图纸翻译（中英文对照）'),
new Special('2008-6-12','germany/qilunjizhu.html','汽轮机组设备图纸翻译资料（中英文对照）'),
new Special('2008-12-17','germany/gongchenghetong.html','工程安装合同英文翻译样本'),
new Special('2008-6-4','korean/msn-dengru.html','MSN 登录时出现80048820错误的官方解释'),
new Special('2008-6-3','industry/jiudian-fanyi.html','全国酒店名称中英文对照翻译'),
new Special('2008-12-29','learn/wenziluru.html','文字录入，数据录入，外文录入，快速录入，名片录入'),
new Special('2008-5-18','korean/wenhuashanfanyi.html','文化衫，英文翻译及其文化'),
new Special('2009-1-6','learn/zhongguofanyiye.html','德国媒体关注中国翻译行业 翻译大国≠翻译强国'),
new Special('2008-5-16','learn/fanyi-aoyunfanyi.html','奥运翻译团队组建完毕 160名外籍翻译员'),
new Special('2008-5-13','learn/fanyi-ruanjian_2_p129.html','沟通无国界: 2006翻译工具编辑推荐'),
new Special('2008-5-12','industry/fanyi-cuowei.html','英汉翻译中的词序错位现象（Different Word 0rders）'),
new Special('2008-5-9','learn/fanyi-jie.html','本科生陈燕敏摘得我国翻译界“奥斯卡奖”'),
new Special('2008-8-26','industry/fanyi-jiqiao.html','翻译技巧：英语形容词翻译的小窍门'),
new Special('2008-5-7','industry/ditie-fanyi.html','地铁警示翻译欠妥 英文小心错成关心'),
new Special('2008-7-4','learn/fanyi-yinshua.html','文件印刷输出'),
new Special('2008-11-17','learn/fanyi-ruanjian.html','软件本地化翻译'),
new Special('2008-9-18','learn/fanyi-tongchuan.html','会议同声翻译'),
new Special('2008-5-1','learn/kouyu-fanyi.html','PC级运算能力业界首创口语翻译'),
new Special('2008-2-26','korean/p89.html','如何打造清爽干净男士形象'),
new Special('2008-2-25','korean/searchtool.html','搜索引擎大全'),
new Special('2008-2-22','industry/p84.html','英汉翻译中认知视点的把握'),
new Special('2008-2-19','learn/p83.html','翻译产业的信息化与标准化'),
new Special('2008-7-24','industry/p82.html','翻译家的忙碌'),
new Special('2009-1-5','learn/p81.html','商业翻译中的质量管理'),
new Special('2008-1-25','learn/p79.html','翻译问题制约中国图书走向世界'),
new Special('2008-5-2','industry/p75.html','在线翻译系统横向评测'),
new Special('2008-1-24','learn/p74.html','北京公厕代名词WC将被彻底取缔'),
new Special('2008-1-21','industry/zljswz.html','专利词汇检索网站大全'),
new Special('2008-1-20','industry/filmenglish.html','看电影学英语也要注意方法'),
new Special('2008-1-11','learn/transmenmory.html','专业翻译领域的首选技术 - 翻译记忆'),
new Special('2008-5-20','jappanese/service-languages.html','服务涉及语言'),
new Special('2008-1-2','industry/jrfyfw.html','翻译产业化与金融翻译服务'),
new Special('2008-7-6','industry/online-translation.html','在线翻译（再现翻译）网站大全'),
new Special('2008-5-5','industry/fanyitongshi.html','新书演绎中国翻译通史三千年'),
new Special('2007-12-27','industry/fanyixue.html','正确认识翻译学的结构框架'),
new Special('2009-1-10','english/5.html','专利翻译/专利技术翻译方案'),
new Special('2007-12-26','industry/marktrans.html','浅谈国际贸易中商标的翻译'),
new Special('2008-11-12','shouce/jiangsu-fanyi-gongsi-jishu-fanyi.html','江苏翻译公司——工程技术翻译'),
new Special('2008-11-8','industry/zaixian-fanyi-baogao5.html','翻译调查报告：第五部分：在线翻译的展望'),
new Special('2008-10-22','industry/fuzhu-fanyi-yingyong.html','辅助翻译软件在工程技术翻译中的应用'),
new Special('2008-10-18','industry/fanyi-rencai2008.html','反差:八千万学子习外语 翻译人才缺九成'),
new Special('2008-10-16','company/guoji-biaozhun.html','国际上是怎样规定将国际标准订入国家标准的？'),
new Special('2008-11-15','fanyi-gongsi-quanguo-fenbu/jingxi-huagong.html','日语精细化工资料翻译'),
new Special('2008-10-9','industry/office-fanyi.html','在Office 2007中集成Live翻译机'),
new Special('2008-10-7','learn/yinghan-fazhan.html','英汉词汇的发展规律与词义变化'),
new Special('2008-11-10','company/795.html','部分已竣工的服务项目'),
new Special('2009-1-16','company/wenjianxiazai.html','文件下载'));//Specials End
//RandomWritings Begin
var RandomWritings =   new Array(  
'<li><a href="../russan/allcertificate.html">各类证书翻译样本（身份证、毕业证、学士学位证、会计证）</a></li>'       ,
'<li><a href="../learn/fanyi-weipai.html">外语人才委派</a></li>'       ,
'<li><a href="../korean/translation-help.html">免费外语翻译求助</a></li>'       ,
'<li><a href="../learn/fanyi-ruanjian.html">软件本地化翻译</a></li>'       ,
'<li><a href="../industry/zaixian-fanyi-baogao-3.html">翻译调查报告：第三部分：在线翻译用户应用行为分析</a></li>'       ,
'<li><a href="../learn/abbyy-finereader.html">最牛多语识别软件|ABBYY FineReader 8.0 专业版|ocr 识别软件</a></li>'       ,
'<li><a href="../industry/fanyi-yanjiulunwen.html">翻译研究论文入选全国百篇优秀博士论文</a></li>'       ,
'<li><a href="../industry/jdcjfy.html">写作中的翻译法 - 经典长句翻译</a></li>'       ,
'<li><a href="../learn/p190.html">招标合同翻译|标书翻译|工程标书翻译</a></li>'       ,
'<li><a href="../english/11.html">金融经济翻译</a></li>'       ,
'<li><a href="../learn/fanyi-peitong.html">商务陪同口译</a></li>'       ,
'<li><a href="../learn/zhili-fanyi.html">治理翻译质量下降从何做起</a></li>'       ,
'<li><a href="../talents/job-fayu.html">招聘法语道路桥梁工程资料翻译人员</a></li>'       ,
'<li><a href="../industry/fyyzylh.html">翻译的灵活与原则</a></li>'       ,
'<li><a href="../learn/fanyi-tongchuan.html">会议同声翻译</a></li>'       );//RandomWritings End
//HottestWritings Begin
var HottestWritings =  new Array(  
'<li><a href="../korean/translation-help.html">免费外语翻译求助</a></li>'       ,
'<li><a href="../talents/gongcheng-yingyu.html">工程类英语翻译</a></li>'       ,
'<li><a href="../industry/companyname-trans.html">公司名称翻译大全</a></li>'       ,
'<li><a href="../talents/job-fayu.html">招聘法语道路桥梁工程资料翻译人员</a></li>'       ,
'<li><a href="../english/513.html">专业英语翻译——英文翻译中文（中文翻译英文）</a></li>'       ,
'<li><a href="../learn/transmenmory.html">专业翻译领域的首选技术 - 翻译记忆</a></li>'       );//HottestWritings End
//LastUpdateDate Begin
var LastUpdateDate=20090923;
//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("YunY")!=""){document.write('<a href="'+Path+'Process/ReviewDelete.asp?ID='+ReviewID+'">Delete</a>');}}
function DeleteReviewLink(ID){if (getCookie("YunY")!=""){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("YunY")!=""){document.write('<a href="'+Path+'process/reviewaction.asp?id='+ID+'">OK?</a>');}}
function ShowReviewLink(ID){if (getCookie("YunY")!=""){document.write('<a href="'+Path+'process/reviewaction.asp?id='+ID+'">Show</a>');}}
function HideReviewLink(ID){if (getCookie("YunY")!=""){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("YunY")!=""){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,5);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("YunY")!=""){document.write('<a href="'+Path+'process/p_messageaction.asp?id='+ID+'">OK?</a>');}}
function ShowMessageLink(ID){if (getCookie("YunY")!=""){document.write('<a href="'+Path+'process/p_messageaction.asp?id='+ID+'">Show</a>');}}
function ShowReplyLink(ID){if (getCookie("YunY")!=""){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("YunY")!=""){document.write('<a href="'+Path+'process/p_messageaction.asp?a=hide&id='+ID+'">Hide</a> ');}}
function DeleteMessageLink(ID){if (getCookie("YunY")!=""){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 ''; }
