﻿if(typeof(A4page) == 'undefined') A4page = {}; A4page.Zone = [];
A4page.Zone["A1"]={"zonecode":"A1",content:[{ "aid":"35564", "zid":"582",	"title":"英语大赛",	"link":"http://www.hjenglish.com/new/zt/share/",	"advtype":"P",	"source":"http://a4.yeshj.com/upload/201006/HJ-A-A1P-35564_10.gif",	"adFormCode":"A1",  "protected":false }]};A4page.Zone["B1"]={"zonecode":"B1",content:[{ "aid":"35875", "zid":"589",	"title":"新T恤",	"link":"http://www.hjbook.net/zt/2010Tshirt/",	"advtype":"P",	"source":"http://a4.yeshj.com/upload/201006/HJ-A-B1P-35875_21.gif",	"adFormCode":"B1",  "protected":false }]};A4page.Zone["B2"]={"zonecode":"B2",content:[{ "aid":"19258", "zid":"598",	"title":"沪江网店",	"link":"http://www.hjbook.net",	"advtype":"P",	"source":"http://a4.yeshj.com/upload/200811/HJ-A-B2P-19258_26.gif",	"adFormCode":"B2",  "protected":false }]};A4page.Zone["B3"]={"zonecode":"B3",content:[{ "aid":"35646", "zid":"600",	"title":"EF",	"link":"",	"advtype":"F",	"source":"[flash=740,90]http://a4.yeshj.com/upload/201006/HJ-A-B3F-35646_11.swf[/flash]",	"adFormCode":"B3",  "protected":false }]};A4page.Zone["B4"]={"zonecode":"B4",content:[{ "aid":"35906", "zid":"601",	"title":"日语大奖赛",	"link":"http://jp.hjenglish.com/new/p108884/",	"advtype":"P",	"source":"http://a4.yeshj.com/upload/201007/HJ-A-B4P-35906_80.gif",	"adFormCode":"B4",  "protected":false }]};A4page.Zone["H1"]={"zonecode":"H1",content:[{ "aid":"19223", "zid":"586",	"title":"轻松踏上京都之旅！",	"link":"http://training.pkuyy.com/training/course_show.php?url=580&area=2",	"advtype":"T",	"source":"",	"adFormCode":"H1",  "protected":false }]};A4page.Zone["H2"]={"zonecode":"H2",content:[{ "aid":"30094", "zid":"587",	"title":"20%学费，200%收获",	"link":"http://class.yeshj.com/zt/autumn/?source=351",	"advtype":"T",	"source":"",	"adFormCode":"H2",  "protected":false }]};A4page.Zone["H3"]={"zonecode":"H3",content:[{ "aid":"28894", "zid":"588",	"title":"<font color=blue>权威专家谈雅思！</font>",	"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/top128.html",	"advtype":"T",	"source":"",	"adFormCode":"H3",  "protected":false }]};A4page.Zone["H4"]={"zonecode":"H4",content:[{ "aid":"19272", "zid":"599",	"title":"带你品味高端日本文化咯",	"link":"http://www.bunka-fc.com",	"advtype":"T",	"source":"",	"adFormCode":"H4",  "protected":false },{ "aid":"19271", "zid":"599",	"title":"快去看看，趣味英语卡通专区",	"link":"http://cnap.englishtown.com/Sp/Landing/default.aspx?ctr=cn&;lng=cs&kwid=117617&cfid=115449&tyid=104300&etag=A67000089HM",	"advtype":"T",	"source":"",	"adFormCode":"H4",  "protected":false },{ "aid":"19270", "zid":"599",	"title":"<b>带您玩转趣味日语！</b>",	"link":"http://www.yanyuanriyu.com/",	"advtype":"T",	"source":"",	"adFormCode":"H4",  "protected":false },{ "aid":"19269", "zid":"599",	"title":"外语学习资料免费下载",	"link":"http://www.hjenglish.com/down",	"advtype":"T",	"source":"",	"adFormCode":"H4",  "protected":false },{ "aid":"19268", "zid":"599",	"title":"<font color=blue><b>英语水平免费测试</b></font>",	"link":"http://super.yeshj.com/en/WordsResult.aspx",	"advtype":"T",	"source":"",	"adFormCode":"H4",  "protected":false }]};A4page.Zone["L1"]={"zonecode":"L1",content:[{ "aid":"34980", "zid":"597",	"title":"酷讯",	"link":"http://jipiao.kuxun.cn/?fromid=hujiang1Mf2",	"advtype":"P",	"source":"http://a4.yeshj.com/upload/201004/HJ-A-L1P-34980_45.gif",	"adFormCode":"L1",  "protected":false }]};A4page.Zone["S1"]={"zonecode":"S1",content:[{ "aid":"35849", "zid":"594",	"title":"",	"link":"",	"advtype":"F",	"source":"[flash=180,180]http://a4.yeshj.com/upload/201006/HJ-A-S1F-35849_90.swf[/flash]",	"adFormCode":"S1",  "protected":false }]};A4page.Zone["S2"]={"zonecode":"S2",content:[{ "aid":"19243", "zid":"595",	"title":"卡西欧",	"link":"http://zt.hjbook.net/zt/casio/",	"advtype":"P",	"source":"http://a4.yeshj.com/upload/200811/HJ-A-S2P-19243_40.gif",	"adFormCode":"S2",  "protected":false }]};A4page.Zone["S3"]={"zonecode":"S3",content:[{ "aid":"19245", "zid":"596",	"title":"sonybec奖学金",	"link":"http://www.hjenglish.com/sonybec/",	"advtype":"P",	"source":"http://www.yeshj.com/index/images/bnr_sony.gif",	"adFormCode":"S3",  "protected":false }]};A4page.Zone["S4"]={"zonecode":"S4",content:[{ "aid":"35435", "zid":"602",	"title":"商务英语",	"link":"http://class.yeshj.com/tag/%E5%95%86%E5%8A%A1%E8%8B%B1%E8%AF%AD?source=351",	"advtype":"P",	"source":"http://a4.yeshj.com/upload/201005/HJ-A-S4P-35435_41.jpg",	"adFormCode":"S4",  "protected":false }]};A4page.Zone["S5"]={"zonecode":"S5",content:[{ "aid":"35905", "zid":"603",	"title":"日语大奖赛",	"link":"http://jp.hjenglish.com/new/p108884/",	"advtype":"P",	"source":"http://a4.yeshj.com/upload/201007/HJ-A-S5P-35905_16.gif",	"adFormCode":"S5",  "protected":false }]};A4page.Zone["S6"]={"zonecode":"S6",content:[{ "aid":"35535", "zid":"604",	"title":"新T恤",	"link":"http://www.hjbook.net/zt/2010t/",	"advtype":"P",	"source":"http://a4.yeshj.com/upload/201006/HJ-A-S6P-35535_63.jpg",	"adFormCode":"S6",  "protected":false }]};A4page.Zone["S7"]={"zonecode":"S7",content:[{ "aid":"35583", "zid":"605",	"title":"口译班",	"link":"http://www.hjenglish.com/new/p163207/",	"advtype":"P",	"source":"http://a4.yeshj.com/upload/201105/pr23142507340.gif",	"adFormCode":"S7",  "protected":false }]};A4page.Zone["S8"]={"zonecode":"S8",content:[{ "aid":"21612", "zid":"640",	"title":"super测试",	"link":"http://super.yeshj.com/",	"advtype":"P",	"source":"http://a4.yeshj.com/upload/200812/HJ-A-S8P-21612_53.gif",	"adFormCode":"S8",  "protected":false }]};A4page.Zone["Z1"]={"zonecode":"Z1",content:[{ "aid":"22855", "zid":"583",	"title":"日语初学者必看！",	"link":"http://class.yeshj.com/10082/intro?source=147",	"advtype":"T",	"source":"",	"adFormCode":"Z1",  "protected":false },{ "aid":"19204", "zid":"583",	"title":"十分钟搞定50音图",	"link":"http://www.kingjp.cn/indexs.asp",	"advtype":"T",	"source":"",	"adFormCode":"Z1",  "protected":false },{ "aid":"19203", "zid":"583",	"title":"足不出户轻松学习",	"link":"http://class.yeshj.com/zt/jp/?source=351",	"advtype":"T",	"source":"",	"adFormCode":"Z1",  "protected":false },{ "aid":"19202", "zid":"583",	"title":"海外生活新时尚",	"link":"http://www.17000.com.cn:85/news/showinfo.jsp?nid=980",	"advtype":"T",	"source":"",	"adFormCode":"Z1",  "protected":false },{ "aid":"19201", "zid":"583",	"title":"英语零基础者请看",	"link":"http://www.hjenglish.com/new/p112207/",	"advtype":"T",	"source":"",	"adFormCode":"Z1",  "protected":false },{ "aid":"19200", "zid":"583",	"title":"喜欢动漫请看这里",	"link":"http://www.bunka-fc.com",	"advtype":"T",	"source":"",	"adFormCode":"Z1",  "protected":false },{ "aid":"19199", "zid":"583",	"title":"免费英语小测验",	"link":"http://cnap.englishtown.com/Sp/Landing/default.aspx?ctr=cn&;lng=cs&kwid=117617&cfid=115449&tyid=104300&etag=A67000089HM",	"advtype":"T",	"source":"",	"adFormCode":"Z1",  "protected":false },{ "aid":"19197", "zid":"583",	"title":"找个老外 学英语",	"link":"http://www.marsenglish.com/tg/me100708/index.asp?TA=G9M00me081208I0120000",	"advtype":"T",	"source":"",	"adFormCode":"Z1",  "protected":false },{ "aid":"19196", "zid":"583",	"title":"到暑假免费学英语",	"link":"http://www.ndi.com.cn/bm/qg/tg.asp",	"advtype":"T",	"source":"",	"adFormCode":"Z1",  "protected":false }]};A4page.Zone["Z10"]={"zonecode":"Z10",content:[{ "aid":"19302", "zid":"608",	"title":"温故知新，英语小测验！",	"link":"http://cnap.englishtown.com/Sp/Landing/default.aspx?ctr=cn&lng=cs&kwid=117617&cfid=115449&tyid=104300&etag=A67000089HM",	"advtype":"T",	"source":"",	"adFormCode":"Z10",  "protected":false },{ "aid":"19301", "zid":"608",	"title":"<font color=red>抢救上班族可怜的英语！</font>",	"link":"http://www.hjenglish.com/subject/bec/zt_netlesson.aspx",	"advtype":"T",	"source":"",	"adFormCode":"Z10",  "protected":false },{ "aid":"19300", "zid":"608",	"title":"成就高收入口译员不是梦！",	"link":"http://www.cemachina.com",	"advtype":"T",	"source":"",	"adFormCode":"Z10",  "protected":false }]};A4page.Zone["Z11"]={"zonecode":"Z11",content:[{ "aid":"34670", "zid":"681",	"title":"学日语",	"link":"http://jp.hjenglish.com",	"advtype":"T",	"source":"",	"adFormCode":"Z11",  "protected":false },{ "aid":"34669", "zid":"681",	"title":"名师博客",	"link":"http://blog.hjenglish.com/star",	"advtype":"T",	"source":"",	"adFormCode":"Z11",  "protected":false },{ "aid":"34668", "zid":"681",	"title":"在线课程",	"link":"http://www.hjbook.net/netlesson",	"advtype":"T",	"source":"",	"adFormCode":"Z11",  "protected":false },{ "aid":"34667", "zid":"681",	"title":"背外语",	"link":"http://recite2.super.yeshj.com/",	"advtype":"T",	"source":"",	"adFormCode":"Z11",  "protected":false },{ "aid":"34666", "zid":"681",	"title":"学英语",	"link":"http://www.hjenglish.com/new",	"advtype":"T",	"source":"",	"adFormCode":"Z11",  "protected":false },{ "aid":"34665", "zid":"681",	"title":"外语部落",	"link":"http://bulo.hjenglish.com/app/home/source/yeshj",	"advtype":"T",	"source":"",	"adFormCode":"Z11",  "protected":false },{ "aid":"34664", "zid":"681",	"title":"做翻译",	"link":"http://dict.hjenglish.com/app",	"advtype":"T",	"source":"",	"adFormCode":"Z11",  "protected":false },{ "aid":"34663", "zid":"681",	"title":"沪江网校",	"link":"http://class.yeshj.com/?source=192",	"advtype":"T",	"source":"",	"adFormCode":"Z11",  "protected":false }]};A4page.Zone["Z2"]={"zonecode":"Z2",content:[{ "aid":"19213", "zid":"584",	"title":"最新日本留学动态",	"link":"http://www.edush.com/Chinese/Service.Asp?ID=2021",	"advtype":"T",	"source":"",	"adFormCode":"Z2",  "protected":false },{ "aid":"19212", "zid":"584",	"title":"三个月雅思考6分",	"link":"http://www.mqlearning.net",	"advtype":"T",	"source":"",	"adFormCode":"Z2",  "protected":false },{ "aid":"19211", "zid":"584",	"title":"零基础直达N2级",	"link":"http://jp.hjenglish.com/new/p111441/",	"advtype":"T",	"source":"",	"adFormCode":"Z2",  "protected":false },{ "aid":"19210", "zid":"584",	"title":"45天突破英语听说",	"link":"http://www.ndi.com.cn/bm/qg/tg.asp",	"advtype":"T",	"source":"",	"adFormCode":"Z2",  "protected":false },{ "aid":"19209", "zid":"584",	"title":"职场充电的选择！",	"link":"http://www.hjenglish.com/subject/bec/zt_netlesson.aspx?source=351",	"advtype":"T",	"source":"",	"adFormCode":"Z2",  "protected":false },{ "aid":"19208", "zid":"584",	"title":"最真实的留日生活",	"link":"http://www.kansaigogen.ac.jp",	"advtype":"T",	"source":"",	"adFormCode":"Z2",  "protected":false },{ "aid":"19207", "zid":"584",	"title":"四个月过日语一级",	"link":"http://jp.hjenglish.com/page/49643/",	"advtype":"T",	"source":"",	"adFormCode":"Z2",  "protected":false },{ "aid":"19206", "zid":"584",	"title":"直飞日本学设计！",	"link":"http://www.bunka-fc.com",	"advtype":"T",	"source":"",	"adFormCode":"Z2",  "protected":false },{ "aid":"19205", "zid":"584",	"title":"漂洋过海的新生活",	"link":"http://www.17000.com.cn:85/news/showinfo.jsp?nid=980",	"advtype":"T",	"source":"",	"adFormCode":"Z2",  "protected":false }]};A4page.Zone["Z3"]={"zonecode":"Z3",content:[{ "aid":"21665", "zid":"585",	"title":"学好口译不怕出国",	"link":"http://training.pkuyy.com/training/course_show.php?url=580&area=2",	"advtype":"T",	"source":"",	"adFormCode":"Z3",  "protected":false },{ "aid":"21663", "zid":"585",	"title":"赴日留学专家点评",	"link":"http://blog.sina.com.cn/u/1606673703",	"advtype":"T",	"source":"",	"adFormCode":"Z3",  "protected":false },{ "aid":"19222", "zid":"585",	"title":"最新口译考试大纲",	"link":"http://training.pkuyy.com/training/course_show.php?url=580&area=2",	"advtype":"T",	"source":"",	"adFormCode":"Z3",  "protected":false },{ "aid":"19221", "zid":"585",	"title":"雅思高分怎么练成",	"link":"http://www.longre.com/shanghai/09qj/hjkc.htm",	"advtype":"T",	"source":"",	"adFormCode":"Z3",  "protected":false },{ "aid":"19220", "zid":"585",	"title":"最真实的留日生活",	"link":"http://www.kansaigogen.ac.jp",	"advtype":"T",	"source":"",	"adFormCode":"Z3",  "protected":false },{ "aid":"19219", "zid":"585",	"title":"我的赴日留学之路",	"link":"http://blog.sina.com.cn/u/1606673703",	"advtype":"T",	"source":"",	"adFormCode":"Z3",  "protected":false },{ "aid":"19217", "zid":"585",	"title":"雅思官方有奖征文,赢取ipad大奖！",	"link":"http://www.chinaielts.org/prize_essay.shtml",	"advtype":"T",	"source":"",	"adFormCode":"Z3",  "protected":false },{ "aid":"19215", "zid":"585",	"title":"名校零距离接触！",	"link":"http://www.17000.com.cn:85/news/showinfo.jsp?nid=980",	"advtype":"T",	"source":"",	"adFormCode":"Z3",  "protected":false },{ "aid":"19214", "zid":"585",	"title":"公开课抢票开始啦",	"link":"http://training.pkuyy.com/training/index.php?area=2",	"advtype":"T",	"source":"",	"adFormCode":"Z3",  "protected":false }]};A4page.Zone["Z4"]={"zonecode":"Z4",content:[{ "aid":"29515", "zid":"590",	"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":"Z4",  "protected":false },{ "aid":"19227", "zid":"590",	"title":"坚持一个月，听透VOA",	"link":"http://voa.hjenglish.com",	"advtype":"T",	"source":"",	"adFormCode":"Z4",  "protected":false }]};A4page.Zone["Z5"]={"zonecode":"Z5",content:[{ "aid":"28640", "zid":"591",	"title":"足不出户，轻松学英语",	"link":"http://class.yeshj.com/zt/en/?source=351",	"advtype":"T",	"source":"",	"adFormCode":"Z5",  "protected":false },{ "aid":"19230", "zid":"591",	"title":"做现代白领，先学BEC",	"link":"http://www.hjenglish.com/subject/bec/page/66561/",	"advtype":"T",	"source":"",	"adFormCode":"Z5",  "protected":false }]};A4page.Zone["Z6"]={"zonecode":"Z6",content:[{ "aid":"19232", "zid":"592",	"title":"<font color=red>日语初学者入门经验谈</font>",	"link":"http://www.yanyuanriyu.com/",	"advtype":"T",	"source":"",	"adFormCode":"Z6",  "protected":false },{ "aid":"19231", "zid":"592",	"title":"免费英语水平在线测试",	"link":"http://super.yeshj.com/en/WordsResult.aspx",	"advtype":"T",	"source":"",	"adFormCode":"Z6",  "protected":false }]};A4page.Zone["Z7"]={"zonecode":"Z7",content:[{ "aid":"23851", "zid":"593",	"title":"赢取雅思留美基金",	"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/top128.html",	"advtype":"T",	"source":"",	"adFormCode":"Z7",  "protected":false },{ "aid":"20614", "zid":"593",	"title":"同声翻译，你也可以",	"link":"http://training.pkuyy.com/training/course_show.php?url=594&area=2",	"advtype":"T",	"source":"",	"adFormCode":"Z7",  "protected":false },{ "aid":"19242", "zid":"593",	"title":"4周日语课程免费送",	"link":"http://www.kingjp.cn/indexs.asp",	"advtype":"T",	"source":"",	"adFormCode":"Z7",  "protected":false },{ "aid":"19240", "zid":"593",	"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 },{ "aid":"19239", "zid":"593",	"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 },{ "aid":"19238", "zid":"593",	"title":"网上学日语最棒6招",	"link":"http://jp.hjenglish.com/page/65079/",	"advtype":"T",	"source":"",	"adFormCode":"Z7",  "protected":false },{ "aid":"19237", "zid":"593",	"title":"学遍全球优惠多多！",	"link":"http://www.17000.com.cn:85/news/showinfo.jsp?nid=980",	"advtype":"T",	"source":"",	"adFormCode":"Z7",  "protected":false },{ "aid":"19236", "zid":"593",	"title":"机不可失，就业日企",	"link":"http://www.yanyuanriyu.com/",	"advtype":"T",	"source":"",	"adFormCode":"Z7",  "protected":false }]};A4page.Zone["Z8"]={"zonecode":"Z8",content:[{ "aid":"27502", "zid":"606",	"title":"新学期，英语学习新计划！",	"link":"http://class.yeshj.com/zt/autumn/?source=351",	"advtype":"T",	"source":"",	"adFormCode":"Z8",  "protected":false },{ "aid":"22890", "zid":"606",	"title":"立即订阅完全免费英语课程",	"link":"http://cnap.englishtown.com/Sp/Landing/default.aspx?ctr=cn&lng=cs&kwid=117617&cfid=115449&tyid=104300&etag=A67000089HM",	"advtype":"T",	"source":"",	"adFormCode":"Z8",  "protected":false },{ "aid":"19288", "zid":"606",	"title":"12小时英语口译入门",	"link":"http://www.kaosee.cn/shizhan/",	"advtype":"T",	"source":"",	"adFormCode":"Z8",  "protected":false },{ "aid":"19287", "zid":"606",	"title":"学设计，体验地道日本本土文化",	"link":"http://www.bunka-fc.com",	"advtype":"T",	"source":"",	"adFormCode":"Z8",  "protected":false }]};A4page.Zone["Z9"]={"zonecode":"Z9",content:[{ "aid":"27109", "zid":"607",	"title":"<font color=blue><b>200个单词仅需30分钟！</b></font>",	"link":"http://www.yanyuanriyu.com/",	"advtype":"T",	"source":"",	"adFormCode":"Z9",  "protected":false },{ "aid":"20006", "zid":"607",	"title":"外研社日汉双解学习词典增补版",	"link":"http://www.hjbook.net/p3103/?source=2",	"advtype":"T",	"source":"",	"adFormCode":"Z9",  "protected":false },{ "aid":"20005", "zid":"607",	"title":"快易典电子词典-法语王FA329",	"link":"http://www.hjbook.net/p2763/?source=2",	"advtype":"T",	"source":"",	"adFormCode":"Z9",  "protected":false },{ "aid":"20004", "zid":"607",	"title":"赖世雄美语从头学 入门至高级",	"link":"http://so.yeshj.com/searcher.aspx?key=%E8%B5%96%E4%B8%96%E9%9B%84%E7%BE%8E%E8%AF%AD%E4%BB%8E%E5%A4%B4%E5%AD%A6&submit.x=28&submi",	"advtype":"T",	"source":"",	"adFormCode":"Z9",  "protected":false },{ "aid":"20003", "zid":"607",	"title":"新东方在线网络课程-BEC中级",	"link":"http://www.hjbook.net/lesson/2813/?source=2",	"advtype":"T",	"source":"",	"adFormCode":"Z9",  "protected":false },{ "aid":"20002", "zid":"607",	"title":"剑桥雅思真题套餐（共7本书）",	"link":"http://www.hjbook.net/p2212/?source=2",	"advtype":"T",	"source":"",	"adFormCode":"Z9",  "protected":false },{ "aid":"20001", "zid":"607",	"title":"沪江VIP学员帐号（包月卡）",	"link":"http://www.hjbook.net/p40/",	"advtype":"T",	"source":"",	"adFormCode":"Z9",  "protected":false },{ "aid":"20000", "zid":"607",	"title":"留学英语口语宝典（含光盘）",	"link":"http://www.hjbook.net/p5940/",	"advtype":"T",	"source":"",	"adFormCode":"Z9",  "protected":false },{ "aid":"19999", "zid":"607",	"title":"新编剑桥商务英语BEC中级套餐",	"link":"http://www.hjbook.net/p2133/?source=2",	"advtype":"T",	"source":"",	"adFormCode":"Z9",  "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("<a href=\"http://a4.yeshj.com/rd/"+ post.aid +"/\" target=\"_blank\">" + post.title +"</a>&nbsp;&nbsp;");
				else
					document.write("<a href=\"http://a4.yeshj.com/rd/"+ post.aid +"/\" target=\"_blank\">" + post.title +"</a><br/>");
			}			

		}	else if (A4page.Zone[zonecode].content[0].advtype == "P"){

			if( A4page.Zone[zonecode].content.length == 1 ){

				document.write("<a href=\"http://a4.yeshj.com/rd/"+ A4page.Zone[zonecode].content[0].aid +"/\" title=\""+ A4page.Zone[zonecode].content[0].title +"\" target=\"_blank\"><img src=\""+ A4page.Zone[zonecode].content[0].source +"\" border=\"0\"></a>");

			}else{

				for (var i=0, post; post = A4page.Zone[zonecode].content[i]; i++) {
						document.write("<a href=\"http://a4.yeshj.com/rd/"+ post.aid +"/\" target=\"_blank\"><img src=\""+ post.source +"\" border=\"0\"></a><br/><br/>");
				}						
			}

		}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= "<OBJECT codeBase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,22,0\" "
	+ " classid=\"clsid:d27CDB6E-AE6D-11cf-96B8-444553540000\" "
	+ "width=$1 height=$2>"
	+ "<PARAM NAME=movie VALUE=\"$3\">"
	+ "<PARAM NAME=quality VALUE=high>"
	+ "<embed src=\"$3\" width=$1 height=$2 quality=high name=index type=\"application/x-shockwave-flash\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\"/>"
	+ "</OBJECT>";
	//执行转换
	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= "<div style=\"position:relative;\">"
    + "<a target=\"_blank\" href=\"http://a4.yeshj.com/rd/"+aid+"/\" style=\"background:transparent url('http://bulo.hjenglish.com/images/spacer.gif') no-repeat;display:block;width:$1px;height:$2px;position:absolute;left:0;top:0;\"></a>"
	+ "<OBJECT codeBase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,22,0\" "
	+ " classid=\"clsid:d27CDB6E-AE6D-11cf-96B8-444553540000\" "
	+ "width=$1 height=$2>"
	+ "<PARAM NAME=\"movie\" VALUE=\"$3\">"
	+ "<PARAM NAME=\"quality\" VALUE=\"high\">"
	+ "<param value=\"opaque\" name=\"wmode\">"
	+ "<embed src=\"$3\" width=$1 height=$2  quality=high name=index type=\"application/x-shockwave-flash\"  wmode=\"transparent\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\"/>"
	+ "</OBJECT>"
	+ "</div>";
	//执行转换
	Source=Source.replace(flash_ubb, flash_html );
	return Source;
}
