我想把这个弄成从数据库里调用数据的那种动态的..
谁能帮我..代码如下..:<script type="text/javascript">
<!--
var focus_width=277
var focus_height=178
var text_height=0
var swf_height = focus_height+text_height
var pics='http://www.lm6.cn/tu/5.jpg|http://www.lm6.cn/tu/6.jpg|http://www.lm6.cn/tu/7.jpg|http://www.lm6.cn/tu/8.jpg|http://www.lm6.cn/tu/9.jpg|http://www.lm6.cn/tu/10.jpg'
var links='http://www.sryyys.com/|http://www.jykt.cn|http://www.sjzdc.cn/|http://www.sjzxutai.com/|http://www.leyochem.com|http://www.haoente.com'
var texts='娃娃班|加意空调|大昌灯具|旭泰化工|力友化工'
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="http://www.lm6.cn/tu/Img226882895.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="http://www.lm6.cn/tu/Img226882895.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" target=_blanktype="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />'); document.write('</object>');
//-->
</script>