if(typeof(adflashbig)!="undefined"){if(typeof(setTimeCtrl)=="undefined"){setTimeCtrl=""}(function(smExt,smTag,smUrl,smW,smH,smT,smL,smBg,smTc){window.ifshowbig=false;var smCloseTimer=16000;var smCloseSt;var smGetPosSt;var ifshowbig=false;var closeall=false;var version=navigator.appVersion.split(";");var trim_Version=version[1].replace(/[ ]/g,"");var isIE6=(navigator.appName=="Microsoft Internet Explorer"&&trim_Version=="MSIE6.0")?true:false;var isXHTML=document.compatMode=="CSS1Compat"?true:false;var pthis=this;var bdy=(document.documentElement&&document.documentElement.clientWidth)?document.documentElement:document.body;var $=function(id){if(document.getElementById){return eval('document.getElementById("'+id+'")')}else{return eval("document.all."+id)}};var tmpl=(isIE6||!isXHTML)?8:0;this.SinaDotInitWrap=function(aType,aId,id,aE,aW,aH,aM,aP,aBg,aPo,aT,aR,aB,aL,aDisp,azI){var lstStr="";if(aType==1){lstStr+="var "+aId+' = document.createElement("'+aE+'");'}else{if(aType==2){lstStr+="var "+aId+' = document.getElementById("'+aE+'");'}else{return}}if(id!=""){lstStr+=aId+'.id = "'+id+'";'}if(aW!=""){lstStr+=aId+".style.width = "+aW+' + "px";'}if(aH!=""){lstStr+=aId+".style.height = "+aH+' + "px";'}if(aBg!=""){lstStr+=aId+'.style.background = "'+aBg+'";'}if(aM!=""){lstStr+=aId+'.style.margin = "'+aM+'";'}if(aP!=""){lstStr+=aId+'.style.padding = "'+aP+'";'}if(aPo!=""){lstStr+=aId+'.style.position = "'+aPo+'";'}if(aT!=""){lstStr+=aId+'.style.top = "'+aT+'";'}if(aR!=""){lstStr+=aId+'.style.right = "'+aR+'";'}if(aB!=""){lstStr+=aId+'.style.bottom = "'+aB+'";'}if(aL!=""){lstStr+=aId+'.style.left = "'+aL+'";'}if(aDisp!=""){lstStr+=aId+'.style.display = "'+aDisp+'";'}if(azI!=""){lstStr+=aId+'.style.zIndex = "'+azI+'";'}return lstStr};this.SinaDotInitObj=function(theAdId,theAdSrc,theAdUrl,theAdWidth,theAdHeight){var theAdType=theAdSrc.substring(theAdSrc.length-3).toLowerCase();var tmpAdObj=document.createElement("span");tmpAdObj.style.textAlign="left";switch(theAdType){case"tml":case"htm":var tmpAdContent=document.createElement("iframe");tmpAdContent.id=theAdId;tmpAdContent.style.width=theAdWidth+"px";tmpAdContent.style.height=theAdHeight+"px";tmpAdContent.src=theAdSrc;tmpAdContent.frameBorder=0;tmpAdContent.scrolling="no";tmpAdContent.marginheight=0;tmpAdContent.marginwidth=0;break;case"swf":var tmpAdContent=document.createElement("div");tmpAdContent.id=theAdId;tmpAdContent.style.width=theAdWidth+"px";tmpAdContent.style.height=theAdHeight+"px";tmpAdContent.style.margin="0 auto";var flashObj=new sinaFlash(theAdSrc,theAdId+"_swf",theAdWidth,theAdHeight,"7","",false,"High");flashObj.addParam("wmode","transparent");flashObj.addParam("allowScriptAccess","always");flashObj.addParam("menu","false");flashObj.write(tmpAdContent);break;case"jpg":case"gif":var tmpAdContent=document.createElement("a");tmpAdContent.id=theAdId;tmpAdContent.href=theAdUrl;tmpAdContent.target="_blank";tmpAdContent.style.width=theAdWidth+"px";tmpAdContent.style.height=theAdHeight+"px";tmpAdContent.style.margin="0 auto";tmpAdContent.style.display="block";var ImageObj=new Image();ImageObj.id=theAdId+"_img";ImageObj.style.width=theAdWidth+"px";ImageObj.style.height=theAdHeight+"px";ImageObj.style.border="none";ImageObj.src=theAdSrc;tmpAdContent.appendChild(ImageObj);break;default:var tmpAdContent=document.createElement("a");tmpAdContent.id=theAdId;tmpAdContent.href=theAdUrl;tmpAdContent.target="_blank";tmpAdContent.innerText=theAdSrc;break}tmpAdObj.appendChild(tmpAdContent);return tmpAdObj};document.write('<div id="StreamMediaPositionWrap"></div>');var tmpPosDiv=document.getElementById("StreamMediaPositionWrap");tmpPosDiv.style.width=smW+"px";tmpPosDiv.style.height=0+"px";tmpPosDiv.style.margin="0 auto";tmpPosDiv.style.overflow="hidden";tmpPosDiv.style.visibility="hidden";this.initSM=function(){var apthis=this;smUrl=(smUrl=="")?location.href:smUrl;document.write('<span id="StreamMediaWrap"></span>');var pNode=$("StreamMediaWrap");pNode.style.textAlign="left";eval(pthis.SinaDotInitWrap(1,"smExtObj","smExtObj","div",smW,eval(smW>375?smH+31:smH+22),"0","0","","fixed","0","","","0","none","9999"));if(isIE6||!isXHTML){smExtObj.style.position="absolute"}eval(pthis.SinaDotInitWrap(1,"smExtObjFlash","smExtObjFlash","div",smW,smH,"0","0","","absolute","0","","","0","","100"));if(float_stream_width>375){eval(pthis.SinaDotInitWrap(1,"smExtObjCls","smExtObjCls","div","77","31","0","0","url(cls_77x31.gif) no-repeat","absolute","","0","0","","","300"))}else{eval(pthis.SinaDotInitWrap(1,"smExtObjCls","smExtObjCls","div","66","22","0","0","url(http://art.mzchina.org.cn/adjs/cls_66x22.gif) no-repeat","absolute","","0","0","","","300"));smCloseTimer=16000}smExtObjCls.style.cursor="pointer";smExtObjCls.overflow="hidden";smExtObjCls.title="CLOSE";if(smBg==1){eval(pthis.SinaDotInitWrap(1,"smExtObjBg","smExtObjBg","div",smW,smH,"0","0","#fff","absolute","0","","","0","","1"));eval(pthis.SinaDotInitWrap(1,"smExtObjBgIfm","smExtObjBgIfm","iframe",smW,smH,"","","","","","","","","",""));smExtObjBgIfm.frameBorder=0;smExtObjBgIfm.scrolling="no";smExtObjBg.appendChild(smExtObjBgIfm);smExtObj.appendChild(smExtObjBg)}smExtObj.appendChild(smExtObjCls);smExtObj.appendChild(smExtObjFlash);pNode.appendChild(smExtObj);eval(pthis.SinaDotInitWrap(1,"smTagObj","smTagObj","div",25,191,"0","0","","fixed","","0","0","","none","9999"));if(isIE6||!isXHTML){smTagObj.style.position="absolute"}eval(pthis.SinaDotInitWrap(1,"smTagObjFlash","smTagObjFlash","div",25,150,"0","0","","","","","","","",""));eval(pthis.SinaDotInitWrap(1,"smTagObjPlay","smTagObjPlay","div",25,24,"0","0","url(http://art.mzchina.org.cn/adjs/play.gif) no-repeat center","","","","","","",""));smTagObjPlay.style.cursor="pointer";smTagObjPlay.overflow="hidden";smTagObjPlay.title="REPLAY";eval(pthis.SinaDotInitWrap(1,"smTagObjCls","smTagObjCls","div",25,17,"0","0","url(http://art.mzchina.org.cn/adjs/close.gif) no-repeat center top","","","","","","",""));smTagObjCls.style.cursor="pointer";smTagObjCls.overflow="hidden";smTagObjCls.title="CLOSE";smTagObj.appendChild(smTagObjFlash);smTagObj.appendChild(smTagObjPlay);smTagObj.appendChild(smTagObjCls);pNode.appendChild(smTagObj);this.getPos=function(){if(isIE6||!isXHTML){smTagObj.style.top=bdy.scrollTop+bdy.offsetHeight-206+"px"}else{smTagObj.style.bottom=15+"px"}smTagObj.style.right=0+"px";if(isIE6||!isXHTML){smExtObj.style.top=bdy.scrollTop+smT+"px"}else{smExtObj.style.top=smT+"px"}if(tmpPosDiv.offsetLeft!="undefined"&&tmpPosDiv.offsetLeft>0){smExtObj.style.left=smL>=0?smL:tmpPosDiv.offsetLeft+"px"}else{smExtObj.style.left=smL>=0?smL:(bdy.offsetWidth-smW)/2-tmpl+"px"}smGetPosSt=setTimeout("getPos()",50)};this.playSM=function(){window.ifshowbig=true;clearTimeout(smCloseSt);apthis.getPos();smExtObj.style.display="block";smTagObj.style.display="none";smExtObjFlash.appendChild(pthis.SinaDotInitObj("smExtObjSwf",smExt,smUrl,smW,smH));smTagObjFlash.innerHTML="";smCloseSt=setTimeout(function(){apthis.closeSM()},smCloseTimer)};this.closeSM=function(){window.ifshowbig=false;clearTimeout(smCloseSt);apthis.getPos();smExtObj.style.display="none";smTagObj.style.display="block";smTagObjFlash.appendChild(pthis.SinaDotInitObj("smTagObjSwf",smTag,smUrl,25,150));smExtObjFlash.innerHTML=""};this.closeAllSM=function(){window.ifshowbig=false;clearTimeout(smCloseSt);clearTimeout(smGetPosSt);smExtObj.style.display="none";smTagObj.style.display="none";smExtObjFlash.innerHTML=""};this.getAdCookie=function(N){var c=document.cookie.split("; ");for(var i=0;i<c.length;i++){var d=c[i].split("=");if(d[0]==N){return unescape(d[1])}}return""};this.setAdCookie=function(N,V,Q){var L=new Date();var z=new Date(L.getTime()+Q*60000);document.cookie=N+"="+escape(V)+";path=/;expires="+z.toGMTString()+";"};smExtObjCls.onclick=function(){apthis.closeSM()};smTagObjPlay.onclick=function(){apthis.playSM()};smTagObjCls.onclick=function(){apthis.closeAllSM()};this.openWin=function(){var smCookie=pthis.getAdCookie("StreamMediaCookie"+document.URL);smCookie=smCookie==""?1:++smCookie;if(smCookie<3){apthis.playSM();pthis.setAdCookie("StreamMediaCookie"+document.URL,smCookie,1440)}else{apthis.closeSM()}};var SinaDotSmStforFS;this.ckeOpenWin=function(){if(typeof(fullScreenForLmt)!="undefined"){if(fullScreenForLmt==false){clearTimeout(SinaDotSmStforFS);apthis.openWin()}else{if(fullScreenForLmt==true){SinaDotSmStforFS=setTimeout(function(){apthis.ckeOpenWin()},1000)}}}else{apthis.openWin()}};apthis.ckeOpenWin()};var smCurren=new Date();var smTcTag=false;if(smTc!=""){var smTcBegin=smTc.split("-")[0];var smTcEnd=smTc.split("-")[1];if(smCurren.getHours()>=smTcBegin&&smCurren.getHours()<smTcEnd){smTcTag=true}}if(smTc==""||smTcTag){pthis.initSM()}})(adflashbig,adflash100100,adurl100100,float_stream_width,float_stream_height,float_stream_top,float_stream_left,ifcl_stylebigBg,setTimeCtrl)};