// JavaScript Document
imgUrl1="images/pic/1.jpg"; //图片的路径
imgtext1="现场实况1"  //标题
imgLink1="fengcai.html";       //链接的地址

imgUrl2="images/pic/2.jpg";
imgtext2="现场实况2"
imgLink2="fengcai.html";

imgUrl3="images/pic/3.jpg";
imgtext3="现场实况3"
imgLink3="fengcai.html";

imgUrl4="images/pic/4.jpg";
imgtext4="现场实况4"
imgLink4="fengcai.html";

imgUrl5="images/pic/5.jpg";
imgtext5="现场实况5"
imgLink5="fengcai.html";

imgUrl6="images/pic/6.jpg";
imgtext6="现场实况6"
imgLink6="fengcai.html";


if (navigator.appName == "Netscape")
{document.write('<a href="'+imgLink1+'"><img src="'+imgUrl1+'" width=500 height=345 border=0 class=img01 ><br> '+imgtext1+'</a> ')
}
else
{
	var focus_width=250  //图片的宽度
	var focus_height=150 //图片的高度
	var text_height=20    //标题栏的宽度
	var swf_height = focus_height+text_height
	
	var pics=imgUrl1+"|"+imgUrl2+"|"+imgUrl3+"|"+imgUrl4+"|"+imgUrl5+"|"+imgUrl6          // 几个图片连接就加几个
	var links=imgLink1+"|"+imgLink2+"|"+imgLink3+"|"+imgLink4+"|"+imgLink5+"|"+imgLink6     //几个图片连接就加几个
	var texts=imgtext1+"|"+imgtext2+"|"+imgtext3+"|"+imgtext4+"|"+imgtext5+"|"+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="flash/play.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="flash/play.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>');
}  //注意FLAH的路径地址
