if(typeof(A4page) == 'undefined') A4page = {}; A4page.Zone = [];
A4page.Zone["A1"]={"zonecode":"A1",content:[{ "aid":"37924", "zid":"1076", "title":"职场达人的英语是这样练出来的!", "link":"http://en.yeshj.com/new/p120480/", "advtype":"T", "source":"", "adFormCode":"A1", "protected":false }]};A4page.Zone["H1"]={"zonecode":"H1",content:[{ "aid":"32861", "zid":"160", "title":"每天挤45分钟攻克商务英语的方法!", "link":"http://en.yeshj.com/subject/bec/zt_netlesson.aspx", "advtype":"T", "source":"", "adFormCode":"H1", "protected":false }]};A4page.Zone["S1"]={"zonecode":"S1",content:[{ "aid":"27034", "zid":"31", "title":"网络课程", "link":"http://cet.yeshj.com/zt/course/", "advtype":"P", "source":"http://a4.yeshj.com/upload/200904/EN-X-S1P-27034_48.gif", "adFormCode":"S1", "protected":false }]};A4page.Zone["V1"]={"zonecode":"V1",content:[{ "aid":"23725", "zid":"310", "title":"日语五十音图卡片 — 学假名说日语", "link":"http://www.hjbook.net/p4566/", "advtype":"K", "source":"", "adFormCode":"V1", "protected":false },{ "aid":"16991", "zid":"310", "title":"看《海贼王》,入日语门", "link":"http://jp.yeshj.com/zt/cartoon/Onepiece/", "advtype":"K", "source":"", "adFormCode":"V1", "protected":false },{ "aid":"16990", "zid":"310", "title":"日语初学者,看着动漫学", "link":"http://jp.yeshj.com/zt/cartoon/Onepiece/", "advtype":"K", "source":"", "adFormCode":"V1", "protected":false }]};A4page.Zone["W1"]={"zonecode":"W1",content:[{ "aid":"17776", "zid":"249", "title":"适合VOA听友的英语口语提高法", "link":"http://a8.yeshj.com/zt/mars/campus.aspx", "advtype":"K", "source":"", "adFormCode":"W1", "protected":false }]};A4page.Zone["Z1"]={"zonecode":"Z1",content:[{ "aid":"34685", "zid":"704", "title":"你的面试英语过关吗?", "link":"http://en.yeshj.com/new/p144730/", "advtype":"T", "source":"", "adFormCode":"Z1", "protected":false }]};A4page.Zone["Z2"]={"zonecode":"Z2",content:[{ "aid":"29368", "zid":"707", "title":"英文面试回答的常用技巧", "link":"http://cnap.englishtown.com/Sp/Landing/default.aspx?ctr=cn&lng=cs&kwid=82601&cfid=82604&tyid=82608&etag=A67000070FE", "advtype":"T", "source":"", "adFormCode":"Z2", "protected":false }]};A4page.Zone["Z3"]={"zonecode":"Z3",content:[{ "aid":"34684", "zid":"769", "title":"学商务英语,改变你的职业前景", "link":"http://en.yeshj.com/subject/bec/zt_netlesson.aspx", "advtype":"T", "source":"", "adFormCode":"Z3", "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= "