if(typeof(A4page) == 'undefined') A4page = {}; A4page.Zone = [];
A4page.Zone["A1"]={"zonecode":"A1",content:[{ "aid":"22925", "zid":"656", "title":"元培", "link":"http://tr.hjenglish.com/page/66592", "advtype":"P", "source":"http://a4.yeshj.com/upload/201001/TR-A-A1P-22925_65.gif", "adFormCode":"A1", "protected":false }]};A4page.Zone["A2"]={"zonecode":"A2",content:[{ "aid":"34223", "zid":"657", "title":"新东方", "link":"http://shanghai.neworiental.org/publish/portal25/tab10712", "advtype":"P", "source":"http://a4.yeshj.com/upload/201001/TR-A-A2P-34223_68.gif", "adFormCode":"A2", "protected":false }]};A4page.Zone["A3"]={"zonecode":"A3",content:[{ "aid":"33439", "zid":"660", "title":"寒假班", "link":"http://tr.hjenglish.com/page/89137/", "advtype":"P", "source":"http://a4.yeshj.com/upload/200911/TR-A-A3P-33439_48.gif", "adFormCode":"A3", "protected":false }]};A4page.Zone["B1"]={"zonecode":"B1",content:[{ "aid":"27510", "zid":"658", "title":"英文频道", "link":"", "advtype":"F", "source":"[flash=327,124]http://a4.yeshj.com/upload/200904/TR-A-B1F-27510_80.swf[/flash]", "adFormCode":"B1", "protected":false }]};A4page.Zone["B2"]={"zonecode":"B2",content:[{ "aid":"34277", "zid":"659", "title":"口译网校春季班", "link":"http://tr.hjenglish.com/page/94621/", "advtype":"P", "source":"http://a4.yeshj.com/upload/201001/TR-A-B2P-34277_43.gif", "adFormCode":"B2", "protected":false }]};A4page.Zone["B3"]={"zonecode":"B3",content:[{ "aid":"23258", "zid":"661", "title":"沪江书籍", "link":"http://tr.hjenglish.com/book/", "advtype":"P", "source":"http://a4.yeshj.com/upload/200902/TR-A-B3P-23258_83.gif", "adFormCode":"B3", "protected":false }]};A4page.Zone["H1"]={"zonecode":"H1",content:[{ "aid":"28992", "zid":"662", "title":"今年3月中高级口译备考", "link":"http://tr.hjenglish.com/page/89137/", "advtype":"T", "source":"", "adFormCode":"H1", "protected":false }]};A4page.Zone["H10"]={"zonecode":"H10",content:[{ "aid":"25011", "zid":"676", "title":"新东方口译权威评析", "link":"http://blog.hjenglish.com/qiuzhengzheng/articles/1317170.html", "advtype":"T", "source":"", "adFormCode":"H10", "protected":false }]};A4page.Zone["H11"]={"zonecode":"H11",content:[{ "aid":"29233", "zid":"829", "title":"2010年3月中高级口译备考", "link":"http://tr.hjenglish.com/page/89137/", "advtype":"T", "source":"", "adFormCode":"H11", "protected":false },{ "aid":"29232", "zid":"829", "title":"华英口译-联合国译训视频", "link":"http://brand.hjenglish.com/1456/content/12784/", "advtype":"T", "source":"", "adFormCode":"H11", "protected":false },{ "aid":"29230", "zid":"829", "title":"校园巡讲:沪江阿诺谈创业经历", "link":"http://blog.hjenglish.com/hjpeople", "advtype":"T", "source":"", "adFormCode":"H11", "protected":false },{ "aid":"29229", "zid":"829", "title":"沪江口译资料下载", "link":"http://www.hjenglish.com/down/channel/7/", "advtype":"T", "source":"", "adFormCode":"H11", "protected":false }]};A4page.Zone["H2"]={"zonecode":"H2",content:[{ "aid":"22935", "zid":"663", "title":"你每天能记多少个单词", "link":"http://a4.yeshj.com/rd/10309/", "advtype":"T", "source":"", "adFormCode":"H2", "protected":false }]};A4page.Zone["H3"]={"zonecode":"H3",content:[{ "aid":"27439", "zid":"664", "title":"中高级口译名师在线指导", "link":"http://tr.hjenglish.com/page/89137/", "advtype":"T", "source":"", "adFormCode":"H3", "protected":false }]};A4page.Zone["H4"]={"zonecode":"H4",content:[{ "aid":"22937", "zid":"665", "title":"难度大,口译含金量高! ", "link":"http://en.chinatop.org/", "advtype":"T", "source":"", "adFormCode":"H4", "protected":false }]};A4page.Zone["H5"]={"zonecode":"H5",content:[{ "aid":"22949", "zid":"671", "title":"3个月年薪过20万", "link":"http://a8.yeshj.com/zt/365English", "advtype":"T", "source":"", "adFormCode":"H5", "protected":false }]};A4page.Zone["H6"]={"zonecode":"H6",content:[{ "aid":"22948", "zid":"672", "title":"沪江小组,新闻天天译", "link":"http://bulo.hjenglish.com/group/cate/7/", "advtype":"T", "source":"", "adFormCode":"H6", "protected":false }]};A4page.Zone["H7"]={"zonecode":"H7",content:[{ "aid":"25012", "zid":"673", "title":"新世界3月口译解析", "link":"http://en.neworldedu.org/zhuanti/0904kyztjx/", "advtype":"T", "source":"", "adFormCode":"H7", "protected":false }]};A4page.Zone["H8"]={"zonecode":"H8",content:[{ "aid":"22946", "zid":"674", "title":"沪江口语频道上线!", "link":"http://talk.hjenglish.com/", "advtype":"T", "source":"", "adFormCode":"H8", "protected":false }]};A4page.Zone["H9"]={"zonecode":"H9",content:[{ "aid":"22945", "zid":"675", "title":"口译教材,一网打尽", "link":"http://www.hjbook.net/cate/7/", "advtype":"T", "source":"", "adFormCode":"H9", "protected":false }]};A4page.Zone["Z1"]={"zonecode":"Z1",content:[{ "aid":"28821", "zid":"666", "title":"准备3月中高级口译考试的同学,请进!", "link":"http://tr.hjenglish.com/page/89137/", "advtype":"T", "source":"", "adFormCode":"Z1", "protected":false }]};A4page.Zone["Z2"]={"zonecode":"Z2",content:[{ "aid":"24298", "zid":"667", "title":"马上加入“世博就业英才计划”", "link":"http://tr.hjenglish.com/expo/page/66592", "advtype":"T", "source":"", "adFormCode":"Z2", "protected":false }]};A4page.Zone["Z3"]={"zonecode":"Z3",content:[{ "aid":"29017", "zid":"668", "title":"别囧了,快来抢国庆大礼包", "link":"http://tr.hjenglish.com/page/84458/", "advtype":"T", "source":"", "adFormCode":"Z3", "protected":false }]};A4page.Zone["Z4"]={"zonecode":"Z4",content:[{ "aid":"22941", "zid":"669", "title":" 09年春季【中级口译集中营】", "link":"http://bulo.hjenglish.com/group/zhongkou/", "advtype":"T", "source":"", "adFormCode":"Z4", "protected":false }]};A4page.Zone["Z5"]={"zonecode":"Z5",content:[{ "aid":"22942", "zid":"670", "title":"中高级口译真题及答案汇总", "link":"http://tr.hjenglish.com/papers.htm", "advtype":"T", "source":"", "adFormCode":"Z5", "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));
}
}
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;
}