if(typeof(A4page) == 'undefined') A4page = {}; A4page.Zone = [];
A4page.Zone["A1"]={"zonecode":"A1",content:[{ "aid":"42037", "zid":"1194", "title":"口译班", "link":"http://en.hujiang.com/new/p198313/", "advtype":"P", "source":"http://a4.yeshj.com/upload/201112/pr28113147660.gif", "adFormCode":"A1", "protected":false },{ "aid":"41945", "zid":"1245", "title":"BEC班", "link":"http://en.hujiang.com/bec/netlesson/?source=351", "advtype":"P", "source":"http://a4.yeshj.com/upload/201112/pr20163202184.jpg", "adFormCode":"A1", "protected":false }]};A4page.Zone["B1"]={"zonecode":"B1",content:[{ "aid":"42092", "zid":"952", "title":"橡果国际", "link":"http://www.iq168.com/topic/x5.html", "advtype":"P", "source":"http://a4.yeshj.com/upload/201112/pr31112149975.gif", "adFormCode":"B1", "protected":false }]};A4page.Zone["B2"]={"zonecode":"B2",content:[{ "aid":"42125", "zid":"1297", "title":"橡果国际", "link":"http://www.iq168.com/topic/x5.html", "advtype":"P", "source":"http://a4.yeshj.com/upload/201112/pr31112149975.gif", "adFormCode":"B2", "protected":false }]};A4page.Zone["H1"]={"zonecode":"H1",content:[{ "aid":"38275", "zid":"1218", "title":"商务英语", "link":"http://en.yeshj.com/bec/netlesson/?source=351", "advtype":"T", "source":"", "adFormCode":"H1", "protected":false },{ "aid":"38109", "zid":"1218", "title":"英语口译", "link":"http://en.hujiang.com/new/p245928/", "advtype":"T", "source":"", "adFormCode":"H1", "protected":false },{ "aid":"38108", "zid":"1218", "title":"四六级", "link":"http://en.hujiang.com/new/p300783/", "advtype":"T", "source":"", "adFormCode":"H1", "protected":false },{ "aid":"38107", "zid":"1218", "title":"雅思考试", "link":"http://en.hujiang.com/new/p301025/", "advtype":"T", "source":"", "adFormCode":"H1", "protected":false }]};A4page.Zone["H2"]={"zonecode":"H2",content:[{ "aid":"40664", "zid":"1342", "title":"免费与老外1:1练口语", "link":"http://www.e-say.com.cn/?menu=91000186", "advtype":"T", "source":"", "adFormCode":"H2", "protected":false }]};A4page.Zone["H3"]={"zonecode":"H3",content:[{ "aid":"42368", "zid":"1343", "title":"必杀:常用办公室英语300句 ", "link":"http://en.hujiang.com/new/p168754/", "advtype":"T", "source":"", "adFormCode":"H3", "protected":false }]};A4page.Zone["H4"]={"zonecode":"H4",content:[{ "aid":"41674", "zid":"1386", "title":"英语四级", "link":"http://class.yeshj.com/112690/intro?source=587", "advtype":"T", "source":"", "adFormCode":"H4", "protected":false }]};A4page.Zone["H5"]={"zonecode":"H5",content:[{ "aid":"41675", "zid":"1387", "title":"大学六级", "link":"http://class.yeshj.com/113949/intro?source=587", "advtype":"T", "source":"", "adFormCode":"H5", "protected":false }]};A4page.Zone["H6"]={"zonecode":"H6",content:[{ "aid":"41676", "zid":"1388", "title":"中级口译", "link":"http://class.yeshj.com/113719/intro?source=587", "advtype":"T", "source":"", "adFormCode":"H6", "protected":false }]};A4page.Zone["H7"]={"zonecode":"H7",content:[{ "aid":"41677", "zid":"1389", "title":"高级口译", "link":"http://class.yeshj.com/113029/intro?source=587", "advtype":"T", "source":"", "adFormCode":"H7", "protected":false }]};A4page.Zone["S1"]={"zonecode":"S1",content:[{ "aid":"42239", "zid":"927", "title":"LearnEnlish", "link":"http://learnenglish.britishcouncil.org.cn", "advtype":"P", "source":"http://a4.yeshj.com/upload/201201/pr12144204359.jpg", "adFormCode":"S1", "protected":false }]};A4page.Zone["S10"]={"zonecode":"S10",content:[{ "aid":"41288", "zid":"1277", "title":"韦博", "link":"http://www.webinternational.com.cn/makechanges/test/mp3.aspx?ADID=544354&CityID=-1&utm_source=hjenglish&utm_medium=becbtn&utm_campaign=mp3", "advtype":"P", "source":"http://a4.yeshj.com/upload/201111/pr03152800140.jpg", "adFormCode":"S10", "protected":false }]};A4page.Zone["S11"]={"zonecode":"S11",content:[{ "aid":"39506", "zid":"1282", "title":"老外网", "link":"http://laowaiwang.com/referral/gate/67173c69-a66b-11e0-839a-003048632b0c", "advtype":"P", "source":"http://a4.yeshj.com/upload/201106/pr01102750556.gif", "adFormCode":"S11", "protected":false }]};A4page.Zone["S12"]={"zonecode":"S12",content:[{ "aid":"39646", "zid":"1284", "title":"沪江网校雅思班", "link":"http://class.yeshj.com/zt/yasi/?source=351", "advtype":"P", "source":"http://a4.yeshj.com/upload/201105/pr07100115046.gif", "adFormCode":"S12", "protected":false }]};A4page.Zone["S13"]={"zonecode":"S13",content:[{ "aid":"42202", "zid":"1293", "title":"托福", "link":"http://en.hujiang.com/new/p263154/", "advtype":"P", "source":"http://a4.yeshj.com/upload/201201/pr10143301003.gif", "adFormCode":"S13", "protected":false }]};A4page.Zone["S14"]={"zonecode":"S14",content:[{ "aid":"40960", "zid":"1319", "title":"实用商务英语", "link":"http://www.hjenglish.com/new/p120480/", "advtype":"P", "source":"http://a4.yeshj.com/upload/201109/pr23154316109.gif", "adFormCode":"S14", "protected":false }]};A4page.Zone["S15"]={"zonecode":"S15",content:[{ "aid":"40713", "zid":"1368", "title":"枫华集团", "link":"http://www.sinocanada.cn/", "advtype":"P", "source":"http://a4.yeshj.com/upload/201108/pr31161340421.jpg", "adFormCode":"S15", "protected":false }]};A4page.Zone["S16"]={"zonecode":"S16",content:[{ "aid":"40714", "zid":"1369", "title":"枫华集团", "link":"http://www.sinocanada.cn/", "advtype":"P", "source":"http://a4.yeshj.com/upload/201108/pr31161340421.jpg", "adFormCode":"S16", "protected":false }]};A4page.Zone["S17"]={"zonecode":"S17",content:[{ "aid":"41287", "zid":"1375", "title":"韦博", "link":"http://www.webinternational.com.cn/makechanges/test/mp3.aspx?ADID=544355&CityID=-1&utm_source=hjenglish&utm_medium=zcbtn&utm_campaign=mp3", "advtype":"P", "source":"http://a4.yeshj.com/upload/201111/pr03152800140.jpg", "adFormCode":"S17", "protected":false }]};A4page.Zone["S3"]={"zonecode":"S3",content:[{ "aid":"42582", "zid":"1060", "title":"网校", "link":"http://en.hujiang.com/new/p154436/", "advtype":"P", "source":"http://a4.yeshj.com/upload/201202/pr02172846195.gif", "adFormCode":"S3", "protected":false }]};A4page.Zone["S4"]={"zonecode":"S4",content:[{ "aid":"42038", "zid":"965", "title":"英语O+", "link":"http://en.hujiang.com/new/p285816/", "advtype":"P", "source":"http://a4.yeshj.com/upload/201112/pr31171630085.gif", "adFormCode":"S4", "protected":false }]};A4page.Zone["S6"]={"zonecode":"S6",content:[{ "aid":"42240", "zid":"1115", "title":"LearnEnlish", "link":"http://learnenglish.britishcouncil.org.cn", "advtype":"P", "source":"http://a4.yeshj.com/upload/201201/pr12144312593.jpg", "adFormCode":"S6", "protected":false }]};A4page.Zone["S7"]={"zonecode":"S7",content:[{ "aid":"42516", "zid":"1123", "title":"网店", "link":"http://buy.hujiang.com/tuangou/p170/source=499/", "advtype":"P", "source":"http://a4.yeshj.com/upload/201202/pr02104759111.jpg", "adFormCode":"S7", "protected":false }]};A4page.Zone["S8"]={"zonecode":"S8",content:[{ "aid":"42483", "zid":"1142", "title":"实用", "link":"http://en.hujiang.com/new/p120480/", "advtype":"P", "source":"http://a4.yeshj.com/upload/201202/pr01102541325.gif", "adFormCode":"S8", "protected":false }]};A4page.Zone["S9"]={"zonecode":"S9",content:[{ "aid":"42505", "zid":"1195", "title":"网校", "link":"http://en.hujiang.com/new/p140694/", "advtype":"P", "source":"http://a4.yeshj.com/upload/201202/pr01161856388.gif", "adFormCode":"S9", "protected":false }]};A4page.Zone["Z1"]={"zonecode":"Z1",content:[{ "aid":"42514", "zid":"1082", "title":"升值?加薪?跳槽?如何实现?", "link":"http://en.hujiang.com/new/p151636/", "advtype":"T", "source":"", "adFormCode":"Z1", "protected":false },{ "aid":"39298", "zid":"1082", "title":"WIFI联网利器横空出世,点击查看 ", "link":"http://haoyitong.tmall.com/", "advtype":"T", "source":"", "adFormCode":"Z1", "protected":false },{ "aid":"39149", "zid":"1082", "title":"名师主讲,奋斗三个月,冲关四六级", "link":"http://en.hujiang.com/new/p300783/", "advtype":"T", "source":"", "adFormCode":"Z1", "protected":false },{ "aid":"37275", "zid":"1082", "title":"学英语选对平台是关键!", "link":"http://www.vipabc.com/count.asp?code=Sm20QYSL0s", "advtype":"T", "source":"", "adFormCode":"Z1", "protected":false }]};A4page.Zone["Z2"]={"zonecode":"Z2",content:[{ "aid":"42484", "zid":"1217", "title":"四周搞定实用商务英语", "link":"http://en.hujiang.com/new/p120480/", "advtype":"T", "source":"", "adFormCode":"Z2", "protected":false },{ "aid":"42065", "zid":"1217", "title":"今天学口语你O+了吗?", "link":"http://en.hujiang.com/new/p232362/", "advtype":"T", "source":"", "adFormCode":"Z2", "protected":false },{ "aid":"41144", "zid":"1217", "title":"办公室英语口语300句", "link":"http://www.hjenglish.com/new/p168754/", "advtype":"T", "source":"", "adFormCode":"Z2", "protected":false },{ "aid":"39684", "zid":"1217", "title":"用100倍的速度记单词", "link":"http://www.chuanxiedu.net/adhj.htm", "advtype":"T", "source":"", "adFormCode":"Z2", "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= "