if(typeof(A4page) == 'undefined') A4page = {}; A4page.Zone = [];
A4page.Zone["A1"]={"zonecode":"A1",content:[{ "aid":"22966", "zid":"59", "title":"新世界口译奖学金", "link":"http://tr.yeshj.com/neworld/", "advtype":"P", "source":"http://a4.yeshj.com/upload/200901/TR-A-A1P-22966_14.gif", "adFormCode":"A1", "protected":false }]};A4page.Zone["B1"]={"zonecode":"B1",content:[{ "aid":"10249", "zid":"56", "title":"昂立口译", "link":"http://www.onlycollege.com.cn/courses/language/interpreter/070808/kybgb.html", "advtype":"F", "source":"[flash=380,55]http://a4.yeshj.com/upload/200901/TR-A-B1F-10249_50.swf[/flash]", "adFormCode":"B1", "protected":false }]};A4page.Zone["D1"]={"zonecode":"D1",content:[{ "aid":"10254", "zid":"61", "title":"新东方口译", "link":"http://shanghai.neworiental.org/publish/portal25/tab8600/", "advtype":"P", "source":"http://a4.yeshj.com/upload/200802/TR-A-D1P-10254_47.gif", "adFormCode":"D1", "protected":false }]};A4page.Zone["D2"]={"zonecode":"D2",content:[{ "aid":"10255", "zid":"62", "title":"新东方口译", "link":"http://shanghai.neworiental.org/publish/portal25/tab8600/", "advtype":"F", "source":"[flash=100,314]http://a4.yeshj.com/upload/200802/TR-A-D2F-10255_87.swf[/flash]", "adFormCode":"D2", "protected":false }]};A4page.Zone["H1"]={"zonecode":"H1",content:[{ "aid":"16366", "zid":"139", "title":"想得到正版WallE机器人吗?", "link":"http://tr.yeshj.com/page/64206/", "advtype":"T", "source":"", "adFormCode":"H1", "protected":false }]};A4page.Zone["H2"]={"zonecode":"H2",content:[{ "aid":"11530", "zid":"156", "title":" 商务口译入门(含MP3) ", "link":"http://www.hjbook.net/p8492/", "advtype":"T", "source":"", "adFormCode":"H2", "protected":false }]};A4page.Zone["S3"]={"zonecode":"S3",content:[{ "aid":"10252", "zid":"60", "title":"口译名师博客", "link":"http://blog.yeshj.com/star", "advtype":"P", "source":"http://a4.yeshj.com/upload/200802/TR-A-S3P-10252_35.gif", "adFormCode":"S3", "protected":false }]};A4page.Zone["V1"]={"zonecode":"V1",content:[{ "aid":"27572", "zid":"322", "title":"正在疯抢2010时尚新款太阳眼镜", "link":"http://www.keede.com/?utm_source=hujiang&utm_medium=5ky&utm_campaign=xubei", "advtype":"K", "source":"", "adFormCode":"V1", "protected":false }]};A4page.Zone["W1"]={"zonecode":"W1",content:[{ "aid":"32748", "zid":"262", "title":"沪江网校体验班(多语种多课程)", "link":"http://class.yeshj.com/10022/intro?source=2", "advtype":"K", "source":"", "adFormCode":"W1", "protected":false },{ "aid":"11448", "zid":"262", "title":"英语口语资料免费下载汇总", "link":"http://ts.yeshj.com/page/35291/", "advtype":"K", "source":"", "adFormCode":"W1", "protected":false },{ "aid":"11147", "zid":"264", "title":"商务英语套话(适合BEC写作)", "link":"http://en.yeshj.com/down/11175/", "advtype":"K", "source":"", "adFormCode":"W1", "protected":false }]};A4page.Zone["Z1"]={"zonecode":"Z1",content:[{ "aid":"16479", "zid":"282", "title":"卡西欧电子辞典测评报告", "link":"http://tr.yeshj.com/page/51033/", "advtype":"T", "source":"", "adFormCode":"Z1", "protected":false },{ "aid":"11299", "zid":"282", "title":"商务口译入门(含MP3) -翻译专业教材", "link":"http://www.hjbook.net/p8492/", "advtype":"T", "source":"", "adFormCode":"Z1", "protected":false },{ "aid":"11298", "zid":"282", "title":"· 新版中口必备教材+听力+真题", "link":"http://www.hjbook.net/product/348/", "advtype":"T", "source":"", "adFormCode":"Z1", "protected":false },{ "aid":"11296", "zid":"282", "title":"· 08年春季【高级口译集中营】", "link":"http://bulo.yeshj.com/group/gaokou/", "advtype":"T", "source":"", "adFormCode":"Z1", "protected":false },{ "aid":"11295", "zid":"282", "title":"· 08年春季【中级口译集中营】", "link":"http://bulo.yeshj.com/group/zhongkou/", "advtype":"T", "source":"", "adFormCode":"Z1", "protected":false },{ "aid":"11294", "zid":"282", "title":"· 上海中高级口译考试全解析", "link":"http://www.hjbbs.com/thread-29-426206.htm", "advtype":"T", "source":"", "adFormCode":"Z1", "protected":false },{ "aid":"11293", "zid":"282", "title":"· 中高级口译真题及答案汇总", "link":"http://tr.yeshj.com/papers.htm", "advtype":"T", "source":"", "adFormCode":"Z1", "protected":false },{ "aid":"11292", "zid":"282", "title":"· 翻译资格考试成绩查询入口", "link":"http://tr.yeshj.com/page/12724/", "advtype":"T", "source":"", "adFormCode":"Z1", "protected":false }]};
function show_a4_zone(zonecode)
{
if( typeof(A4page.Zone[zonecode]) == "undefined" ) return;
if(A4page.Zone[zonecode].content[0].advtype == "T"){
for (var i=0, post; post = A4page.Zone[zonecode].content[i]; i++) {
if(zonecode.substring(0,1) == "H")
document.write("" + post.title +" ");
else
document.write("" + post.title +"
");
}
} else if (A4page.Zone[zonecode].content[0].advtype == "P"){
if( A4page.Zone[zonecode].content.length == 1 ){
document.write("");
}else{
for (var i=0, post; post = A4page.Zone[zonecode].content[i]; i++) {
document.write("
");
}
}
}else if (A4page.Zone[zonecode].content[0].advtype == "F"){
//document.write(ConvertUbb(A4page.Zone[zonecode].content[0].source));
document.write(ConvertUbb2(A4page.Zone[zonecode].content[0].source,A4page.Zone[zonecode].content[0].aid));
}
}
function ConvertUbb(Source){
//定义ubb转换参数
var flash_ubb = /\[flash=(\d*),(\d*)\](\S*)\[\/flash\]/igm;
var flash_html= "";
//执行转换
Source=Source.replace(flash_ubb, flash_html );
return Source;
}
function ConvertUbb2(Source,aid){
//定义ubb转换参数
var flash_ubb = /\[flash=(\d*),(\d*)\](\S*)\[\/flash\]/igm;
var flash_html= "