if(typeof(A4page) == 'undefined') A4page = {}; A4page.Zone = [];
A4page.Zone["B1"]={"zonecode":"B1",content:[{ "aid":"34650", "zid":"164", "title":"新东方在线", "link":"http://kaoyan.yeshj.com/zt/netlesson/xdf2010.aspx?source=151", "advtype":"P", "source":"http://a4.yeshj.com/upload/201003/CE-D-B1P-34650_64.gif", "adFormCode":"B1", "protected":false }]};A4page.Zone["B2"]={"zonecode":"B2",content:[{ "aid":"39649", "zid":"165", "title":"沪江网校雅思班", "link":"http://class.yeshj.com/zt/yasi/?source=351", "advtype":"P", "source":"http://a4.yeshj.com/upload/201105/pr07154534999.gif", "adFormCode":"B2", "protected":false }]};A4page.Zone["H1"]={"zonecode":"H1",content:[{ "aid":"34630", "zid":"168", "title":"三个月通关四六级考试的方法!", "link":"http://en.hujiang.com/new/p300783/", "advtype":"T", "source":"", "adFormCode":"H1", "protected":false }]};A4page.Zone["S1"]={"zonecode":"S1",content:[{ "aid":"26718", "zid":"166", "title":"CET网课", "link":"http://cet.yeshj.com/netlesson", "advtype":"P", "source":"http://a4.yeshj.com/upload/200904/CE-D-S1P-26718_52.gif", "adFormCode":"S1", "protected":false }]};A4page.Zone["S3"]={"zonecode":"S3",content:[{ "aid":"21302", "zid":"552", "title":"沪江四六级考后直播间", "link":"http://cet.yeshj.com/1220/", "advtype":"P", "source":"http://a4.yeshj.com/upload/200812/CE-D-S3P-21302_47.gif", "adFormCode":"S3", "protected":false }]};A4page.Zone["S4"]={"zonecode":"S4",content:[{ "aid":"20721", "zid":"635", "title":"许愿", "link":"http://cet.yeshj.com/2007/wish.htm", "advtype":"P", "source":"http://a4.yeshj.com/upload/200812/CE-D-S4P-20721_52.gif", "adFormCode":"S4", "protected":false }]};A4page.Zone["S5"]={"zonecode":"S5",content:[{ "aid":"33808", "zid":"910", "title":"沪江新部落邀请你的加入!", "link":"http://bulo.yeshj.com/n1/?source=cet", "advtype":"P", "source":"http://a4.yeshj.com/upload/200912/CE-D-S5P-33808_91.gif", "adFormCode":"S5", "protected":false }]};A4page.Zone["Z1"]={"zonecode":"Z1",content:[{ "aid":"37396", "zid":"167", "title":"名师指点,三个月过四六级! ", "link":"http://www.hjenglish.com/new/p124626/", "advtype":"T", "source":"", "adFormCode":"Z1", "protected":false },{ "aid":"36697", "zid":"167", "title":"11.26环球雅思、新托福峰会", "link":"http://shanghai.gedu.org/item/2011-11-11/54992.html", "advtype":"T", "source":"", "adFormCode":"Z1", "protected":false },{ "aid":"33836", "zid":"167", "title":"全面汇总精华四级、六级资料信息", "link":"http://en.yeshj.com/new/c1021/", "advtype":"T", "source":"", "adFormCode":"Z1", "protected":false },{ "aid":"33832", "zid":"167", "title":"点击下载四六级资料>>", "link":"http://en.yeshj.com/dl/cet/", "advtype":"T", "source":"", "adFormCode":"Z1", "protected":false },{ "aid":"12427", "zid":"167", "title":"沪友英语水平免费测试", "link":"http://super.yeshj.com/en/WordsResult.aspx", "advtype":"T", "source":"", "adFormCode":"Z1", "protected":false }]};A4page.Zone["Z2"]={"zonecode":"Z2",content:[{ "aid":"38964", "zid":"636", "title":"办公室英语口语300句", "link":"http://www.hjenglish.com/new/p168754/", "advtype":"T", "source":"", "adFormCode":"Z2", "protected":false },{ "aid":"37944", "zid":"636", "title":"听说读写通关秘籍>>", "link":"http://en.yeshj.com/new/p157617/", "advtype":"T", "source":"", "adFormCode":"Z2", "protected":false },{ "aid":"33833", "zid":"636", "title":"沪江网校,助你四六级顺利过关!", "link":"http://www.hjenglish.com/new/p124626/", "advtype":"T", "source":"", "adFormCode":"Z2", "protected":false },{ "aid":"28021", "zid":"636", "title":"求职黄金季,BEC还是口译证?", "link":"http://www.hjenglish.com/new/p198313/", "advtype":"T", "source":"", "adFormCode":"Z2", "protected":false },{ "aid":"27564", "zid":"636", "title":"12月四六级考试通关法宝 95%保过", "link":"http://cet.yeshj.com/netlesson/?source=256", "advtype":"T", "source":"", "adFormCode":"Z2", "protected":false },{ "aid":"20811", "zid":"636", "title":"2010年四六级在线课程推荐", "link":"http://cet.yeshj.com/netlesson/?source=256", "advtype":"T", "source":"", "adFormCode":"Z2", "protected":false }]};A4page.Zone["Z3"]={"zonecode":"Z3",content:[{ "aid":"24185", "zid":"713", "title":"名师指点,三个月过四六级!", "link":"http://en.hujiang.com/new/p300783/", "advtype":"T", "source":"", "adFormCode":"Z3", "protected":false }]};A4page.Zone["Z4"]={"zonecode":"Z4",content:[{ "aid":"36425", "zid":"774", "title":"四六级考完之后,进攻BEC商务英语!", "link":"http://en.yeshj.com/bec/netlesson/?source=351", "advtype":"T", "source":"", "adFormCode":"Z4", "protected":false }]};A4page.Zone["Z5"]={"zonecode":"Z5",content:[{ "aid":"34492", "zid":"911", "title":"BEC商务英语【中级9月班】", "link":"http://class.yeshj.com/10358/intro?source=254", "advtype":"T", "source":"", "adFormCode":"Z5", "protected":false },{ "aid":"33830", "zid":"911", "title":"BEC商务英语【初级9月班】", "link":"http://class.yeshj.com/10357/intro?source=254", "advtype":"T", "source":"", "adFormCode":"Z5", "protected":false },{ "aid":"33829", "zid":"911", "title":"CET六级高分精品班(送刘畅背词课程)", "link":"http://www.hjbook.net/lesson/3728/?source=254", "advtype":"T", "source":"", "adFormCode":"Z5", "protected":false },{ "aid":"33828", "zid":"911", "title":"CET四级高分精品班(送四级速记宝典)", "link":"http://www.hjbook.net/lesson/3722/?source=254", "advtype":"T", "source":"", "adFormCode":"Z5", "protected":false },{ "aid":"33338", "zid":"911", "title":"2011.12【英语六级冲关班】 ", "link":"http://class.yeshj.com/10349/intro?source=254", "advtype":"T", "source":"", "adFormCode":"Z5", "protected":false },{ "aid":"33336", "zid":"911", "title":"2011.12【英语四级冲关班】 ", "link":"http://class.yeshj.com/10348/intro?source=254", "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));
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= "