
$extend(SLPlayer.Window,{aCSSPath:["http://video.sina.com.cn/player/sinaliveplayer/window/default/blue.css","http://video.sina.com.cn/player/sinaliveplayer/window/default/black2.css","http://video.sina.com.cn/player/sinaliveplayer/window/default/black3.css"],Counter:{loadingCgi:"http://beacon.sina.com.cn/e.gif?videoweb||{userid}||{useros}||{userie}||load||{src}||{channel}||{title}||{random}",playingCgi:"http://beacon.sina.com.cn/e.gif?videoweb||{userid}||{useros}||{userie}||play||{src}||{channel}||{title}||{random}"},html:"<div id=\"slpdemo_host\" style=\"width:{width}px;\">\t\t\t\t<!-- view begin -->\t\t\t\t<div id=\"slpdemo_viewHost\" style=\"height:{height2}px;\">\t\t\t\t\t<!-- object begin -->\t\t\t\t\t<div id=\"slpdemo_objectHost\" style=\"width:{width}px; height:{height}px;\"></div>\t\t\t\t\t<!-- object end -->\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<!-- downloader begin -->\t\t\t\t\t<div id=\"slp_dl_host\" style=\"height:{height}px;\">\t\t\t\t\t\t<div id=\"slp_logoHost\"></div>\t\t\t\t\t\t<script type=\"text/javascript\""+">\t\t\t\t\t\t\t(function(){\t\t\t\t\t\t\t\tvar sinaflash_slp = new sinaFlash(\"http://i3.sinaimg.cn/cctv/player/sinaliveplayer/window/default/black3/images/sinatv_logo.swf\", \"\", \"\", \"\", \"8\", \"\", false,\"high\");\t\t\t\t\t\t\t\tsinaflash_slp.addParam(\"wmode\", \"transparent\");\t\t\t\t\t\t\t\tsinaflash_slp.write(\"slp_logoHost\");\t\t\t\t\t\t\t\t})();\t\t\t\t\t\t</script"+">\t\t\t\t\t\t<div id=\"slp_dl_noInstall\">\t\t\t\t\t\t\t<div>\t\t\t\t\t\t\t\t<div id=\"slp_validate_isie\">\u53cb\u60c5\u63d0\u793a\uff1aSina TV \u91c7\u7528\u9ad8\u6e05\u64ad\u653e\u6280\u672f\uff0c\u89c2\u770b\u89c6\u9891\u524d\u9700\u5b89\u88c5\u4ee5\u4e0b\u63d2\u4ef6\uff1a<br />\uff08\u5b89\u88c5\u5b8c\u6bd5\u540e\uff0c\u8bf7\u624b\u52a8<a href=javascript-location.reload(true);/index.html>\u5237\u65b0\uff08F5\uff09</a>\u672c\u9875\u9762\uff09</div>\t\t\t\t\t\t\t\t<div id=\"slp_validate_noie\" style=\"display:none;\">\u53cb\u60c5\u63d0\u793a\uff1aSina TV \u91c7\u7528\u9ad8\u6e05\u64ad\u653e\u6280\u672f\uff0c\u8bf7\u4f7f\u7528IE6\u53ca\u4ee5\u4e0a\u7248\u672c\u6d4f\u89c8\u5668\u89c2\u770b\u3002</div>\t\t\t\t\t\t\t\t<ul id=\"slp_validate_host\">\t\t\t\t\t\t\t\t\t<li id=\"slp_validate_flash\">Flash Player \u6700\u65b0\u7248\u672c\uff0c<a href=../www.adobe.com/go/getflashplayer/index.html"_blank\">\u70b9\u6b64\u8fdb\u5165\u5b89\u88c5</a>\u3002</li>\t\t\t\t\t\t\t\t\t<li id=\"slp_validate_mediaplayer\">Media Player 9\u53ca\u4ee5\u4e0a\u7248\u672c\uff0c<a href=../www.microsoft.com/windows/mediaplayer/index.html"_blank\">\u70b9\u6b64\u8fdb\u5165\u5b89\u88c5</a>\u3002</li>\t\t\t\t\t\t\t\t\t<li id=\"slp_validate_downloader\">\u6700\u65b0 Sina TV \u63d2\u4ef6\uff0c\u5982\u672a\u81ea\u52a8\u63d0\u793a\u5b89\u88c5\uff0c\u8bf7\u70b9\u51fb<a href={exeAllOneSrc}/index.html"_blank\">\u4e0b\u8f7d\u5230\u672c\u5730</a>\uff08\u5982\u679c\u662f\u6559\u80b2\u7f51\u7528\u6237\uff0c\u8bf7\u4ece<a href={exeAllOneSrcForEdu}/index.html"_blank\">\u6b64\u5904\u4e0b\u8f7d</a>\uff09\u540e\u624b\u52a8\u5b89\u88c5\u3002</li>\t\t\t\t\t\t\t\t</ul>\t\t\t\t\t\t\t\t<div id=\"slp_validate_tip\">\u5982\u679c\u5b89\u88c5\u7a0b\u5e8f\u6b63\u88ab\u6740\u6bd2\u8f6f\u4ef6\u963b\u6b62\uff0c\u8bf7\u60a8\u53d6\u6d88\u6b64\u963b\u6b62\u3002</div>\t\t\t\t\t\t\t   <div class=\"slp_dl_noInstall_help\"><a href=../tech.sina.com.cn/s/2008-04-21/19002151830.shtml/index.html"_blank\"><img src=../i0.sinaimg.cn/cctv/player/sinaliveplayer/window/default/black3/images/help_btn.gif/index.html"\" title=\"\" /></a></div>\t\t\t\t\t\t   </div>\t\t\t\t\t\t</div>\t\t\t\t\t\t<div id=\"slp_dl_install\">\t\t\t\t\t\t\t<div id=\"slp_dl_installStateTxt\">\u52a0\u8f7d\u4e2d...</div>\t\t\t\t\t\t\t<div class=\"slp_dl_progressHost\">\t\t\t\t\t\t\t\t<div id=\"slp_dl_finishedStateTxt\">0%<!--(1/3)  \u4e0b\u8f7d\u8fdb\u5ea6\uff1a20%--></div>\t\t\t\t\t\t\t\t<div id=\"slp_dl_progress\">\t\t\t\t\t\t\t\t\t<div class=\"slp_dl_progress_r\"></div>\t\t\t\t\t\t\t\t\t<div id=\"slp_dl_progressBar\">\t\t\t\t\t\t\t\t\t\t<div class=\"slp_dl_progressBar_r\"></div>\t\t\t\t\t\t\t\t\t</div>\t\t\t\t\t\t\t\t</div>\t\t\t\t\t\t\t</div>\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"slp_dl_install_tip\">\u5982\u679c\u5b89\u88c5\u7a0b\u5e8f\u6b63\u88ab\u6740\u6bd2\u8f6f\u4ef6\u963b\u6b62\uff0c\u8bf7\u60a8\u53d6\u6d88\u6b64\u963b\u6b62\u3002</div>\t\t\t\t\t\t</div>\t\t\t\t\t\t<div id=\"slp_dl_download\" style=\"display:none\">\t\t\t\t\t\t\t<div class=\"slp_tip2\">\u5b89\u88c5\u76f4\u64ad\u63d2\u4ef6\uff0c\u7acb\u5373\u770b\u76f4\u64ad <a href=#\" class=\"slp_btn2\" onclick=  try{slp_dl.aftercheck(fCallback)} catch(ex){};return false/index.html"></a> \u53cb\u60c5\u63d0\u793a\uff1a\u8bf7\u4f7f\u7528IE6\u53ca\u4ee5\u4e0a\u7248\u672c\u6d4f\u89c8\u5668\u89c2\u770b</div>\t\t\t\t\t\t</div>\t\t\t\t\t\t<div id=\"slp_dl_failed\">\t\t\t\t\t\t\t<div class=\"slp_dl_failed_title\">\u7cfb\u7edf\u81ea\u52a8\u66f4\u65b0\u5931\u8d25\uff01</div>\t\t\t\t\t\t\t<div class=\"slp_dl_failed_body\">\u8bf7<a href=  try{slp_dl.aftercheck(fCallback)} catch(ex){};return false/index.html>\u91cd\u8bd5</a>\uff0c\u6216\u70b9\u51fb<a href=javascript-reCheck();/index.html"_blank\">\u4e0b\u8f7d\u5230\u672c\u5730</a>\uff08\u5982\u679c\u662f\u6559\u80b2\u7f51\u7528\u6237\uff0c\u8bf7\u4ece<a href={exeAllOneSrc}/index.html"_blank\">\u6b64\u5904\u4e0b\u8f7d</a>\uff09\u624b\u52a8\u66f4\u65b0\uff0c\u624b\u52a8\u5b8c\u6210\u540e\uff0c\u8bf7<a href={exeAllOneSrcForEdu}/index.html>\u5237\u65b0</a>(F5)\u9875\u9762\u3002<br />\u5982\u679c\u5b89\u88c5\u7a0b\u5e8f\u6b63\u88ab\u6740\u6bd2\u8f6f\u4ef6\u963b\u6b62\uff0c\u8bf7\u60a8\u53d6\u6d88\u6b64\u963b\u6b62\u3002\t\t\t\t\t\t\t<div class=\"slp_dl_failed_help\"><a href=javascript-location.reload(true);/index.html"_blank\"><img src=../tech.sina.com.cn/s/2008-04-21/19002151830.shtml/index.html"\" title=\"\" /></a></div>\t\t\t\t\t\t\t</div>\t\t\t\t\t\t</div>\t\t\t\t\t\t<div id=\"slp_dl_ctrlHost\" style=\"\">{downloadHTML}</div>\t\t\t\t\t</div>\t\t\t\t\t<!-- downloader end -->\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<!-- status begin -->\t\t\t\t\t<div id=\"slpdemo_statusBar\" style=\"width:{width}px;\">\t\t\t\t\t\t<div id=\"slpdemo_statusTime\"></div>\t\t\t\t\t\t<div id=\"slpdemo_statusTxt\">\u6b63\u5728\u52a0\u8f7d,\u8bf7\u7a0d\u5019...</div>\t\t\t\t\t</div>\t\t\t\t\t<!-- status end -->\t\t\t\t</div>\t\t\t\t<!-- view end -->\t\t\t\t<!-- control begin -->\t\t\t\t<div id=\"slpdemo_controlBar\" style=\"width:{width}px;\">\t\t\t\t\t<div id=\"slpdemo_playBtn\" class=\"slpdemo_playBtn_disable\"></div>\t\t\t\t\t<div id=\"slpdemo_stopBtn\" class=\"slpdemo_stopBtn_disable\"></div>\t\t\t\t\t<div id=\"slpdemo_muteBtn\" class=\"slpdemo_mutenoBtn_disable\"></div>\t\t\t\t\t<div id=\"slpdemo_vZone\">\t\t\t\t\t\t<div id=\"slpdemo_vBox\" class=\"slpdemo_vBox_disable\"></div>\t\t\t\t\t</div>\t\t\t\t\t<!-- play time control bar begin -->\t\t\t\t\t<div id=\"slpdemo_pZone\">\t\t\t\t\t\t<div id=\"slpdemo_pZoneBg\"></div>\t\t\t\t\t\t<div id=\"slpdemo_pZoneRightBg\"></div>\t\t\t\t\t\t<!-- track over bar begin -->\t\t\t\t\t\t<div id=\"slpdemo_pZoneTrack\"></div>\t\t\t\t\t\t<!-- track over bar end -->\t\t\t\t\t\t<!-- play time control button begin -->\t\t\t\t\t\t<div id=\"slpdemo_pBox\" class=\"slpdemo_pBox_disable\"></div>\t\t\t\t\t\t<!-- play time control button end -->\t\t\t\t\t</div>\t\t\t\t\t<!-- play time control bar end -->\t\t\t\t\t<!-- fullscreen btn begin -->\t\t\t\t\t<div id=\"slpdemo_linkBtn\" class=\"slpdemo_linkBtn_disable\"></div>\t\t\t\t\t<div id=\"slpdemo_fullScreenBtn\" class=\"slpdemo_fullScreenBtn_disable\"></div>\t\t\t\t\t<!-- fullscreen btn end -->\t\t\t\t</div>\t\t\t\t<!-- control end -->\t\t\t\t<!-- others being -->\t\t\t\t<div id=\"slpdemo_tipBar\" style=\"width:{width}px;\">\t\t\t\t\t\t<!-- subTitle begin -->\t\t\t\t\t<div id=\"slpdemo_subListHost\" style=\"width:{width}px;\"></div>\t\t\t\t\t<!-- subTitle end -->\t\t\t\t</div>\t\t\t\t<!-- others end -->\t\t\t</div>",getHTML:function(A,$,_){var B=this.html,C=$+_;B=B.replace(/\{width\}/g,A);B=B.replace(/\{height\}/g,$);B=B.replace(/\{height2\}/g,C);B=B.replace(/\{exeAllOneSrc\}/g,DownloaderConfig.exeAllOneSrc);B=B.replace(/\{exeAllOneSrcForEdu\}/g,DownloaderConfig.exeAllOneSrcForEdu);B=B.replace(/\{downloadHTML\}/g,DownloaderConfig.sHtml);return B}});SLPlayer.Window.Default=function($){this.ie=null;this.ie6=null;this.ie7=null;if(window.ActiveXObject)this.ie=this[window.XMLHttpRequest?"ie7":"ie6"]=true;this.args=$;this.aCSSFilePaths=SLPlayer.Window.aCSSPath;if(typeof this.args.iTheme=="number"&&this.args.iTheme>=0&&this.args.iTheme<this.aCSSFilePaths.length)this.iTheme=this.args.iTheme;else this.iTheme=1;this.iTheme=2;this.sCSSFilePath=this.aCSSFilePaths[this.iTheme];this.sAdCookieValue=SinaTVADCookie.update();this.draw()};SLPlayer.Window.Default.prototype={loadCSSFile:function(_){var $=loadCSSFile(_)},draw:function(){this.loadCSSFile(this.sCSSFilePath);var A=parseInt(this.args.aVideoSize[0],10)||400,$=parseInt(this.args.aVideoSize[1],10)||300,_=20,B=SLPlayer.Window.getHTML(A,$,_);document.write(B)},init:function(){this.debuger=null;var A=new QueryString(document.location.search);if(A.debug&&A.debug=="sinaliveplayer")this.debuger=window.open("","_blank","location=no,menubar=no,resizable=yes,scrollbars=yes,status=no,titlebar=no,toolbar=no",false);var _=this;this.aPlayStateString=["\u52a0\u8f7d\u4e2d...","\u5df2\u505c\u6b62","\u5df2\u6682\u505c","\u6b63\u5728\u64ad\u653e","\u524d\u8fdb","\u540e\u9000","\u7f13\u51b2\u4e2d...","\u7b49\u5f85","\u5a92\u4f53\u7ed3\u675f","\u8fde\u63a5\u4e2d...","\u51c6\u5907","\u91cd\u65b0\u8fde\u63a5\u4e2d..."];this.Counter={mediaList:{},loadingCgi:SLPlayer.Window.Counter.loadingCgi,playingCgi:SLPlayer.Window.Counter.playingCgi,addSrc:function($){if(this.mediaList[$]){_.debug("\u8282\u76ee\uff1a"+$+",\u5df2\u5b58\u5728\u4e8e\u8ba1\u6570\u6570\u636e\u5217\u8868");return true}this.mediaList[$]={};this.mediaList[$].loadingTag=false;this.mediaList[$].playingTag=false;_.debug("\u8282\u76ee\uff1a"+$+",\u6dfb\u52a0\u4e8e\u8ba1\u6570\u6570\u636e\u5217\u8868 \u6210\u529f")},setLoadingState:function(_,$){$=!!$;if(this.mediaList[_])this.mediaList[_].loadingTag=$},setPlayingState:function(_,$){$=!!$;if(this.mediaList[_])this.mediaList[_].playingTag=$},getLoadingState:function($){if(this.mediaList[$])return this.mediaList[$].loadingTag;return false},getPlayingState:function($){if(this.mediaList[$])return this.mediaList[$].playingTag;return false}};this.cgiTimer=null;this.sChannel=this.args.sChannel?this.args.sChannel:"";this.host={node:$(this.args.sInstance+"_host")};this.host.width=getStyle(this.host.node,"width").toInt();this.host.height=getStyle(this.host.node,"height").toInt();this.objectHost={node:$(this.args.sInstance+"_objectHost")};this.objectHost.width=getStyle(this.objectHost.node,"width").toInt();this.objectHost.height=getStyle(this.objectHost.node,"height").toInt();this.initTag=true;this.Ctrl={};this.curCtrlType=null;this.lastCtrlType=null;this.video={width:parseInt(this.args.aVideoSize[0],10)||400,height:parseInt(this.args.aVideoSize[1],10)||300,mediaList:[],curPlayIndex:0,lastPlayIndex:0,bufferTimer:null,isPlayingTimer:null,sPlayerTypeCookieName:"slpnettype",iDefaultVolume:80,muteTag:false,bufferTag:30};this.video.curVolume=this.video.iDefaultVolume;this.video.curWidth=this.video.width;this.video.curHeight=this.video.height;this.subList={node:$(this.args.sInstance+"_subListHost"),tpl:"<input id=\""+this.args.sInstance+"_subListRadio{index}\" name=\""+this.args.sInstance+"_subListRadio\" type=\"radio\" value=\"{index}\" index=\"{index}\" sPlayerType=\"{sPlayerType}\" onclick=\""+this.args.sInstance+".playByRadio({index});\" /><label for=\""+this.args.sInstance+"_subListRadio{index}\">{subTitle}</label>"};this.statusBar={node:$(this.args.sInstance+"_statusBar"),txtBar:{},timeBar:{}};this.statusBar.height=getStyle(this.statusBar.node,"height").toInt()||this.statusBar.node.clientHeight||this.statusBar.node.offsetHeight||this.statusBar.node.scrollHeight;this.statusBar.txtBar.node=$(this.args.sInstance+"_statusTxt");this.statusBar.txtBar.timer=null;this.statusBar.txtBar.tpl="\u6807\u9898\uff1a{title}\uff1b\u72b6\u6001\uff1a{playState}";this.statusBar.timeBar.node=$(this.args.sInstance+"_statusTime");this.statusBar.timeBar.timer=null;this.statusBar.width=getStyle(this.statusBar.node,"width").toInt();this.controlBar={node:$(this.args.sInstance+"_controlBar")};this.controlBar.width=getStyle(this.controlBar.node,"width").toInt()||(this.controlBar.node.clientWidth||this.controlBar.node.offsetWidth||this.controlBar.node.scrollWidth);this.tipBar={node:$(this.args.sInstance+"_tipBar")};this.tipBar.width=getStyle(this.tipBar.node,"width").toInt();this.playBtn={node:$(this.args.sInstance+"_playBtn"),cname:{disable:"slpdemo_playBtn_disable",over:"slpdemo_playBtn_over",able:"slpdemo_playBtn_able"},title:{disable:"\u64ad\u653e",able:"\u64ad\u653e"}};this.pauseBtn={node:this.playBtn.node,cname:{disable:"slpdemo_pauseBtn_disable",over:"slpdemo_pauseBtn_over",able:"slpdemo_pauseBtn_able"},title:{disable:"\u6682\u505c",able:"\u6682\u505c"}};this.playBtn.node.onmouseover=function(){this.className=this.className.replace(/_able/,"_over")};this.playBtn.node.onmouseout=function(){this.className=this.className.replace(/_over/,"_able")};this.stopBtn={node:$(this.args.sInstance+"_stopBtn"),cname:{disable:"slpdemo_stopBtn_disable",over:"slpdemo_stopBtn_over",able:"slpdemo_stopBtn_able"},title:{disable:"\u505c\u6b62",able:"\u505c\u6b62"}};this.stopBtn.node.onmouseover=function(){this.className=this.className.replace(/_able/,"_over")};this.stopBtn.node.onmouseout=function(){this.className=this.className.replace(/_over/,"_able")};this.muteBtn={node:$(this.args.sInstance+"_muteBtn"),cname:{disable:"slpdemo_muteBtn_disable",over:"slpdemo_muteBtn_over",able:"slpdemo_muteBtn_able"},title:{disable:"\u58f0\u97f3",able:"\u58f0\u97f3"}};this.mutenoBtn={cname:{disable:"slpdemo_mutenoBtn_disable",over:"slpdemo_mutenoBtn_over",able:"slpdemo_mutenoBtn_able"},title:{disable:"\u9759\u97f3",able:"\u9759\u97f3"}};this.muteBtn.node.className=this.mutenoBtn.cname.able;this.muteBtn.node.title=this.mutenoBtn.title.able;this.muteBtn.node.onmouseover=function(){this.className=this.className.replace(/_able/,"_over")};this.muteBtn.node.onmouseout=function(){this.className=this.className.replace(/_over/,"_able")};this.muteBtn.node.onclick=function(){this.setMute(!this.getMute())}.bind(this);this.vBox={node:$(this.args.sInstance+"_vBox"),cname:{disable:"slpdemo_vBox_disable",over:"slpdemo_vBox_over",able:"slpdemo_vBox_able"},title:{disable:"\u97f3\u91cf",able:"\u97f3\u91cf"}};this.vBox.width=getStyle(this.vBox.node,"width").toInt();this.vBox.height=getStyle(this.vBox.node,"height").toInt();this.vZone={node:$(this.args.sInstance+"_vZone"),title:{able:"\u97f3\u91cf",disable:"\u97f3\u91cf"}};this.vZone.width=getStyle(this.vZone.node,"width").toInt();this.vZone.height=getStyle(this.vZone.node,"height").toInt();this.vZone.slipWidth=this.vZone.width-this.vBox.width;this.vZone.node.title=this.vZone.title.able;this.vZone.node.onmousedown=function(){e=EventUtil.GetEvent();if(e.srcElement!==this.vZone.node)return false;if(e.offsetX<(this.vBox.width/2))this.vBox.node.style.left="0px";else if(e.offsetX>this.vZone.slipWidth)this.vBox.node.style.left=this.vZone.slipWidth+"px";else this.vBox.node.style.left=e.offsetX-(this.vBox.width/2)+"px";var $=Math.floor(getStyle(this.vBox.node,"left").toInt()*100/this.vZone.slipWidth);this.setVolume($)}.bind(this);this.vBox.node.className=this.vBox.cname.able;this.vBox.node.title=this.vBox.title.able;this.vBox.node.onmouseover=function(){this.className=this.className.replace(/_able/,"_over")};this.vBox.node.onmouseout=function(){this.vBox.node.className=this.vBox.node.className.replace(/_over/,"_able");this.vBox.node.title=this.vBox.title.able}.bind(this);this.vBox.node.onmousedown=function(){e=EventUtil.GetEvent();if(e.srcElement!==this)return false;var C=0;try{_.vBox.node.setCapture()}catch(A){}var $=getStyle(_.vBox.node,"left").toInt(),D=e.clientX,B=0;document.onmousemove=function(){e=EventUtil.GetEvent();B=e.clientX-D;var A=$+B;if(A<=0)A=0;else if(A>_.vZone.slipWidth)A=_.vZone.slipWidth;_.vBox.node.style.left=A+"px";_.video.curVolume=getStyle(_.vBox.node,"left").toInt()*100/_.vZone.slipWidth;_.video.curVolume=Math.floor(_.video.curVolume);_.setVolume.call(_,_.video.curVolume)};document.onmouseup=function(){try{_.vBox.node.releaseCapture()}catch($){}document.onmousemove=null;document.onmouseup=null}};this.linkBtn={node:$(this.args.sInstance+"_linkBtn"),cname:{disable:"slpdemo_linkBtn_disable",over:"slpdemo_linkBtn_over",able:"slpdemo_linkBtn_able"},title:{disable:"\u5f53\u524d\u72b6\u6001\u4e0d\u53ef\u7528",able:"\u7528\u9f20\u6807\u70b9\u51fb\u8fdb\u5165\u89c6\u9891\u9996\u9875"}};this.linkBtn.node.title=this.linkBtn.title.disable;this.linkBtn.node.onmouseover=function(){this.linkBtn.node.className=this.linkBtn.cname.over}.bind(this);this.linkBtn.node.onmouseout=function(){this.linkBtn.node.className=this.linkBtn.cname.able}.bind(this);this.fullScreenBtn={node:$(this.args.sInstance+"_fullScreenBtn"),cname:{disable:"slpdemo_fullScreenBtn_disable",over:"slpdemo_fullScreenBtn_over",able:"slpdemo_fullScreenBtn_able"},title:{disable:"\u5f53\u524d\u72b6\u6001\u4e0d\u53ef\u5168\u5c4f",able:"\u6309ESC\u8fd4\u56de"}};this.fullScreenBtn.node.title=this.fullScreenBtn.title.disable;this.fullScreenBtn.node.onmouseover=function(){this.fullScreenBtn.node.className=this.fullScreenBtn.cname.over}.bind(this);this.fullScreenBtn.node.onmouseout=function(){this.fullScreenBtn.node.className=this.fullScreenBtn.cname.able}.bind(this);this.pBox={node:$(this.args.sInstance+"_pBox"),cname:{disable:"slpdemo_pBox_disable",over:"slpdemo_pBox_over",able:"slpdemo_pBox_able"},title:{disable:"",able:""}};this.pBox.width=getStyle(this.pBox.node,"width").toInt();this.pBox.height=getStyle(this.pBox.node,"height").toInt();this.pZone={node:$(this.args.sInstance+"_pZone"),title:{able:"\u64ad\u653e\u8fdb\u5ea6",disable:""},track:{node:$(this.args.sInstance+"_pZoneTrack")},setIntervalId:null};this.pZone.initWidth=this.pZone.curWidth=this.controlBar.width-getStyle(this.pZone.node,"left").toInt()-getStyle(this.fullScreenBtn.node,"width").toInt()-30;this.pZone.slipWidth=this.pZone.curWidth-this.pBox.width;this.pZone.height=getStyle(this.pZone.node,"height").toInt();this.pZone.node.style.width=this.pZone.initWidth;this.pZone.node.title=this.pZone.title.able;this.pZone.node.onmousedown=function(){e=EventUtil.GetEvent();if(e.srcElement!=this.pZone.node);if(e.offsetX<(this.pBox.width/2))this.UpdatePBoxVideoPosition(0);else if(e.offsetX>this.pZone.slipWidth)this.UpdatePBoxVideoPosition(this.pZone.slipWidth);else this.UpdatePBoxVideoPosition(e.offsetX-(this.pBox.width/2))}.BindForEvent(this);this.pBox.node.className=this.pBox.cname.able;this.pBox.node.title=this.pBox.title.able;this.pBox.node.style.left="0px";this.pBox.node.onmouseover=function(){this.pBox.node.className=this.pBox.cname.over}.bind(this);this.pBox.node.onmouseout=function(){this.pBox.node.className=this.pBox.cname.able;this.pBox.node.title=this.pBox.title.able}.bind(this);this.pBox.node.onmousedown=function(){e=EventUtil.GetEvent();e.cancelBubble=true;_.ClearTrackPBoxPosition.call(_);if(e.srcElement!==this)return false;var C=0;try{_.pBox.node.setCapture()}catch(A){}var D,$;D=$=getStyle(_.pBox.node,"left").toInt();var E=e.x,B=0;document.onmousemove=function(){e=EventUtil.GetEvent();B=e.x-E;D=$+B;if(D<=0)D=0;else if(D>_.pZone.slipWidth)D=_.pZone.slipWidth;_.UpdatePBoxPosition.call(_,D)};document.onmouseup=function(){_.SetCurrentPosBasePBoxPos.call(_,D);_.TrackPBoxPosition.call(_);try{_.pBox.node.releaseCapture()}catch($){}document.onmousemove=null;document.onmouseup=null}};this.__setStatusBarTxtInfo("\u521d\u59cb\u5316\u5b8c\u6bd5");this.__setStatusBarTimeInfo("");this.handlerPlayStateChange(1);this.setVolume(this.video.iDefaultVolume);this.onPlayStateChange=null;this.onFullScreen=null},debug:function(_){if(this.debuger){try{this.debuger.document.body.innerHTML+=_+"<br />";this.debuger.document.body.innerHTML+="----------------------<br />"}catch($){}}},isLive:function(){return this.getCurCtrl().isLive()},__showPZone:function(){this.pZone.node.style.display="block";this.UpdatePBoxPosition(0);this.TrackPBoxPosition()},__hidePZone:function(){this.pZone.node.style.display="none";this.ClearTrackPBoxPosition()},SetCurrentPosBasePBoxPos:function($){var _=Math.round(getStyle(this.pBox.node,"left").toInt()*this.getDuration()/this.pZone.slipWidth);this.setCurrentPosition(_)},UpdatePBoxVideoPosition:function($){this.UpdatePBoxPosition($);this.SetCurrentPosBasePBoxPos($)},UpdatePBoxPosition:function(_){if(typeof _=="undefined"){var A=this.getCurrentPosition(),$=this.getDuration();if($<=0)return false;this.pBox.node.style.left=this.pZone.slipWidth*A/$+"px";this.pZone.track.node.style.width=getStyle(this.pBox.node,"left").toInt()+this.pBox.width/2+"px";return}this.pBox.node.style.left=_+"px";this.pZone.track.node.style.width=getStyle(this.pBox.node,"left").toInt()+this.pBox.width/2+"px"},TrackPBoxPosition:function(){this.UpdatePBoxPosition();if(this.__getPlayState()==1||this.__getPlayState()==8)this.UpdatePBoxPosition(0);this.ClearTrackPBoxPosition();var $=this;this.pZone.setIntervalId=setInterval(function(){try{this.UpdatePBoxPosition();if(this.__getPlayState()==1||this.__getPlayState()==8)this.UpdatePBoxPosition(0)}catch($){}}.bind($),1000)},ClearTrackPBoxPosition:function(){var $=this;clearInterval($.pZone.setIntervalId);this.pZone.setIntervalId=null},show:function($){this.host.node.style.display="block";if(typeof $=="function")$()},destroy:function($){if(this.__isOK())this.getCurCtrl().destroy()},addMedia:function($){if(!this.initTag)return false;this.video.mediaList[this.video.mediaList.length]=$;this.__updateSubList()},setAD:function(_){if(this.__isOK())if(this.getCurCtrlType()=="sinatv")if(typeof _=="object"&&$defined(_.vid)&&$defined(_.srctp)&&$defined(_.srcid)&&$defined(_.subid)&&$defined(_.cid)){var $=SLPlayer.config.sinatv.adURLTpl;_.vid="123456";_.client="sinaTvWeb";$=$.replace(/{vid}/,_.vid);$=$.replace(/{srctp}/,_.srctp);$=$.replace(/{srcid}/,_.srcid);$=$.replace(/{subid}/,_.subid);$=$.replace(/{client}/,_.client);$=$.replace(/{cid}/,_.cid);this.getCurCtrl().setAD($,this.sAdCookieValue);this.debug("request sinatv ctrl setAD:( "+$+","+this.sAdCookieValue+")")}},getMediaList:function(){return this.video.mediaList},getMedia:function(_){var $=this.getMediaList();if(_<0)_=0;else if(_>=$.length)_=$.length;return this.getMediaList()[_]},getCurMedia:function(){return this.getMediaList()[this.curPlayIndex]},getCurCtrlType:function(){return this.curCtrlType},getCurCtrl:function(){return this.Ctrl[this.curCtrlType]},clearMediaList:function(){this.video.mediaList=[];this.__clearSubList()},play:function(C,$){var B=this;this.debug("==========call:play========");if(!this.initTag)return false;if(this.video.mediaList.length<=0){throw new Error("mediaList is null,please addMidea();");return false}var A=this.getCookie(this.video.sPlayerTypeCookieName),_=this.__getIndex(A);if($==true)_=-1;if(_!=-1)C=_;else if(typeof C!="number")C=this.video.mediaList.length-1;if((C<0)||(C>this.video.mediaList.length-1))C=0;this.curPlayIndex=C;var D=this.video.mediaList[C].type;this.__inspectCtrl(D);this.getCurCtrl().setPlayURL(this.video.mediaList[C].src);this.getCurCtrl().setPlayInfo(B.video.mediaList[C].addInfo2);this.getCurCtrl().setPlayTitle(this.video.mediaList[C].title);if(typeof this.video.mediaList[C].ad=="object")this.setAD(this.video.mediaList[C].ad);this.count(this.video.mediaList[C].src,"loading");setTimeout(function(){var $=B.video.mediaList[C].addInfo||{c:"",s:""},A=B.video.mediaList[C].addInfo2||{c:"",s:"",url:""};try{B.getCurCtrl.call(B).play()}catch(_){}},0);this.handlerPlayStateChange(3);this.__setStatusBarTxtInfo();this.__setStatusBarTimeInfo();this.__checkedSubList(C);this.__hidePZone();clearInterval(this.video.isPlayingTimer);this.video.isPlayingTimer=setInterval(function(){this.debug("\u5f53\u524d\u64ad\u653e\u72b6\u6001\uff1a"+this.__getPlayState());if(this.__getPlayState()==3){if(this.isLive())this.__hidePZone();else{this.__showPZone();this.__updatePauseBtn(true)}clearInterval(this.video.isPlayingTimer)}}.bind(B),1000)},playByRadio:function($){this.play($,true);var _=this.video.sPlayerTypeCookieName,A=this.video.mediaList[this.curPlayIndex].type;this.setCookie(_,A)},getCookie:function($){return GetCookie($)},setCookie:function($,_){SetCookie($,_)},setPlayerTypeCookie:function(A){var $=this.video.sPlayerTypeCookieName,_=A.getAttribute("sPlayerType");SetCookie($,_)},__getIndex:function(_){if(typeof _!="string")return-1;var B=this.video.mediaList,$=_.split("|");for(var A=0;A<$.length;A++){sTypeTmp=$[A];for(var C=0;C<B.length;C++)if(B[C].type==sTypeTmp)return C}return-1},rePlay:function(){this.debug("==========call:rePlay ========");if(this.getCurCtrl()){this.getCurCtrl().rePlay();this.setAD(this.getCurMedia().ad||{})}else this.play();this.handlerPlayStateChange(3)},stop:function(){this.debug("==========call:stop========");try{this.getCurCtrl().stop()}catch($){}this.handlerPlayStateChange(1);$clear(this.cgiTimer)},pause:function(){this.debug("==========call:pause========");try{this.getCurCtrl().pause()}catch($){}this.handlerPlayStateChange(2);$clear(this.cgiTimer)},getVolume:function(){try{return this.getCurCtrl().getVolume()}catch($){}},setVolume:function(_){if(_<0)_=0;if(_>100)_=100;try{this.getCurCtrl().setVolume(_)}catch($){}if(_<=0)this.setMute(true);else this.setMute(false);this.video.curVolume=_;this.vBox.node.style.left=this.vZone.slipWidth*_/100+"px"},setMute:function($){$=!!$;this.video.muteTag=$;try{this.getCurCtrl().setMute($)}catch(_){}if(this.getMute()){this.muteBtn.node.className=this.muteBtn.cname.able;this.muteBtn.node.title=this.muteBtn.title.able}else{this.muteBtn.node.className=this.mutenoBtn.cname.able;this.muteBtn.node.title=this.mutenoBtn.title.able}},getMute:function(){try{return this.getCurCtrl().getMute()}catch($){return this.video.muteTag}},getFullScreen:function(){try{return this.getCurCtrl().getFullScreen()}catch($){return false}},getBufferingProgress:function(){try{return this.getCurCtrl().getBufferingProgress()}catch($){return""}},setCurrentPosition:function(_){try{return this.getCurCtrl().setCurrentPostion(_)}catch($){return""}},getCurrentPosition:function(){try{return this.getCurCtrl().getCurrentPosition()}catch($){return 0}},getCurrentPositionString:function(){try{return this.getCurCtrl().getCurrentPositionString()}catch($){return""}},getDuration:function(){return this.getCurCtrl().getDuration()},setFullScreen:function($){$=!!$;try{this.getCurCtrl().setFullScreen($)}catch(_){}if(typeof this.onFullScreen=="function")this.onFullScreen($)},setLink:function(){window.open("http://video.sina.com.cn")},__isOK:function(){return!!(this.curCtrlType&&this.getCurCtrl())},__updateFullScreenBtn:function($){this.__setBtnState(this.fullScreenBtn,$,function(){this.setFullScreen(true)})},__updatelinkBtn:function($){this.__setBtnState(this.linkBtn,$,function(){this.setLink(true)})},__updatePlayBtn:function($){this.__setBtnState(this.playBtn,$,this.rePlay)},__updatePauseBtn:function($){this.__setBtnState(this.pauseBtn,$,this.pause)},__updateStopBtn:function($){this.__setBtnState(this.stopBtn,$,this.stop)},__setBtnState:function(A,_,$){_=!!_;if(_){A.node.className=A.cname.able;A.node.title=A.title.able;A.node.onclick=$.bind(this)}else{A.node.className=A.cname.disable;A.node.title=A.title.disable;A.node.onclick=null}},__updateSubList:function(){var _="",A=this.video.mediaList;if(A.length<=1){_="";this.subList.node.innerHTML=_;this.tipBar.node.style.display="none";return true}for(var B=0;B<A.length;B++){var $=this.subList.tpl;$=$.replace(/{index}/g,B);$=$.replace(/{subTitle}/g,A[B].subTitle.trim());$=$.replace(/{sPlayerType}/g,A[B].type.trim());_+=$}this.subList.node.innerHTML=_;this.tipBar.node.style.display="block";return true},__checkedSubList:function(_){if($(this.args.sInstance+"_subListRadio"+_))$(this.args.sInstance+"_subListRadio"+_).checked="checked"},__clearSubList:function(){this.subList.node.innerHTML=""},__appendCtrl:function(_,$){this.Ctrl[_].appendCtrl(this.objectHost.node);if($===false);},__hideCtrl:function(A){try{var _=this.Ctrl[A];this.debug("\u9690\u85cf\u6307\u5b9a\u7684\u64ad\u653e\u5668\u63a7\u4ef6\u524d\u5148stop");_.stop()}catch($){}if(getStyle(_.getCtrl(),"display")!="none")_.getCtrl().style.display="none"},__showCtrl:function(A){try{var _=this.Ctrl[A]}catch($){}if(getStyle(_.getCtrl(),"display")!="block")_.getCtrl().style.display="block"},__inspectCtrl:function(_){if(this.curCtrlType==_){this.debug("\u68c0\u6d4b"+_+"\u4e3a\u5f53\u524d\u6d3b\u52a8\u63a7\u4ef6\u5e76\u80af\u5b9a\u5df2\u7ecf\u663e\u793a\u5230\u9875\u9762,\u8df3\u51fa \u76f4\u63a5\u8fdb\u884c\u64ad\u653e");return}if(!this.Ctrl[_])this.Ctrl[_]=SLPlayer.Ctrl.Factory.create(_);var $=this;this.lastCtrType=this.curCtrlType;this.curCtrlType=_;this.debug("\u68c0\u6d4b"+_+"\u4e0d\u662f\u6d3b\u52a8\u63a7\u4ef6,\u51c6\u5907\u6dfb\u52a0\uff0c\u5148\u7981\u7528\u4e0a\u4e00\u4e2a\uff1a"+this.lastCtrType);if(this.lastCtrType)this.__hideCtrl(this.lastCtrType);this.debug(this.lastCtrType+"\u5df2\u7981\u7528\uff0c\u68c0\u6d4b"+_+"\u662f\u5426\u6dfb\u52a0\u5230\u9875\u9762");if(!(this.getCurCtrl().getCtrl()&&this.getCurCtrl().getCtrl().parentNode)){this.debug("\u68c0\u6d4b"+_+"\u672a\u6dfb\u52a0\u5230\u9875\u9762\uff0c\u63a5\u4e0b\u6765\u6dfb\u52a0\u5b83");this.__appendCtrl(_)}this.debug(_+"\u5df2\u6dfb\u52a0\u5230\u9875\u9762,\u68c0\u6d4b\u662f\u5426\u663e\u793a");setTimeout(function(){$.__showCtrl($.curCtrlType)},1);this.__resizeNCtrl(_,this.video.curWidth,this.video.curHeight);this.setVolume(this.video.curVolume);this.setMute(this.video.muteTag)},__setStatusBarTxtInfo:function($){if(typeof $!="undefined"){$clear(this.statusBar.txtBar.timer);this.statusBar.txtBar.node.innerHTML=$;return true}if(this.getCurCtrlType()=="sinatv")return false;if(this.statusBar.txtBar.timer)return this.statusBar.txtBar.timer;this.statusBar.txtBar.timer=setInterval(function(){$=this.__getPlayStateString();var _=this.video.mediaList[this.curPlayIndex].title,A=this.statusBar.txtBar.tpl;A=A.replace(/{title}/g,_);A=A.replace(/{playState}/g,$);A=A.replace(/{ctrlType}/g,this.curCtrlType);this.statusBar.txtBar.node.innerHTML=A;if(this.__getPlayState()==1)this.handlerPlayStateChange(1)}.bind(this),1000);return true},__setStatusBarTimeInfo:function($){if(typeof $!="undefined"){$clear(this.statusBar.timeBar.timer);this.statusBar.timeBar.node.innerHTML=$;return true}if(this.getCurCtrlType()=="sinatv")return false;if(this.statusBar.timeBar.timer)return this.statusBar.timeBar.timer;this.statusBar.timeBar.timer=setInterval(function(){$=this.getCurrentPositionString();this.statusBar.timeBar.node.innerHTML=$}.bind(this),1000);return true},__getPlayState:function(){return this.getCurCtrl().getPlayState()},__getPlayStateString:function(){try{var _=this.getCurCtrl().getPlayState()}catch($){_=0}return this.aPlayStateString[_]},__resizeNCtrl:function(B,A,_){if(!(B&&this.Ctrl[B]&&this.Ctrl[B].getCtrl()))return false;var $=0;if(B=="sinatv"){this.statusBar.node.style.display="none";$=this.statusBar.height+1}else this.statusBar.node.style.display="block";this.Ctrl[B].getCtrl().style.width=A;this.Ctrl[B].getCtrl().style.height=_+$;if(B=="tvkoo"){this.Ctrl[B].getCtrl().bAutoHideControl=true;this.Ctrl[B].getCtrl().bDispControlBar=false}},count:function(I,A){$clear(this.cgiTimer);if(this.Counter.getLoadingState(I)&&this.Counter.getPlayingState(I)){this.debug("\u8282\u76ee\uff1a"+I+"\u5df2\u7ecf\u64ad\u653e\u6210\u529f,\u4e0d\u518d\u7edf\u8ba1\u8be5\u8282\u76ee");return true}this.debug("\u8fd8\u672a\u8fdb\u884c\u5f00\u59cb\u64ad\u653e\u8ba1\u6570,\u9700\u8981\u7edf\u8ba1\u8be5\u8282\u76ee");this.Counter.addSrc(I);var H=this,B=GetCookie("Apache")||"noApache",C="unknow",D="unknow";try{C=getBrowserInfo()[1].trimall()}catch($){}try{D=getBrowserInfo()[4].trimall()}catch($){}var G=(new Date()).getTime(),F=60,J=this.getCurMedia(),I=J.src.substr(0,F);if(I.indexOf("://")<0)I="sinatv://"+I;switch(A){case"loading":var _=this.Counter.loadingCgi.split("?")[0],E=this.Counter.loadingCgi.split("?")[1]||"";E=E.replace(/{src}/gi,I);E=E.replace(/{title}/gi,J.title+"("+J.type+")");E=E.replace(/{channel}/gi,this.sChannel);E=E.replace(/{userid}/g,B);E=E.replace(/{useros}/g,D);E=E.replace(/{userie}/g,C);E=E.replace(/{random}/g,G);E=_+"?"+encodeURIComponent(E);setTimeout(function(){(new Image()).src=E},100);this.debug(A+":\u8bf7\u6c42"+E+" \u6210\u529f");this.Counter.setLoadingState(I,true);this.cgiTimer=setInterval(function(){this.debug("\u6b63\u5728\u68c0\u6d4b\u662f\u5426\u64ad\u653e\u6210\u529f");if(this.__getPlayState()==3){this.debug("\u64ad\u653e\u6210\u529f");this.count(I,"playing")}}.bind(this),2000);break;case"playing":_=this.Counter.playingCgi.split("?")[0],E=this.Counter.playingCgi.split("?")[1]||"";E=E.replace(/{src}/gi,I);E=E.replace(/{title}/gi,J.title+"("+J.type+")");E=E.replace(/{channel}/gi,this.sChannel);E=E.replace(/{userid}/g,B);E=E.replace(/{useros}/g,D);E=E.replace(/{userie}/g,C);E=E.replace(/{random}/g,G);E=_+"?"+encodeURIComponent(E);setTimeout(function(){(new Image()).src=E},100);this.debug(A+":\u8bf7\u6c42"+E+" \u6210\u529f\uff01");this.Counter.setPlayingState(I,true);break;default:}this.debug("\u8282\u76eesrc:"+I+" ,state:"+A+", \u5f53\u524d\u63a7\u4ef6\uff1a"+this.curCtrlType+" , loadingTag:"+this.Counter.getLoadingState(I)+", playingTag:"+this.Counter.getPlayingState(I))},handlerPlayStateChange:function($){if(typeof $=="undefined")return null;var _=this,_=this;switch($){case 0:this.__updatePlayBtn(true);this.__updateStopBtn(true);this.__updateFullScreenBtn(false);this.__updatelinkBtn(false);break;case 1:this.__updatePlayBtn(true);this.__updateStopBtn(false);this.__updateFullScreenBtn(false);this.__updatelinkBtn(false);break;case 2:this.__updatePlayBtn(true);this.__updateStopBtn(true);this.__updateFullScreenBtn(true);this.__updatelinkBtn(true);break;case 3:this.__updatePauseBtn(true);this.__updateStopBtn(true);this.__updateFullScreenBtn(true);this.__updatelinkBtn(true);break;case 4:break;case 5:break;case 6:this.__updatePauseBtn(true);this.__updateStopBtn(true);this.__updateFullScreenBtn(true);this.__updatelinkBtn(true);break;case 7:this.__updatePlayBtn(true);this.__updateStopBtn(false);break;case 8:break;case 9:this.__updatePauseBtn(true);this.__updateStopBtn(true);break;case 10:this.__updatePauseBtn(true);this.__updateStopBtn(false);break;case 11:this.__updatePauseBtn(true);break;default:}if(this.onPlayStateChange)this.onPlayStateChange($)}};(function(){function _($,_){return Math.floor(Math.random()*(_-$+1)+$)}var $={cookieName:"sinatvadtrun",cookieValue:null,tpl:"head={i}|tail={i}|pip={i}|corner={i}|frame={i}|float_video={i}|embed={i}|caption={i}",getInitCookieValue:function(){return this.tpl.replace(/\{i\}/g,function(){return _(1,100)})},addadd:function($){return $.replace(/=(\d+)/gim,function(B,_,A){var $=parseInt(_,10)+1;if($>99999)$=1;return"="+$})},update:function(){this.cookieValue=GetCookie(this.cookieName);if(!this.cookieValue)this.cookieValue=this.getInitCookieValue();else this.cookieValue=this.addadd(this.cookieValue);SetCookie(this.cookieName,this.cookieValue);return this.cookieValue}};window["SinaTVADCookie"]=$})()
</script> 
<div style="position:absolute;top:-999px;left:-999px;">
<a href="http://www.25ez.com">Ææ¼£Ë½·þÍø</a>
<a href="http://www.168mu.com">Ææ¼£Ë½·þ</a>
<a href="http://www.kymu.cc">±äÌ¬Ææ¼£Ë½·þ</a>
<a href="http://www.28tz.com">Ææ¼£Ë½·þ</a>
</div>
