JS代码冲突,求高手帮忙
这个是焦点图的
<!--#include file="inc/head1.asp"-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>flash</title>
<style type="text/css">
<!--
html{ margin:0; padding:0; background:#000;}
body{ margin:0; padding:0; background:#000; }
-->
</style>
</head>
<body>
<div>
<script type="text/javascript">
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="480" height="281">');
document.write('<param name="movie" value="flash.swf" />');
document.write('<param name="quality" value="high" />');
document.write('<param name="menu" value="false" />');
document.write('<param name="wmode" value="transparent" />');
document.write('<embed src="flash.swf" wmode="opaque" menu="false" quality="high" width="480" height="281" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />');
document.write('</object>');
setTimeout(function(){
var config = '4|0xffffff|0xff0000|50|0xffffff|0xff0000|0x000000';
var files="";
<%
sql="select top 4 * from Photo where PhotoUrl<>'' and BigClassName='首页大图' and Passed=true order by addtime desc"
Set rs= Server.CreateObject("ADODB.Recordset")
rs.open sql,conn,1,1
t=0
do while not rs.eof
if t<rs.recordcount-1 then
%>
files=files+"<%=GetImg(rs("PhotoUrl"),0)%>|";
<%
else
%>
files=files+"<%=GetImg(rs("PhotoUrl"),0)%>";
<%
end if
t=t+1
rs.movenext
loop
rs.close
set rs=nothing
%>
var links ="";
var texts ="";
document.write('<div style="top:0; left:0; background:#000; position:absolute;">');
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="480" height="283">');
document.write('<param name="movie" value="focus.swf" />');
document.write('<param name="quality" value="high" />');
document.write('<param name="menu" value="false" />');
document.write('<param name="wmode" value="transparent" />');
document.write('<param name="FlashVars" value="config='+config+'&bcastr_flie='+files+'&bcastr_link='+links+'&bcastr_title='+texts+'" />');
document.write('<embed src="focus.swf" wmode="opaque" FlashVars="config='+config+'&bcastr_flie='+files+'&bcastr_link='+links+'&bcastr_title='+texts+'" menu="false&q