﻿//CustomHTML Begin
var CustomHTML = '<a href="http://www.worldlingo.com" target="_top"> <img src="http://www.worldlingo.com/en/images/ads/api_med_rect.gif" alt="WorldLingo Language Translation Services. Free Online translations. Translation Software." border="0" width="125" height="125"></a><br>                  </p>                  <div align="center">                       <p align="left"><a target="_blank" title="Google" href="http://www.google.com">     </a><a target="_blank" title="Google" href="http://www.hao123.com/ss/fy.htm"><img border="0" src="http://www.hao123.com/logo.gif" width="80" height="30" alt="Translation，翻译公司，翻译"></a></div><p align="left"><a href="http://fanyi.cn.yahoo.com/" title="雅虎翻译 - 宝贝?Babel fish. 免费在线翻译, 网页翻译" target="_blank">   <img border="0" src="http://cn.yimg.com/i/fy/2/ylgfanyi.gif" width="80" height="16" alt="Translation，翻译公司，翻译"></a></p><p align="left"><a href="http://www.systran.co.uk/" title="online translation,translation software" target="_blank">   <img border="0" src="http://cn.yimg.com/search/babelfish/imgs/systran-big-logo2.gif" width="58" height="22" alt="Translation，翻译公司，翻译"></a></p><p align="left"><a href="www.google.com/language_tools?hl=zh-CN" title="语言工具" target="_blank"> <img border="0" src="http://www.google.com/images/logo_sm.gif" width="80" height="27" alt="Translation，翻译公司，翻译"></a> ';
//CustomHTML End
//Configs Begin
var AfAuthor = 'rocklee';
var BfBulletin = '';
var CfEmail = 'becuqu@sina.com';
var EfSubTitle = '您需要时，译友翻译就在您身边。';
var FfTheme = 'simple';
var GfTitle = '译友翻译·资讯';
var HfCounterScript = '';
//Configs End
//Status Begin
var Writings=93;
var Reviews=8;
var Trackbacks=0;
//Status End
//LatestReviews Begin
var LatestReviews = new Array(  
'<li class="mli">123: <a href="'+Path+'italy/p62.html#Review"  title="Reviewing...">Reviewing...</a></li>',
'<li class="mli">kun830303@163.com: <a href="'+Path+'italy/p62.html#Review"  title="Reviewing...">Reviewing...</a></li>',
'<li class="mli">si: <a href="'+Path+'italy/p62.html#Review"  title="Reviewing...">Reviewing...</a></li>',
'<li class="mli">阿斯顿: <a href="'+Path+'italy/p62.html#Review"  title="Reviewing...">Reviewing...</a></li>',
'<li class="mli">孟凯: <a href="'+Path+'italy/p62.html#Review"  title="Reviewing...">Reviewing...</a></li>');//LatestReviews End
//Directories Begin
var Directories = new Array(  
new Directory('d3/index.html','翻译公司',59,'d3'),
new Directory('d4/index.html','最新翻译文摘',19,'d4'),
new Directory('d5/index.html','前沿翻译理论/技巧',7,'d5'),
new Directory('translation/index.html','中文翻译英文',0,'translation'),
new Directory('online-translation/index.html','在线翻译',2,'online-translation'),
new Directory('free-translation/index.html','免费翻译',0,'free-translation'),
new Directory('translation-site/index.html','翻译网站',0,'translation-site'),
new Directory('english/index.html','英语翻译',2,'english'),
new Directory('jappanese/index.html','日语翻译',1,'jappanese'),
new Directory('french/index.html','法语翻译',1,'french'),
new Directory('korean/index.html','韩语翻译',0,'korean'),
new Directory('german/index.html','德语翻译',1,'german'),
new Directory('italy/index.html','意大利语翻译',1,'italy'));//Directories End
//Menologies Begin
var Menologies = new Array(  
new Menology('2008-03',4,'2008-03.html'),
new Menology('2008-01',1,'2008-01.html'),
new Menology('2007-11',29,'2007-11.html'),
new Menology('2007-10',3,'2007-10.html'),
new Menology('2007-09',13,'2007-09.html'),
new Menology('2007-08',19,'2007-08.html'),
new Menology('2007-05',24,'2007-05.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('2008-3-5','d3/p95.html','译友丛书翻译之跆拳道'),
new Special('2008-1-18','d3/trans-science.html','翻译学科的建设和翻译人才'),
new Special('2007-11-21','online-translation/p90.html','谈谈翻译辅助软件'),
new Special('2007-11-19','d3/p86.html','雅信CAT3.5（英汉）专业版'),
new Special('2007-11-17','d3/p84.html','专利翻译经验谈'),
new Special('2007-11-16','d4/p83.html','韩国完善专利信息系统机器翻译和英文检索功能'),
new Special('2007-11-7','d3/p80.html','翻译产业化与金融翻译服务'),
new Special('2007-11-5','english/p65.html','英文标点和符号大全,标点符号翻译'),
new Special('2007-11-4','d5/p64.html','Currency (世界各国货币名称)'),
new Special('2007-11-3','d4/p61.html','专利摘要翻译方法'),
new Special('2007-10-31','d4/p60.html','雅信专业|版雅信多语种版|雅信CAM |雅信CAP |雅信语汇统一平台'),
new Special('2007-10-26','d4/p59.html','四大在线翻译系统软件横向比较分析评测'),
new Special('2007-10-15','online-translation/online-trans.html','在线翻译，词典，工具书'),
new Special('2007-9-28','d3/p57.html','新加坡开通短信---英文翻译中文----翻信业务'),
new Special('2007-9-5','d5/p54.html','颜色词的翻译'),
new Special('2007-8-17','d3/p43.html','译坛歪风暴露学界丑陋'),
new Special('2007-5-21','d4/p24.html','机器翻译漫谈'),
new Special('2007-5-9','d3/p18.html','翻译产业竞争力与国际化'));//Specials 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("newsYunY")!=""){document.write('<a href="'+Path+'Process/ReviewDelete.asp?ID='+ReviewID+'">Delete</a>');}}
function DeleteReviewLink(ID){if (getCookie("newsYunY")!=""){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("newsYunY")!=""){document.write('<a href="'+Path+'process/reviewaction.asp?id='+ID+'">OK?</a>');}}
function ShowReviewLink(ID){if (getCookie("newsYunY")!=""){document.write('<a href="'+Path+'process/reviewaction.asp?id='+ID+'">Show</a>');}}
function HideReviewLink(ID){if (getCookie("newsYunY")!=""){document.write('<a href="'+Path+'process/reviewaction.asp?a=hide&id='+ID+'">Hide</a> ');}}
function EditLink(WritingID){document.write(' <span style="cursor:pointer" onclick="if(document.getElementById(\'reviews\').style.display!=\'none\') {document.getElementById(\'reviews\').style.display=\'none\';document.reviewform.author.focus();} else document.getElementById(\'reviews\').style.display=\'block\';">[<strong>Review</strong>]</span>'); if (getCookie("newsYunY")!=""){document.write(' <a href="'+Path+'process/writingedit.asp?id='+WritingID+'">[Edit]</a>');}}
function Quote(ID){var qstr = document.getElementById('C'+ID).innerHTML.replace(/<.*?>/g,'').replace(/\[.*\]/g,''); if(qstr.length>10)qstr = qstr.substring(0,10) +'...'; document.reviewform.content.value+= '['+document.getElementById('A'+ID).innerHTML+':'+qstr+']\r\n'; document.reviewform.content.focus();}
function WriteDirectories(){document.write('<ul class="mul">');for(var i=0;i<Directories.length;i++){document.write('<li class="mli"><a href="'+Path+Directories[i].ID+'">'+Directories[i].Name+'</a> ['+Directories[i].Quantity+']</li>');}document.write('</ul>');}
function WriteResources(){document.write('<ul class="mul">');for(var i=0;i<Resources.length;i++){document.write(Resources[i]);}document.write('</ul>');}
function WriteMenologies(){document.write('<ul class="mul">');for(var i=0;i<Menologies.length;i++){document.write('<li class="mli"><a href="'+Path+'m/'+Menologies[i].LinkID+'">'+Menologies[i].Name+'</a>'+(Menologies[i].Quantity>-1?' ['+Menologies[i].Quantity+']':'')+'</li>');}document.write('</ul>');}
function WriteLastestReviews(){document.write('<ul class="mul">');for(var i=0;i<LatestReviews.length;i++){document.write(LatestReviews[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 ""	}
