www.gusucode.com > 中网景企业网站管理系统 2008源码程序 > english/tv.js

    var focus_width=216;
var focus_height=162;
var text_height=18;
var swf_height = focus_height+text_height;
var imgUrl1="http://cimg2.163.com/catchpic/F/FF/FF3F56C737AB5C6AD650F3CA20C48C15.jpg";
var imgLink1="http://www.ct8.cn";
var imgtext1="dddd";
var imgUrl2="http://cimg2.163.com/cnews/2007/9/11/2007091108223514081.jpg";
var imgLink2="http://dfd";
var imgtext2="dfdf";
var imgUrl3="http://cimg2.163.com/cnews/2007/9/11/20070911205321d0a45.jpg";
var imgLink3="http://sdsd";
var imgtext3="sds";
var imgUrl4="http://cimg2.163.com/cnews/2007/9/11/20070911081817e0004.jpg";
var imgLink4="http://dddd";
var imgtext4="dddd";
var imgUrl5="http://cimg2.163.com/cnews/2007/9/11/2007091115083209506.jpg";
var imgLink5="http://ddddfff";
var imgtext5="ffff";
var pics=imgUrl1+"|"+imgUrl2+"|"+imgUrl3+"|"+imgUrl4+"|"+imgUrl5
var links=imgLink1+"|"+imgLink2+"|"+imgLink3+"|"+imgLink4+"|"+imgLink5
var texts=imgtext1+"|"+imgtext2+"|"+imgtext3+"|"+imgtext4+"|"+imgtext5
document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" width="'+ focus_width +'" height="'+ swf_height +'">');
document.write('<param name="allowScriptAccess" value="sameDomain"><param name="movie" value="/common/playswf.swf"><param name=wmode value=transparent><param name="quality" value="high">');
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="/common/playswf.swf" wmode="opaque" FlashVars="pics='+pics+'&links='+links+'&texts='+texts+'&borderwidth='+focus_width+'&borderheight='+focus_height+'&textheight='+text_height+'" menu="false" bgcolor="#DADADA" quality="high" width="'+ focus_width +'" height="'+ swf_height +'" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />');  document.write('</object>');