/** * sina flash class * @version 1.1.4.2 * @author [sina ui]zhangping1@ * @update 2008-7-7 */ if(typeof(sina)!="object"){var sina={}} sina.$=function(i){if(!i){return null} return document.getelementbyid(i)};var sinaflash=function(v,x,x,z,v,z,i,c,i,l,o){var w=this;if(!document.createelement||!document.getelementbyid){return} w.id=x?x:'';var o=function(i,i){for(var l=0;l-1){w.ver=c}else{w.ver=v?v:c} w.ver=w.ver.replace(/\./g,',');w.__classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000";w.__codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version="+w.ver;w.width=x;w.height=z;w.movie=v;w.src=w.movie;w.bgcolor=z?z:'';w.quality=c?c:"high";w.__pluginspage="http://www.macromedia.com/go/getflashplayer";w.__type="application/x-shockwave-flash";w.useexpressinstall=(typeof(i)=="boolean")?i:false;w.xir=i?i:window.location;w.redirecturl=l?l:window.location;w.detectkey=(typeof(o)=="boolean")?o:true;w.escapeis=false;w.__objattrs={};w.__params={};w.__embedattrs={};w.__flashvars=[];w.__flashvarsstr="";w.__forsetattribute("id",w.id);w.__objattrs["classid"]=w.__classid;w.__forsetattribute("codebase",w.__codebase);w.__forsetattribute("width",w.width);w.__forsetattribute("height",w.height);w.__forsetattribute("movie",w.movie);w.__forsetattribute("quality",w.quality);w.__forsetattribute("pluginspage",w.__pluginspage);w.__forsetattribute("type",w.__type);w.__forsetattribute("bgcolor",w.bgcolor)} sinaflash.prototype={getflashhtml:function(){var i=this,i='\n'} if(i.__flashvarsstr!=""){i+=' \n'} i+='