求熟悉javascript帮忙看下什么意思
下面这代码是模仿flash新闻图片切换的东东,不明白为什么给入图片地址,再插入一个<object>和<embed>,怎么看都是flahs呀?为什么能插入图片呢?其实还是flash吧?
imgUrl1="http://t2.gstatic.cn/images?q=tbn:4z0aIFW6IiuPjM";imgtext1="http://www.fansart.com"imgLink1=escape("http://fansart.com/");imgUrl2="http://t2.gstatic.cn/images?q=tbn:4z0aIFW6IiuPjM";imgtext2="http://www.fansart.com"imgLink2=escape("http://fansart.com");imgUrl3="http://t2.gstatic.cn/images?q=tbn:4z0aIFW6IiuPjM";imgtext3="http://www.fansart.com"imgLink3=escape("http://fansart.com/");imgUrl4="http://t2.gstatic.cn/images?q=tbn:4z0aIFW6IiuPjM";imgtext4="http://www.fansart.com"imgLink4=escape("http://fansart.com");imgUrl5="http://t2.gstatic.cn/images?q=tbn:4z0aIFW6IiuPjM";imgtext5="http://www.fansart.com"imgLink5=escape("http://fansart.com/");var focus_width=880var focus_height=290var text_height=21var swf_height = focus_height+text_heightvar pics=imgUrl1+"|"+imgUrl2+"|"+imgUrl3+"|"+imgUrl4+"|"+imgUrl5var links=imgLink1+"|"+imgLink2+"|"+imgLink3+"|"+imgLink4+"|"+imgLink5var texts=imgtext1+"|"+imgtext2+"|"+imgtext3+"|"+imgtext4+"|"+imgtext5document.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.webjx.com/js/focus.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="pixviewer.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>');