﻿var cpAD = new Array();
var cpADlink = new Array();
var cpADmsg = new Array();
imgUrl5 = basePath+"/AD_81666/500wan_go_2010-9-10.jpg";// img
imgtext5 = "双色球2亿派奖10月12日启动 每期加奖500万"// text
imgLink5 = escape("../news/queryNewsById.action?categoryId=1&page=1&newsId=1154");// Link one

imgUrl4 = basePath+"/AD_81666/ad_8-11_lee.jpg";// img
imgtext4 = "热烈祝贺上海彩民50倍投双色球中2.59亿巨奖！"// text
imgLink4 = escape("../news/queryNewsById.action?newsId=965");// Link two

imgUrl3 = basePath+"/AD_81666/04.jpg";// img
imgtext3 = "双色球2亿大派送，2元可中1500万"// text
imgLink3 = escape("http://www.81666.net/news/queryNewsById.action?newsId=103");// Link three


imgUrl1 = basePath+"/AD_81666/dt_2011-5-11.jpg";// img
imgtext1 = "5-17晚银彩通平台用户又中42万大奖 上周刚中出38万大奖"// text
imgLink1 = escape(basePath+"/news/queryNewsById.action?newsId=2472");// Link five

imgUrl6= basePath+"/AD_81666/abc_2010-6-4_lee.jpg";//img
imgtext6="自动定投 坚持守号 本平台用户又创佳绩  守号4年中得双色球一等奖747万"//text
imgLink6=escape("news/queryNewsById.action?newsId=742");//Link one


imgUrl7="http://www.81666.net/AD_81666/df_mess_online.jpg";
imgtext7="复式新增自动定投功能 "
imgLink7=escape(basePath+"/Lottery_school/message_336.html");//Link two

imgUrl2 = basePath+"/AD_81666/lee_sd2010-1-11.jpg";// img
imgtext2 = "庆贺本站 银行卡用户中得 2800万大奖  "// text
imgLink2 = escape(basePath+"/news/queryNewsById.action?newsId=354");// Link four

///imgUrl2 = basePath+"/AD_81666/201102-25_15x5jj.jpg";// img
///imgtext2 = " 15选5  900万大派送 3月每天加奖30万"// text
///imgLink2 = escape("../news/queryNewsById.action?newsId=2023");// Link four

imgUrl10 =  basePath+"/AD_81666/later.jpg";
imgtext10 = "5月9日起上海福彩3D组选3加奖800万 每日加奖10万";
imgLink10 =escape( basePath+"/lottery/game.action?gameId=2&lotteryType=1");//Link two


var focus_width = 502
var focus_height = 169
var text_height = 20
var swf_height = focus_height + text_height

var pics =imgUrl10 + "|" + imgUrl1 + "|" + imgUrl2 + "|" + imgUrl4 + "|" + imgUrl6
var links =imgLink10 + "|" + imgLink1 + "|" + imgLink2 + "|" + imgLink4 + "|" + imgLink6
var texts =imgtext10 + "|" + imgtext1 + "|" + imgtext2 + "|" + imgtext4 + "|" + imgtext6


document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="'+ focus_width +'" height="'+ swf_height +'">');
document.write('<param name="allowScriptAccess" value="sameDomain"><param name="movie" value="'+basePath+'/js/focus.swf"><param name="quality" value="high"><param name="bgcolor" value="#F0F0F0">');
document.write('<param name="menu" value="false"><param name=wmode value="opaque">');
document.write('<param name="FlashVars" value="pics='+pics+'&links='+links+'&texts='+texts+'&borderwidth='+focus_width+'&borderheight='+focus_height+'&textheight='+text_height+'">');
document.write('<embed src="'+basePath+'/js/focus.swf" wmode="opaque" FlashVars="pics='+pics+'&links='+links+'&texts='+texts+'&borderwidth='+focus_width+'&borderheight='+focus_height+'&textheight='+text_height+'" menu="false" bgcolor="#F0F0F0" quality="high" width="'+ focus_width +'" height="'+ focus_height +'" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />');  document.write('</object>');
