if(typeof(A4page) == 'undefined') A4page = {}; A4page.Zone = []; A4page.Zone["B1"]={"zonecode":"B1",content:[{ "aid":"10337", "zid":"164", "title":"自力四六级_内页", "link":"http://www.zili.cn/school/train-ey.asp", "advtype":"P", "source":"http://a4.yeshj.com/upload/200802/CE-D-B1P-10337_64.gif", "adFormCode":"B1", "protected":false }]};A4page.Zone["B2"]={"zonecode":"B2",content:[{ "aid":"10338", "zid":"165", "title":"四六级备战专题", "link":"http://cet.hjenglish.com/2007/", "advtype":"P", "source":"http://a4.yeshj.com/upload/200802/CE-D-B2P-10338_50.gif", "adFormCode":"B2", "protected":false }]};A4page.Zone["H1"]={"zonecode":"H1",content:[{ "aid":"12086", "zid":"168", "title":"英语资料免费下载", "link":"http://www.kaien.net.cn/", "advtype":"T", "source":"", "adFormCode":"H1", "protected":false }]};A4page.Zone["S1"]={"zonecode":"S1",content:[{ "aid":"11307", "zid":"166", "title":"四六级奖学金颁奖", "link":"http://cet.hjenglish.com/subject/07award", "advtype":"P", "source":"http://a4.yeshj.com/upload/200803/CE-D-S1P-11307_66.gif", "adFormCode":"S1", "protected":false }]};A4page.Zone["Z1"]={"zonecode":"Z1",content:[{ "aid":"12427", "zid":"167", "title":"95%的通过率-PETS", "link":"http://www.l-e-c.net.cn/Ielts/course_pets.asp", "advtype":"T", "source":"", "adFormCode":"Z1", "protected":false },{ "aid":"10344", "zid":"167", "title":"口语资料免费提供", "link":"http://www.marsenglish.com/ad/mars080501/mars_hj.html", "advtype":"T", "source":"", "adFormCode":"Z1", "protected":false },{ "aid":"10343", "zid":"167", "title":"大学英语四级考试听力100篇MP3", "link":"http://www.hjenglish.com/down/11289/", "advtype":"T", "source":"", "adFormCode":"Z1", "protected":false },{ "aid":"10342", "zid":"167", "title":"V-itme--精彩视频资料", "link":"http://www.hjenglish.com/subject/vtime/zt/xdf/", "advtype":"T", "source":"", "adFormCode":"Z1", "protected":false },{ "aid":"10340", "zid":"167", "title":"翻译高手,加入SOHO族 ", "link":"http://www.mytino.com/china/job_pop/index_writing.php?adsn=2008011602", "advtype":"T", "source":"", "adFormCode":"Z1", "protected":false }]}; function show_a4_zone(zonecode) { 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; }