求图片FLASH幻灯的修改办法!
在网上看到了一段js的图片幻灯效果的代码,觉得非常漂亮,不知道如何修改成asp的呢? 
 原代码如下: 
  <!--   
 var   focus_width=300 
 var   focus_height=250 
 var   text_height=30 
 var   swf_height   =   focus_height+text_height 
 var   a   =    "center " 
 var   b   =    " "   
 var   pics= '1.jpg|2|3.jpg|4.jpg|.5 ' 
 var   links= 'news.asp?id=11|news.asp?id=10|news.asp?id=32|news.asp?id=9|news.asp?id=31 ' 
 var   texts= 'title1|title2|title3|title4|title5| '   
 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 ">  '); 
 document.write( ' <param   name= "movie "   value= "http://www.123.com/pixviewer.swf ">  '); 
 document.write( ' <param   name= "quality "   value= "high ">  '); 
 document.write( ' <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+ '&a= '+a+ '&isb= '+b+ ' ">  '); 
 document.write( ' <embed   src= "http://www.123.com/pixviewer.swf "   wmode= "opaque "      
 FlashVars= "pics= '+pics+ '&links= '+links+ '&texts= '+texts+ '&borderwidth= '+focus_width+ '&borderheight= '+focus_height+ '&textheigh   
 t= '+text_height+ '&a= '+a+ '&isb= '+b+ ' "   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>  ');   
 -->    
 如果想显示的图片是用 
 SQL= "Select   top   4      from   News   where   D_ClassID=1   order   by   D_ID   desc " 
 得到的图片, 
 那应该怎么修改原来的代码吗? 
 先谢谢啦
------解决方案--------------------我也很想知道 
 不过没研究出来 
 但是我做一个动态管理的 
 代码以下仅供参考 
 ================ 
  <script type= "text/javascript ">  
 	 <!--  	 
 	var focus_width= <%=rst( "ywidth ")%>  
 	var focus_height= <%=rst( "yheight ")%>  
 	var text_height= <%=rst( "ytxth ")%>  
 	var swf_height = focus_height+text_height  	 
 	var pics= ' <%=rs( "pic1 ")%> | <%=rs( "pic2 ")%> | <%=rs( "p