// JavaScript Document

//imgUrl1="/function/homeimg/fd1.jpg"; /**图片路径**/ 
//imgtext1="风渡网络科技有限公司欢迎您！" /**图片标题**/ 
//imgLink1=escape("http://www.chinammc.com"); /**图片链接**/ 
//imgUrl2="/function/homeimg/fd2.jpg"; 
//imgtext2="welcome to fengdu！" 
//imgLink2=escape("http://www.chinammc.com"); 
//imgUrl3="/function/homeimg/fd3.jpg"; 
//imgtext3="风渡网络科技有限公司！" 
//imgLink3=escape("http://www.chinammc.com"); 
//imgUrl4="/function/homeimg/fd4.jpg"; 
//imgtext4="welcome to fengdu！" 
//imgLink4=escape("http://www.chinammc.com"); 
//imgUrl5="/function/homeimg/fd1.jpg"; 
//imgtext5="风渡网络科技有限公司！" 
//imgLink5=escape("http://www.chinammc.com"); 


var focus_width=550 /**flash宽度**/ 
var focus_height=180 /**图片高度**/ 
var text_height=0 /**标题高度**/ 
var swf_height = focus_height+text_height-2 
var swf_width = focus_width-2   //为了去边框-2

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=6,0,0,0" width="'+ swf_width +'" height="'+ swf_height +'">'); 
document.write('<param name="allowScriptAccess" value="sameDomain"><param name="movie" value="/function/home.swf"><param name="quality" value="high"><param name="bgcolor" value="#FFFFFF">'); 
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="/function/home.swf" wmode="opaque" FlashVars="pics='+pics+'&links='+links+'&texts='+texts+'&borderwidth='+focus_width+'&borderheight='+focus_height+'&textheight='+text_height+'" menu="false" bgcolor="#FFFFFF" 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>'); 

