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["B3"]={"zonecode":"B3",content:[{ "aid":"40948", "zid":"936", "title":"美剧英语", "link":"http://www.hjenglish.com/new/p164830/", "advtype":"P", "source":"http://a4.yeshj.com/upload/201109/pr23103759265.jpg", "adFormCode":"B3", "protected":false }]};A4page.Zone["H1"]={"zonecode":"H1",content:[{ "aid":"40742", "zid":"438", "title":"最科学的看美剧学口语方法>> ", "link":"http://www.hjenglish.com/new/p164830/", "advtype":"T", "source":"", "adFormCode":"H1", "protected":false }]};A4page.Zone["H2"]={"zonecode":"H2",content:[{ "aid":"38782", "zid":"612", "title":"英语翻译是这样学的>>", "link":"http://www.hjenglish.com/new/p198313/", "advtype":"T", "source":"", "adFormCode":"H2", "protected":false }]};A4page.Zone["H4"]={"zonecode":"H4",content:[{ "aid":"38781", "zid":"632", "title":"三个月,轻松拿下中高级口译", "link":"http://www.hjenglish.com/new/p198313/", "advtype":"T", "source":"", "adFormCode":"H4", "protected":false }]};A4page.Zone["H5"]={"zonecode":"H5",content:[{ "aid":"39030", "zid":"633", "title":"办公室英语口语300句", "link":"http://www.hjenglish.com/new/p168754/", "advtype":"T", "source":"", "adFormCode":"H5", "protected":false }]};A4page.Zone["S1"]={"zonecode":"S1",content:[{ "aid":"16371", "zid":"371", "title":"卡西欧2900", "link":"http://ts.yeshj.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.yeshj.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["S4"]={"zonecode":"S4",content:[{ "aid":"42044", "zid":"1413", "title":"英语O+", "link":"http://en.hujiang.com/new/p285816/", "advtype":"P", "source":"http://a4.yeshj.com/upload/201112/pr31171704632.gif", "adFormCode":"S4", "protected":false }]};A4page.Zone["Z1"]={"zonecode":"Z1",content:[{ "aid":"37404", "zid":"345", "title":"雅思口语提高1.5分不是梦!", "link":"http://www.linewow.com/ielts/?hmsr=hujiang&hmmd=textlink&hmpl=Forum&hmkw=1&hmci=ielts", "advtype":"T", "source":"", "adFormCode":"Z1", "protected":false },{ "aid":"26720", "zid":"345", "title":"口译考官考前讲座免费预约", "link":"http://www.english168.com/news/html/20101227/1220419297.htm", "advtype":"T", "source":"", "adFormCode":"Z1", "protected":false },{ "aid":"15667", "zid":"345", "title":"惊:隐形眼镜在线免费试戴!", "link":"http://www.keede.com.cn/?utm_source=hujiang&utm_medium=5ky&utm_campaign=xubei", "advtype":"T", "source":"", "adFormCode":"Z1", "protected":false }]};A4page.Zone["Z2"]={"zonecode":"Z2",content:[{ "aid":"36681", "zid":"426", "title":"玩转DIY桌面!", "link":"http://ebooafa7.allyes.com/main/adfclick?db=ebooafa7&bid=16120,8028,197&cid=8300,979,1&sid=16383&show=ignore&url=http://usa.chinaielts.org/foreign_study.html", "advtype":"T", "source":"", "adFormCode":"Z2", "protected":false },{ "aid":"25756", "zid":"426", "title":"外企必备的英语!", "link":"http://en.yeshj.com/new/p120480/", "advtype":"T", "source":"", "adFormCode":"Z2", "protected":false },{ "aid":"17963", "zid":"426", "title":"10天练就纯正美音", "link":"http://www.hjbook.net/p8672/", "advtype":"T", "source":"", "adFormCode":"Z2", "protected":false },{ "aid":"17538", "zid":"426", "title":"VOA听写教程", "link":"http://bulo.yeshj.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":"39412", "zid":"427", "title":"坚持一个月,听透VOA", "link":"http://app.yeshj.com/listen/center/new,9/", "advtype":"T", "source":"", "adFormCode":"Z3", "protected":false },{ "aid":"39032", "zid":"427", "title":"英语听说读写通关秘籍", "link":"http://en.yeshj.com/new/p157617/", "advtype":"T", "source":"", "adFormCode":"Z3", "protected":false },{ "aid":"39031", "zid":"427", "title":"沪江教你学说上海话", "link":"http://en.yeshj.com/new/p142574/", "advtype":"T", "source":"", "adFormCode":"Z3", "protected":false },{ "aid":"17544", "zid":"427", "title":"最囧的英文对白 ", "link":"http://ts.yeshj.com/page/54271/", "advtype":"T", "source":"", "adFormCode":"Z3", "protected":false },{ "aid":"17542", "zid":"427", "title":"新闻热词天天学", "link":"http://ts.yeshj.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://en.yeshj.com", "advtype":"T", "source":"", "adFormCode":"Z5", "protected":false }]};A4page.Zone["Z7"]={"zonecode":"Z7",content:[{ "aid":"37392", "zid":"708", "title":"惊爆:小月月美瞳大揭秘!", "link":"http://www.keede.com.cn/static/geneHtml/html/0604.aspx?utm_source=hujiang&utm_medium=5ky&utm_campaign=xubei", "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));
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= "