if(typeof(A4page) == 'undefined') A4page = {}; A4page.Zone = []; A4page.Zone["B1"]={"zonecode":"B1",content:[{ "aid":"35828", "zid":"728", "title":"沪江网校", "link":"http://class.yeshj.com/course?source=351", "advtype":"P", "source":"http://a4.yeshj.com/upload/201006/HJ-Z-B1P-35828_58.jpg", "adFormCode":"B1", "protected":false }]};A4page.Zone["B2"]={"zonecode":"B2",content:[{ "aid":"24403", "zid":"729", "title":"好易通韩语词典", "link":"http://www.hjbook.net/dict/3987/", "advtype":"P", "source":"http://a4.yeshj.com/upload/200902/HJ-Z-B2P-24403_27.gif", "adFormCode":"B2", "protected":false }]};A4page.Zone["B3"]={"zonecode":"B3",content:[{ "aid":"35295", "zid":"730", "title":"韩语词典", "link":"http://www.hotdic.com/", "advtype":"P", "source":"http://a4.yeshj.com/upload/201005/HJ-Z-B3P-35295_58.gif", "adFormCode":"B3", "protected":false }]};A4page.Zone["H1"]={"zonecode":"H1",content:[{ "aid":"24319", "zid":"720", "title":"韩语罗马文标记法", "link":"http://en.yeshj.com/kr/page/60924/", "advtype":"T", "source":"", "adFormCode":"H1", "protected":false }]};A4page.Zone["H2"]={"zonecode":"H2",content:[{ "aid":"24320", "zid":"721", "title":"韩语发音表", "link":"http://en.yeshj.com/kr/page/60921/", "advtype":"T", "source":"", "adFormCode":"H2", "protected":false }]};A4page.Zone["H3"]={"zonecode":"H3",content:[{ "aid":"24322", "zid":"722", "title":"元辅音组合发音表", "link":"http://en.yeshj.com/kr/page/59329/", "advtype":"T", "source":"", "adFormCode":"H3", "protected":false }]};A4page.Zone["H5"]={"zonecode":"H5",content:[{ "aid":"24324", "zid":"724", "title":"韩文输入法", "link":"http://en.yeshj.com/kr/page/60918/", "advtype":"T", "source":"", "adFormCode":"H5", "protected":false }]};A4page.Zone["H6"]={"zonecode":"H6",content:[{ "aid":"24325", "zid":"725", "title":"每天一句地道韩语一句", "link":"http://bulo.yeshj.com/app/invite.aspx?u=tOX8MyOqMJ4%3d", "advtype":"T", "source":"", "adFormCode":"H6", "protected":false }]};A4page.Zone["H7"]={"zonecode":"H7",content:[{ "aid":"30818", "zid":"726", "title":"限时疯抢的太阳眼镜!", "link":"http://www.keede.com.cn/?utm_source=hujiang&utm_medium=5ky&utm_campaign=xubei", "advtype":"T", "source":"", "adFormCode":"H7", "protected":false }]};A4page.Zone["H8"]={"zonecode":"H8",content:[{ "aid":"24327", "zid":"727", "title":"韩语学习小组邀你加入", "link":"http://bulo.yeshj.com/search/group?all=韩语", "advtype":"T", "source":"", "adFormCode":"H8", "protected":false }]};A4page.Zone["L1"]={"zonecode":"L1",content:[{ "aid":"24399", "zid":"731", "title":"昂立韩语", "link":"http://www.onlycollege.com.cn/class/koera/koera.html", "advtype":"P", "source":"http://a4.yeshj.com/upload/200902/HJ-Z-L1P-24399_42.jpg", "adFormCode":"L1", "protected":false }]};A4page.Zone["L2"]={"zonecode":"L2",content:[{ "aid":"24400", "zid":"732", "title":"新世界韩语", "link":"http://others.neworldedu.org/Korean/", "advtype":"P", "source":"http://a4.yeshj.com/upload/200902/HJ-Z-L2P-24400_31.jpg", "adFormCode":"L2", "protected":false }]};A4page.Zone["L3"]={"zonecode":"L3",content:[{ "aid":"24411", "zid":"737", "title":"沪江韩语论坛", "link":"http://www.hjbbs.com/forum-60.htm", "advtype":"P", "source":"http://a4.yeshj.com/upload/200902/HJ-Z-L3P-24411_48.gif", "adFormCode":"L3", "protected":false }]};A4page.Zone["S1"]={"zonecode":"S1",content:[{ "aid":"24404", "zid":"733", "title":"韩语mario", "link":"http://en.yeshj.com/korean/page/65396/", "advtype":"P", "source":"http://a4.yeshj.com/upload/200902/HJ-Z-S1P-24404_44.jpg", "adFormCode":"S1", "protected":false }]};A4page.Zone["S2"]={"zonecode":"S2",content:[{ "aid":"24405", "zid":"734", "title":"2月最受期待的韩国电影:《手机》", "link":"http://en.yeshj.com/korean/page/66722/", "advtype":"P", "source":"http://a4.yeshj.com/upload/200902/HJ-Z-S2P-24405_87.gif", "adFormCode":"S2", "protected":false }]};A4page.Zone["S3"]={"zonecode":"S3",content:[{ "aid":"24407", "zid":"735", "title":"韩国标准语", "link":"http://bulo.yeshj.com/group/korean/", "advtype":"P", "source":"http://a4.yeshj.com/upload/200902/HJ-Z-S3P-24407_38.gif", "adFormCode":"S3", "protected":false }]};A4page.Zone["S5"]={"zonecode":"S5",content:[{ "aid":"24408", "zid":"736", "title":"从零说韩语", "link":"http://www.hjbook.net/product/4389/", "advtype":"P", "source":"http://a4.yeshj.com/upload/200902/HJ-Z-S5P-24408_43.gif", "adFormCode":"S5", "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= "
" + "" + "" + "" + "" + "" + "" + "" + "
"; //执行转换 Source=Source.replace(flash_ubb, flash_html ); return Source; }