if(typeof(A4page) == 'undefined') A4page = {}; A4page.Zone = []; A4page.Zone["A1"]={"zonecode":"A1",content:[{ "aid":"29651", "zid":"791", "title":"凯育法语", "link":"http://www.crelune.org/activepage/20090421/index.htm", "advtype":"P", "source":"http://a4.yeshj.com/upload/200906/FR-D-A1P-29651_42.gif", "adFormCode":"A1", "protected":false }]};A4page.Zone["B1"]={"zonecode":"B1",content:[{ "aid":"26906", "zid":"790", "title":"法语培训中心", "link":"http://shuqiban.afshanghai.org", "advtype":"P", "source":"http://a4.yeshj.com/upload/200906/FR-A-S1P-27888_62.jpg", "adFormCode":"B1", "protected":false }]};A4page.Zone["H1"]={"zonecode":"H1",content:[{ "aid":"29699", "zid":"187", "title":"全封闭,两个月打造流利法语!", "link":"http://brand.hjenglish.com/73/content/13085/", "advtype":"T", "source":"", "adFormCode":"H1", "protected":false }]};A4page.Zone["L1"]={"zonecode":"L1",content:[{ "aid":"18134", "zid":"385", "title":"法语王", "link":"http://fr.hjenglish.com/page/34765/", "advtype":"P", "source":"http://a4.yeshj.com/upload/200903/FR-D-L1P-18134_24.gif", "adFormCode":"L1", "protected":false }]};A4page.Zone["S1"]={"zonecode":"S1",content:[{ "aid":"25981", "zid":"510", "title":"元培", "link":"http://tr.hjenglish.com/page/66592/", "advtype":"P", "source":"http://a4.yeshj.com/upload/200903/FR-D-S1P-25981_73.gif", "adFormCode":"S1", "protected":false }]};A4page.Zone["Z1"]={"zonecode":"Z1",content:[{ "aid":"29700", "zid":"418", "title":"快乐暑假,打造流利法语!", "link":"http://brand.hjenglish.com/73/content/13085", "advtype":"T", "source":"", "adFormCode":"Z1", "protected":false },{ "aid":"26907", "zid":"418", "title":"法语资料免费下载大礼包", "link":"http://fr.hjenglish.com/page/30100/", "advtype":"T", "source":"", "adFormCode":"Z1", "protected":false },{ "aid":"17052", "zid":"418", "title":"卡西欧法语专用电子词典EW-V4000L测评", "link":"http://fr.hjenglish.com/page/42327/", "advtype":"T", "source":"", "adFormCode":"Z1", "protected":false }]};A4page.Zone["Z2"]={"zonecode":"Z2",content:[{ "aid":"17130", "zid":"420", "title":"快易典法语王FA329测评报告", "link":"http://fr.hjenglish.com/page/34765/", "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)); } } 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; }