if(typeof(A4page) == 'undefined') A4page = {}; A4page.Zone = [];
A4page.Zone["B1"]={"zonecode":"B1",content:[{ "aid":"10282", "zid":"144", "title":"火星英语口语", "link":"http://a8.yeshj.com/zt/mars/me081201.aspx", "advtype":"P", "source":"http://a4.yeshj.com/upload/200809/TS-D-B1P-10282_95.gif", "adFormCode":"B1", "protected":false }]};A4page.Zone["B2"]={"zonecode":"B2",content:[{ "aid":"10283", "zid":"145", "title":"乌龙学院", "link":"http://game.yeshj.com/wulongxueyuan/", "advtype":"P", "source":"http://a4.yeshj.com/upload/200902/TS-D-B2P-10283_64.gif", "adFormCode":"B2", "protected":false }]};A4page.Zone["B3"]={"zonecode":"B3",content:[{ "aid":"34390", "zid":"936", "title":"春季班", "link":"http://www.hjenglish.com/subject/bec/page/94789/", "advtype":"P", "source":"http://a4.yeshj.com/upload/201002/TS-D-B3P-34390_52.gif", "adFormCode":"B3", "protected":false }]};A4page.Zone["H1"]={"zonecode":"H1",content:[{ "aid":"31228", "zid":"438", "title":"ETS首次推出托业奖学金8000元!了解详情>>", "link":"http://www.ets.org/Media/Campaign/12745/index_ch.html", "advtype":"T", "source":"", "adFormCode":"H1", "protected":false }]};A4page.Zone["H2"]={"zonecode":"H2",content:[{ "aid":"19393", "zid":"612", "title":"跟老外学地道英语!", "link":"http://www.hiknow.com/hjenglish/index.html?uid=hjenglish", "advtype":"T", "source":"", "adFormCode":"H2", "protected":false }]};A4page.Zone["H4"]={"zonecode":"H4",content:[{ "aid":"30545", "zid":"632", "title":"征服英语的十五个好习惯", "link":"http://sh.ndi.com.cn/bm/45.asp", "advtype":"T", "source":"", "adFormCode":"H4", "protected":false }]};A4page.Zone["H5"]={"zonecode":"H5",content:[{ "aid":"28023", "zid":"633", "title":"提高听力的秘诀:坚持一个月,听透VOA", "link":"http://bulo.hjenglish.com/app/home/source/hjenglish", "advtype":"T", "source":"", "adFormCode":"H5", "protected":false }]};A4page.Zone["S1"]={"zonecode":"S1",content:[{ "aid":"16371", "zid":"371", "title":"卡西欧2900", "link":"http://ts.hjenglish.com/page/50915/", "advtype":"P", "source":"http://a4.yeshj.com/upload/200809/TS-D-S1P-16371_65.jpg", "adFormCode":"S1", "protected":false }]};A4page.Zone["S2"]={"zonecode":"S2",content:[{ "aid":"25711", "zid":"425", "title":"快易典刀锋", "link":"http://ts.hjenglish.com/page/68795/", "advtype":"P", "source":"http://a4.yeshj.com/upload/200903/TS-D-S2P-25711_76.gif", "adFormCode":"S2", "protected":false }]};A4page.Zone["S3"]={"zonecode":"S3",content:[{ "aid":"17588", "zid":"431", "title":"广告", "link":"http://www.yeshj.com/", "advtype":"P", "source":"http://ts.hjenglish.com/images/btn_homepage.jpg", "adFormCode":"S3", "protected":false }]};A4page.Zone["Z1"]={"zonecode":"Z1",content:[{ "aid":"26720", "zid":"345", "title":"商务英语权威考试手册免费领取", "link":"http://www.english168.com", "advtype":"T", "source":"", "adFormCode":"Z1", "protected":false },{ "aid":"17962", "zid":"345", "title":"2009年度口语沙龙预约中", "link":"http://ts.hjenglish.com/page/60447/", "advtype":"T", "source":"", "adFormCode":"Z1", "protected":false },{ "aid":"15667", "zid":"345", "title":"测测你的英语水平(免费)", "link":"http://count.chanet.com.cn/click.cgi?a=96016&d=45230&u=&e=&url=http://cnap.englishtown.com/sp/tests/start.aspx?etag=A02012[DRAFTNAME]FT", "advtype":"T", "source":"", "adFormCode":"Z1", "protected":false }]};A4page.Zone["Z2"]={"zonecode":"Z2",content:[{ "aid":"25756", "zid":"426", "title":"外企必备的面试英语", "link":"http://cnap.englishtown.com/Sp/Landing/default.aspx?ctr=cn&lng=cs&kwid=83721&cfid=90343&tyid=84223&etag=A67000039FE", "advtype":"T", "source":"", "adFormCode":"Z2", "protected":false },{ "aid":"17963", "zid":"426", "title":"30天突破英语听说", "link":"http://www.hjbook.net/product/2738", "advtype":"T", "source":"", "adFormCode":"Z2", "protected":false },{ "aid":"17646", "zid":"426", "title":"人机对话学口语软件", "link":"http://www.hjbook.net/product/2738/", "advtype":"T", "source":"", "adFormCode":"Z2", "protected":false },{ "aid":"17538", "zid":"426", "title":"VOA听写教程", "link":"http://bulo.hjenglish.com/menu/1974/", "advtype":"T", "source":"", "adFormCode":"Z2", "protected":false },{ "aid":"17537", "zid":"426", "title":"新东方新概念网络课程", "link":"http://www.hjbook.net/zt/snce/", "advtype":"T", "source":"", "adFormCode":"Z2", "protected":false }]};A4page.Zone["Z3"]={"zonecode":"Z3",content:[{ "aid":"19408", "zid":"427", "title":"免费英语学习资料", "link":"http://www.chanet.com.cn/click.cgi?a=96016&d=56455&u=&e=&url=http://cnap.englishtown.com/Sp/Landing/default.aspx?ctr=cn&lng=cs&kwid=95403&cfid=95655&v=2&etag=A03010[DRAFTNAME]FE4", "advtype":"T", "source":"", "adFormCode":"Z3", "protected":false },{ "aid":"19394", "zid":"427", "title":"速提口语水平的招数", "link":"http://ts.hjenglish.com/page/60447/", "advtype":"T", "source":"", "adFormCode":"Z3", "protected":false },{ "aid":"17544", "zid":"427", "title":"最囧的英文对白 ", "link":"http://ts.hjenglish.com/page/54271/", "advtype":"T", "source":"", "adFormCode":"Z3", "protected":false },{ "aid":"17543", "zid":"427", "title":"2010年我为世博工作", "link":"http://tr.hjenglish.com/expo/page/66592/", "advtype":"T", "source":"", "adFormCode":"Z3", "protected":false },{ "aid":"17542", "zid":"427", "title":"新闻热词天天学", "link":"http://ts.hjenglish.com/tag/%E7%83%AD%E7%82%B9%E8%AF%8D%E6%B1%87/", "advtype":"T", "source":"", "adFormCode":"Z3", "protected":false }]};A4page.Zone["Z4"]={"zonecode":"Z4",content:[{ "aid":"17551", "zid":"428", "title":"广告", "link":"http://www.hjbook.net", "advtype":"T", "source":"", "adFormCode":"Z4", "protected":false }]};A4page.Zone["Z5"]={"zonecode":"Z5",content:[{ "aid":"17550", "zid":"429", "title":"广告一", "link":"http://www.hjenglish.com", "advtype":"T", "source":"", "adFormCode":"Z5", "protected":false }]};A4page.Zone["Z6"]={"zonecode":"Z6",content:[{ "aid":"23657", "zid":"679", "title":"限时抢购火热进行中:Lucy陪你说英语-[人机对话学口语软件]", "link":"http://www.hjbook.net/countdown", "advtype":"T", "source":"", "adFormCode":"Z6", "protected":false }]};A4page.Zone["Z7"]={"zonecode":"Z7",content:[{ "aid":"24124", "zid":"708", "title":"最快的提高英语口语的方法", "link":"http://cnap.englishtown.com/Sp/Landing/default.aspx?ctr=cn&lng=cs&v=2&kwid=95024&cfid=82589&v=2&etag=A67000058FE", "advtype":"T", "source":"", "adFormCode":"Z7", "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;
}