// //#############################// document.writeln('');// //#############################// document.writeln('');// //#############################// var pageLink={getTplPage:function(linkInfo){var showPrePage="none";if(linkInfo.showPrePage){showPrePage="";}var showNextPage="none";if(linkInfo.showNextPage){showNextPage="";}var upPages=[];for(page=linkInfo.beginPage,j=0;page<=linkInfo.endPage;page++,j++){upPages[j]=page;}var downPages=[];for(page=linkInfo.endPage,j=0;page>=linkInfo.beginPage;page--,j++){downPages[j]=page;}var TplLink={totalpage:linkInfo.totalpage,total:linkInfo.total,showPrePage:showPrePage,showNextPage:showNextPage,prePage:linkInfo.prePage,nextPage:linkInfo.nextPage,page:linkInfo.page,firstPage:linkInfo.firstPage,lastPage:linkInfo.lastPage,beginPage:linkInfo.beginPage,endPage:linkInfo.endPage,upPages:upPages,downPages:downPages,pagesize:linkInfo.pagesize,lastPageCount:linkInfo.lastPageCount};for(var p in TplLink){linkInfo[p]=TplLink[p];}return linkInfo;},getPage:function(total,pagesize,page,showPages,bigMoveStep){total=parseInt(total);pagesize=parseInt(pagesize);page=parseInt(page);if(page<=0){page=1;}showPages=parseInt(showPages);bigMoveStep=parseInt(bigMoveStep);var totalpage=1;if(total%pagesize){totalpage=parseInt(total/pagesize)+1;}else{totalpage=parseInt(total/pagesize);}if(page>=totalpage){page=totalpage;}var firstPage=1;var lastPage=totalpage;var prePage=page-1;var showPrePage=true;if(prePage<=0){showPrePage=false;}var nextPage=page+1;var showNextPage=true;if(nextPage>totalpage){showNextPage=false;}var bigPrePage=page-bigMoveStep;var showBigPrePage=true;if(bigPrePage<=0){showBigPrePage=false;}var BigNextPage=page+bigMoveStep;var showBigNextPage=true;if(BigNextPage>totalpage){showBigNextPage=false;}var beginMove=0;var endMove=0;if(showPages%2){beginMove=parseInt(showPages/2);endMove=parseInt(showPages/2);}else{beginMove=parseInt(showPages/2);endMove=parseInt(showPages/2)-1;}var beginPage=page-beginMove;var endPage=page+endMove;if(beginPage<=0){if(endPage+(1-beginPage)<=totalpage){endPage=endPage+(1-beginPage);}else{endPage=totalpage;}beginPage=1;}if(endPage>totalpage){if(beginPage-(endPage-totalpage)>0){beginPage=beginPage-(endPage-totalpage);}else{beginPage=1;}endPage=totalpage;}var lastPageCount=total%pagesize;if(lastPageCount==0&&total!=0){lastPageCount=pagesize;}var returnpage={firstPage:firstPage,lastPage:lastPage,prePage:prePage,nextPage:nextPage,showPrePage:showPrePage,showNextPage:showNextPage,bigPrePage:bigPrePage,showBigPrePage:showBigPrePage,BigNextPage:BigNextPage,showBigNextPage:showBigNextPage,page:page,beginPage:beginPage,endPage:endPage,totalpage:totalpage,total:total,pagesize:pagesize,lastPageCount:lastPageCount};return returnpage;}}; // //#############################// function toHex(dec){var hexChars="0123456789ABCDEF";if(dec>255)return null;var i=dec%16;var j=(dec-i)/16;var result=hexChars.charAt(j);result+=hexChars.charAt(i);return result;}function get_img_path(u){var n=256;var h1=parseInt(u);var h2=h1%n;var h3=toHex(h2);var h4=h3<10?"0"+h3:h3;h4=h3.toLowerCase();var h5=parseInt(u/n,10);var h6=h5%n;var h7=toHex(h6);var h8=h7<10?"0"+h7:h7;h8=h7.toLowerCase();return h8+"/"+h4;}function get_img_url_flash(u){return get_img_url(u);}function get_ajust_uid(u){var ajuid=""+u;var popLen=10-u.length;var popStr="";for(var i=0;i');document.writeln('');function init_space_user_friend_unicode(){if(typeof SpaceUserFriend!="undefined"){try{SpaceUserFriend.traceInfo=function(sMSG){alert("信息: "+sMSG)};}catch(e){}var tmp=SpaceUserFriend.createContent();var div=document.createElement("div");div.innerHTML=tmp;document.body.appendChild(div);SpaceUserFriend.init();}else{setTimeout(function(){init_space_user_friend_unicode();},100)}};setTimeout(function(){init_space_user_friend_unicode();},100);function init_space_user_card_unicode(){if(typeof window.SpaceUserCard!="undefined"){var div=document.createElement("div");var tmp=SpaceUserCard.getHTML();div.innerHTML=tmp;document.body.appendChild(div);window.SpaceUserCard.init(true);}else{setTimeout(init_space_user_card_unicode,100);}};setTimeout(init_space_user_card_unicode,100);function init_space_user_zhitiao_unicode(){if(typeof window.SpaceUserSendMsg!="undefined"&&typeof SpaceUserSendMsg.setPID!="undefined"){try{SpaceUserSendMsg.traceInfo=function(sMSG){var strMsg=friendDataDeal.getShowMsgStr("播客提示",sMSG);commonDialog.openHtmlDialog(Y_position,X_position,strMsg);};SpaceUserSendMsg.setPID("blog");var div=document.createElement("div");var tmp=SpaceUserSendMsg.createContent();div.innerHTML=tmp;document.body.appendChild(div);SpaceUserSendMsg.init();}catch(e){alert(e);}}else{setTimeout(init_space_user_zhitiao_unicode,100);}};setTimeout(init_space_user_zhitiao_unicode,100);var getEvent=function(){return window.event;};var _ua=navigator.userAgent.toLowerCase();var $moz=/gecko/.test(_ua);if($moz){getEvent=function(){var o=arguments.callee.caller;var e;var n=0;while(o!=null&&n<40){e=o.arguments[0];if(e&&(e.constructor==Event||e.constructor==MouseEvent)){return e;}n++;o=o.caller;}return e;};}var commonDialog={hasInitOpen:false,IframeHtmlSpans:[],IframeHtmlLinks:[],IframeHtmlImages:[],IframeHtmlInput:[],dialogDiv:"",dialogIframe:"",dialogIframeWin:"",dialogShadow:"",timeOutTime:50000,dataDealObj:null,initSuccess:false,onOpenPage:false,refreshCheckNumBoo:true,timeOutHandle:null,clearGlobalTimeOut:function(){try{if(!this.isNull(this.timeOutHandle)){clearTimeout(this.timeOutHandle);}}catch(e){}},$$:function(idname){return this.dialogIframeWin.document.getElementById(idname);},extendBase:function(){if(this.hasExtendBase){return true;}if(typeof(hasInitBaseObject)=='undefined'||false==hasInitBaseObject){document.writeln('');hasInitBaseObject=true;}if(typeof(baseObject)=='undefined'){var me=this;setTimeout(function(){me.extendBase();},100);return false;}var B=baseObject;for(var p in B){var P=this[p];if(B.isNull(P)){this[p]=B[p];}}this.hasExtendBase=true;},resize:function(){var winsize=this.getPageSize(this.dialogIframeWin);var _top=this.dialogDiv.style.top;var _left=this.dialogDiv.style.left;var _height=1;var _width=1;_height=this.dialogIframeWin.document.getElementsByTagName('html')[0].scrollHeight+1;_width=this.dialogIframeWin.document.getElementsByTagName('html')[0].scrollWidth+1;this.setSize(_top,_left,_width,_height);},reset:function(){this.onOpenPage=false;this.writeHtml("",false);this.hideAll();},hideAll:function(){try{this.dialogShadow.style.display="none";this.dialogDiv.style.display="none";}catch(e){}},initStyle:function(){try{var D,DS,DI;D=this.dialogDiv;DS=this.dialogShadow;DI=this.dialogIframe;D.style.display="none";D.style.zIndex="10000";D.style.position="absolute";D.style.top="0px";D.style.left="0px";DS.style.display="none";DS.style.zIndex="9999";DS.style.position="absolute";DS.style.top="0px";DS.style.left="0px";DS.style.opacity="0.2";DS.style.filter="alpha(opacity=20)";DS.style.background="#000";DS.style.top="0px";DS.style.left="0px";DI.scrolling="no";DI.style.zIndex="10000";DI.frameborder="0";DI.style.width="100%";DI.style.height="100%";return true;}catch(e){this.init();return false;}},init:function(){if(typeof(baseObject)=='undefined'){var me=this;setTimeout(function(){me.init();},100);return false;}else{this.extendBase();}var jsObj=this.$("loadJs");if(this.isNull(jsObj)){this.appendScriptChild("loadJs","");}this.dialogDiv=top.document.getElementById('friendDialogDiv');this.dialogIframe=top.document.getElementById('friendDialogIframe');this.dialogShadow=top.document.getElementById('friendDialogShadow');var friendDialogDiv=top.document.getElementById('friendDialogDiv');if(typeof(friendDataDeal)=="undefined"||this.isNull(this.dialogDiv)||this.isNull(this.dialogIframe)||this.isNull(this.dialogShadow)){var baseTimeOut=100;this.timeOutTime-=baseTimeOut;if(this.timeOutTime<=0){return false;}var me=this;setTimeout(function(){me.init();},baseTimeOut);return false;}this.dialogIframeWin=document.frames?top.document.frames['friendDialogIframe']:top.document.getElementById('friendDialogIframe').contentWindow;if(!this.initStyle()){return false};me=this;function shadowReset(event){me.reset();}this.reset();this.addEvent(this.dialogShadow,"click",shadowReset);this.initSuccess=true;this.setClickEvent();},showDialog:function(showShadow){try{this.dialogDiv.style.display="block";}catch(e){}if(true==showShadow){this.setShadow();}},setShadow:function(){var winsize=this.getPageSize(top);try{var DS=this.dialogShadow;DS.style.display="block";DS.style.top='0px';DS.style.left='0px';DS.style.width=winsize.pw+'px';DS.style.height=winsize.ph+'px';DS.style.opacity="0.2";DS.style.filter="alpha(opacity=20)";DS.style.background="#000";}catch(e){}},_ajustTopLeft:function(_top,_left,_iWidth,_iHeight){var winsize=this.getPageSize(top);var bottom=_top+_iHeight;if(winsize.ph=5&&_LEFT>=5){this.showDialog(showShadow);}}return{t:_TOP,l:_LEFT};},objClick:function(event){var oEvent=window.event?window.event:event;var clickObj=oEvent.target?oEvent.target:oEvent.srcElement;this.openWin(clickObj,oEvent);},openWin:function(clickObj,oEvent){if(!this.initSuccess){var me=this;setTimeout(function(){me.openWin(clickObj,oEvent);},100);return false;}var ObjAttr=this.getDomAttribute(clickObj);var opetrate=ObjAttr.operate;if("reset"==opetrate){this.reset();return false;}else if("eval"==opetrate){eval(clickObj.getAttribute("eval")+";");}else if("openTuiJian"==opetrate){this.openTuiJian(clickObj,oEvent);}else if("openUrl"==opetrate){this.openUrl(clickObj,oEvent);}else if("showInvite"==opetrate){if(window.navigator.userAgent.indexOf("Firefox")>=1&&typeof(ObjAttr.offset_x)!="undefined"&&typeof(ObjAttr.offset_y)!="undefined"){SpaceUserFriend.show(ObjAttr.uid,{x:ObjAttr.offset_x,y:ObjAttr.offset_y});}else{SpaceUserFriend.show(ObjAttr.uid);}}else if("sendMsg"==opetrate){if(window.navigator.userAgent.indexOf("Firefox")>=1&&typeof(ObjAttr.offset_x)!="undefined"&&typeof(ObjAttr.offset_y)!="undefined"){SpaceUserSendMsg.show(ObjAttr.uid,{x:ObjAttr.offset_x,y:ObjAttr.offset_y});}else{SpaceUserSendMsg.show(ObjAttr.uid);}var tmpEvent=getEvent();var cX=this.pointerX(tmpEvent);var cY=this.pointerY(tmpEvent);window.X_position=cX;window.Y_position=cY;return false;}else if("userCard"==opetrate){if(typeof(SpaceUserCard)!="undefined"){var me=this;SpaceUserCard.setOtherClose(true);if(window.navigator.userAgent.indexOf("Firefox")>=1&&typeof(ObjAttr.offset_x)!="undefined"&&typeof(ObjAttr.offset_y)!="undefined"){SpaceUserCard.show(ObjAttr.uid,{x:ObjAttr.offset_x,y:ObjAttr.offset_y});}else{SpaceUserCard.show(ObjAttr.uid);}}}else{this.openCallBack(clickObj,oEvent,ObjAttr);}},openCallBack:function(clickObj,oEvent,ObjAttr){var showShadow=this.getShowShadow(clickObj);var objPosition=this.setClickPosition(clickObj,oEvent,showShadow);if(!this.isNull(oEvent)){if(objPosition.t<5||objPosition.l<5){this.reset();return false;}}this.clearJsonData(ObjAttr);this.setDataDealObj(ObjAttr);if(this.isNull(this.dataDealObj)){var me=this;setTimeout(function(){me.openCallBack(clickObj,oEvent,ObjAttr);},100);return false;}var allowRequest=this.dataDealObj.validateData(ObjAttr,this.dialogIframeWin);if(this.isNull(allowRequest)){return false;};if(true==allowRequest){var requestURl=this.dataDealObj.getRequestUrl(ObjAttr,this.dialogIframeWin);if(this.isNull(requestURl)){return false;}else if("reset"==requestURl){this.reset();return false;}else{var booNoUseJsonData=clickObj.getAttribute("noUseJsonData");if("noRequest"!=requestURl){this.loadJs(requestURl);this.showLoading(ObjAttr,showShadow);}else{booNoUseJsonData="yes";}if(this.isNull(booNoUseJsonData)||"yes"!=booNoUseJsonData.toLowerCase()){this.showResult(ObjAttr,showShadow);}else{this._showResult(ObjAttr,{},showShadow);}return false;}}else{if("reset"==allowRequest){this.reset();return false;}else if(false==allowRequest){this.refreshCheckNum();return false}else{this.refreshCheckNum();return false}}},getShowShadow:function(clickObj){try{var showShadow=true;if(!this.isNull(clickObj)){showShadow=clickObj.getAttribute(showShadow);if(this.isNull(showShadow)||"yes"==showShadow||"true"==showShadow||"1"==showShadow||"ok"==showShadow){showShadow=true;}else{showShadow=false;}}return showShadow;}catch(e){return false;}},openPageLoading:function(event){var oEvent=window.event?window.event:event;var clickObj=oEvent.target?oEvent.target:oEvent.srcElement;this.setClickPosition(clickObj,oEvent,false);var loadingStr=this.getDefaultMsg("加载中请稍候...",150,25);this.writeHtml(loadingStr,false);this.onOpenPage=true;var me=this;setTimeout(function(){if(me.onOpenPage){me.reset()};},30000);},openTuiJian:function(clickObj,oEvent){if(typeof(playJsTemplateJson)=='undefined'||typeof(TrimPath)=='undefined'){var me=this;setTimeout(function(){me.openTuiJian(clickObj);},100);return false;}var vid=clickObj.getAttribute('vid');var uid=clickObj.getAttribute('uid');vid=this.isNull(vid)?"":vid.replace(/(^\s*)|(\s*$)/g,"");uid=this.isNull(uid)?"":uid.replace(/(^\s*)|(\s*$)/g,"");var oposition=this.getObjPosition(clickObj,oEvent);jsonData={vid:vid,uid:uid};loadingStr=TrimPath.parseTemplate(playJsTemplateJson.tuijian,"playJsTemplateJson_tuijian").process(jsonData);this.openHtmlDialog(oposition.T,oposition.L,loadingStr);},openUrl:function(clickObj,oEvent){var oposition=this.getObjPosition(clickObj,oEvent);var strUrl=clickObj.getAttribute('url');this.openUrlDialog(oposition.T,oposition.L,strUrl);},loadUrl:function(_sUrl){this.dialogIframe.src=_sUrl;},openUrlDialog:function(pTop,pLeft,strUrl){this.setSize(pTop,pLeft,1,1);this.loadUrl(strUrl);me=this;function _resize(){me.resize();}_resize();setTimeout(function(){me.resize();},900);this.showDialog(false);try{this.addEvent(this.dialogIframe,"load",_resize);this.addEvent(this.dialogIframeWin,"load",_resize);}catch(e){}},openHtmlDialog:function(pTop,pLeft,loadingStr){this.setSize(pTop,pLeft,1,1);this.writeHtml(loadingStr,true);this.showDialog(false);},setDataDealObj:function(ObjAttr){this.dataDealObj=null;if(typeof(ObjAttr.datadealobj)!="undefined"&&!this.isNull(ObjAttr.datadealobj)){eval('this.dataDealObj='+ObjAttr.datadealobj+';');}else{if(typeof(friendDataDeal)!='undefined'){this.dataDealObj=friendDataDeal;}else{var me=this;setTimeout(function(){me.setDataDealObj(ObjAttr);},50);}}},clearJsonData:function(ObjAttr){if(typeof(ObjAttr.returnjson)!="undefined"&&!this.isNull(ObjAttr.returnjson)){eval(ObjAttr.returnjson+'=null;');}else{friendDialogJson=null;}},getJsonData:function(ObjAttr){try{if(typeof(ObjAttr.returnjson)!="undefined"&&!this.isNull(ObjAttr.returnjson)){var returnJson=null;eval('if(typeof('+ObjAttr.returnjson+')!="undefined"){returnJson= '+ObjAttr.returnjson+';}');return returnJson;}else{if(typeof(friendDialogJson)=="undefined"){return null}else{return friendDialogJson;}}}catch(e){}return null;},showResult:function(ObjAttr,showShadow){this.clearGlobalTimeOut();var JsonData=this.getJsonData(ObjAttr);if(typeof(JsonData)=="undefined"||this.isNull(JsonData)){var me=this;this.timeOutHandle=setTimeout(function(){me.showResult(ObjAttr,showShadow);},100);}else{this._showResult(ObjAttr,JsonData,showShadow);this.clearJsonData(ObjAttr);}},_showResult:function(clickObj,JsonData,showShadow){var resultMsg="";if(typeof(TrimPath)!="undefined"&&typeof(friendJsTemplateJson)!='undefined'){resultMsg=this.dataDealObj.parseTemplate(clickObj,JsonData,this.dialogIframeWin);}else{resultMsg=null;}if(!this.isNull(resultMsg)){if("reset"==resultMsg){this.reset();}else{if("wait"!=resultMsg){this.showDialog(showShadow);this.writeHtml(resultMsg,false);}}}else{this.reset();}},showLoading:function(ObjAttr,showShadow){var loadingStr="";if(typeof(TrimPath)!="undefined"&&typeof(friendJsTemplateJson)!='undefined'){loadingStr=this.dataDealObj.parseLoadIngTemplate(ObjAttr,this.dialogIframeWin);}else{;loadingStr=null;}if(!this.isNull(loadingStr)){if("reset"==loadingStr){this.reset();}else{if("wait"!=loadingStr){this.showDialog(showShadow);this.writeHtml(loadingStr,false);}}}else{this.reset();}},getDefaultMsg:function(msg,width,height){var str='';str+='';str+='';str+='';str+=''+msg+'';str+='';str+='';str+='
'+msg+'
';str+='';str+='';return str;},getPageOffset:function(objWin,cX,cY){if(objWin.parent!=self&&window.top!=self){var url=objWin.document.location.href;var aFrame=objWin.parent.document.getElementsByTagName('iframe');for(var i=0;i-1||position2>-1||position3>-1){var objP=this.getDim(aFrame[i]);cX+=objP.x;cY+=objP.y;break;}}if(objWin.parent!=top){return this.getPageOffset(objWin.parent,cX,cY);}else{return{cX:cX,cY:cY};}}else{cX+=0;cY+=0;return{cX:cX,cY:cY};}},ajustHtml:function(strHtml){var upperHtml=strHtml.toUpperCase();var hasBody=(upperHtml.indexOf('-1&&upperHtml.indexOf('-1&&upperHtml.indexOf('-1&&upperHtml.indexOf('-1)?true:false;if(this.isNull(strHtml)||false==hasBody){strHtml=''+"\n"+'初始化'+strHtml+'';}return strHtml;},appendCss:function(strHtml){var splitObj=this.splitHtmlCssScript(strHtml);var strCss=splitObj.css;if(!this.isNull(strCss)){strCss=""+strCss;strCss=strCss.replace('>,<','>0x0817<');var arrCss=strCss.split('0x0817');for(var i=0;i=0)?true:false;var supportDocument=(this.dialogIframeWin&&this.dialogIframeWin.document)?true:false;if(!supportDocument){var me=this;setTimeout(function(){me.writeHtml(strHtml,refill);},100);return false}else if(false==this.hasInitOpen||true==isIE||refill){this.dialogIframeWin.document.open("text/html","replace");this.dialogIframeWin.document.write(strHtml);this.dialogIframeWin.document.close();setTimeout(function(){me.resize();},900);this.hasInitOpen=true;}else if(supportDocument){this.dialogIframeWin.document.getElementsByTagName('html')[0].innerHTML="";var htmlRoot=this.dialogIframeWin.document.getElementsByTagName('html')[0];var childrens=htmlRoot.childNodes;for(var i=0;i0){lists[i].href="###";}else{lists[i].href="javascript:;";}}eval('this.addEvent(lists[i],"click",_openWin_'+i+strTag+');');}}}},_setClickEvent:function(lists){for(i=0;i0){lists[i].href="###";}else{lists[i].href="javascript:;";}}this.addEvent(lists[i],"click",_openWin);}}}},showUserNotLogin:function(){var topUrl="http://you.video.sina.com.cn/m";var buttonEvent="";try{topUrl=top.location.href;topUrl=escape(topUrl);if(this.isNull(topUrl)){topUrl=escape("http://you.video.sina.com.cn/m");}}catch(e){topUrl=escape("http://you.video.sina.com.cn/m");}var loginUrl='http://control.video.sina.com.cn/app/login/showLogin.php?url='+topUrl;resultMsg=friendDataDeal.getShowMsgStr("播客提示","您还未登录播客,立即登录。");return resultMsg;},setRefreshCheckNum:function(booleanValue){this.refreshCheckNumBoo=booleanValue;},refreshCheckNum:function(){if(this.refreshCheckNumBoo){var lists=this.IframeHtmlImages;var strChkUrl=this.getCheckNumUrl();for(i=0;i');hasInitBaseObject=true;}if(typeof(baseObject)=='undefined'){var me=this;setTimeout(function(){me.extendBase();},100);return false;}var B=baseObject;for(var p in B){var P=this[p];if(B.isNull(P)){this[p]=B[p];}}this.hasExtendBase=true;},getParam:function(){this.strQuery='';var divs=document.getElementsByTagName('SPAN');for(i=0;i
删除评论
请您选择一个删除视频的理由:
该评论与视频无关
该评论有广告嫌疑
该评论涉及色情内容
该评论涉及人身攻击
无可奉告
       
',rl:'
回复此评论
昵称:登录后评论  还可输入250个字
内容:
 
        
',callBackfn:null,_Display:function(o,u,c) {if(o==null) {var D=document.createElement("div");var B=top.document.getElementsByTagName("body")[0];D.id='_divComm';D.style.cssText=c B.appendChild(D);divComm.$('_divComm').innerHTML=(u=='Del')?this.dl:this.rl;} else {o.innerHTML=(u=='Del')?this.dl:this.rl;o.style.cssText=c;}},SetCallBack:function(fn) {this.callBackfn=fn;},Show:function(t,a) {var ad=(typeof a=='undefined')?0:parseInt(a);var Y=this.getHeight();var o=divComm.$('_divComm');var c="position:absolute;display:block;z-index:90005;";if(t=='del') {var top=Y.scrollY+(Y.bodyHeight-306)/2+ad;c+="top:"+top+"px;left:50%;margin-left:-170px;height:306px;width:340px;";this._Display(o,'Del',c);} else if(t=='reply') {var top=Y.scrollY+(Y.bodyHeight-300)/2+ad;c+="top:"+top+"px;left:50%;margin-left:-286px;height:300px;width:573px;";this._Display(o,'Reply',c);divComm.Check('_reply_login','_reply_nick');divComm.$('_reply_text').focus();} return false;},Hide:function() {try{divComm.$('_divComm').style.display='none'}catch(e){};},getHeight:function() {return{'scrollY':top.pageYOffset||top.document.documentElement.scrollTop,'bodyHeight':top.innerHeight||top.document.documentElement.clientHeight}},Count:function(o,i) {if(o.value.length>250)o.value=o.value.substring(0,250);divComm.$(i).innerHTML=250-o.value.length;},Login:function(i) {userLogin.showBg('show',i);userLogin.showLogin('show',i);},Check:function(l,n) {divComm.$(l).style.display=(new RegExp("(^|)SINAPRO=([^;]*)(;|$)","gi").exec(document.cookie)!=null)?'none':'block';divComm.$(n).value=(typeof baseObject!="undefined")?top.baseObject.getUserInfo()['nick']:"新浪网友";},Send:function(y) {if(y=='Del') {var o=top.document.getElementsByName('_reason');var l=o.length,t=0;for(var i=0;i=emot.S&&parseInt($1,'10')<=emot.E){return''}else{return $0}});},Make:function(x,y) {var o=top.document.getElementById(x);o.innerHTML='';for(var i=this.S;i<=this.E;i++) {var t=i<10?'0'+i:i;var g=document.createElement("img");g.style.cursor="pointer";g.uid=t;g.onclick=function(){emot.Add(this.uid,y);} g.src=this.U+t+'.gif';o.appendChild(g);} try{divComm.Check('play_reply_login','commNick')}catch(e){};},Add:function(t,d) {var c='[:'+t+':]';var o=top.document.getElementById(d);o.focus();var p=c.indexOf(']')+1;if(document.selection) {var s=document.selection.createRange();s.text=c;s.moveStart('character',p-c.length);s.moveEnd('character',p-c.length);s.select();} else if(typeof o.selectionStart!='undefined') {var prepos=o.selectionStart;o.value=o.value.substr(0,prepos)+c+o.value.substr(o.selectionEnd);o.selectionStart=prepos+p;o.selectionEnd=prepos+p;} else {o.value+=c;} try{divComm.Count(top.document.getElementById('_reply_text'),'_reply_count')}catch(e){};try{divComm.Count(top.document.getElementById('commContent'),'spanWriteLeave')}catch(e){};}}// //#############################// var cmnt_channel="vblog";var cmnt_newsid='';var cmnt_group=0;var cmnt_page=1;var cmnt_pagesize=20;var cmnt_host="http://comment.v.blog.sina.com.cn";document.write('');function cmnt_print(){try{commListObj.setData();commListObj.showCommList();}catch(e){setTimeout(function(){cmnt_print();},500);}}if(typeof(cmnt_callback)=="undefined"){cmnt_callback=function(){cmnt_print();}}function cmnt_notfound(){cmnt_print();}var commEvent={changePage:function(event){commListObj.changePageEvent(event);}};var commListObj={isOnLoadIng:false,tplId:"",fillListId:"empty",configId:'',commCountId:"",callBack:"",onRefresh:"",jsonData:null,objConfig:null,eachRowMaxLen:null,jsonTemplate:'',ownerId:"",cutOverFlow:'',showPages:'',SendData:null,curPage:1,hasWriteJS:false,lastCommInfo:{},delList:[],extendBase:function(){if(this.hasExtendBase){return true;}if(typeof(hasInitBaseObject)=='undefined'||false==hasInitBaseObject){document.writeln('');hasInitBaseObject=true;}if(typeof(baseObject)=='undefined'){var me=this;setTimeout(function(){me.extendBase();},100);return false;}var B=baseObject;for(var p in B){var P=this[p];if(B.isNull(P)){this[p]=B[p];}}this.hasExtendBase=true;},init:function(configId,timeout){if(!timeout){timeout=600000;}if(timeout<0){cmnt_print();this.isOnLoadIng=false;return false;}if(this.isOnLoadIng||typeof(baseObject)=='undefined'){var me=this;setTimeout(function(){me.init(configId,timeout-100);},100);return false;}else{this.isOnLoadIng=true;this.extendBase();}setTimeout(function(){cmnt_print();},2300);this.jsonData=null;var objConfig=null;if(!this.isNull(configId)){objConfig=this.$(configId);}this.getConfig(objConfig);if(this.hasWriteJS){this.changePage(1);}else{document.write('');document.write('');this.hasWriteJS=true;}},setRefreshEvent:function(){this._setRefreshEvent(this.htmlSpans);this._setRefreshEvent(this.htmlLinks);this._setRefreshEvent(this.htmlImages);this._setRefreshEvent(this.htmlInput);},_setRefreshEvent:function(lists){for(i=0;icmnt_pagesize)?cmnt_pagesize:CmsgList.length;var list=new Array(limit);for(var i=0;i');hasInitBaseObject=true;}if(typeof(baseObject)=='undefined'){var me=this;setTimeout(function(){me.extendBase();},100);return false;}var B=baseObject;for(var p in B){var P=this[p];if(B.isNull(P)){this[p]=B[p];}}this.hasExtendBase=true;},validate:function(commContent,objContent,objConfig){if(250');hasInitBaseObject=true;}if(typeof(baseObject)=='undefined'){var me=this;setTimeout(function(){me.extendBase();},100);return false;}var B=baseObject;for(var p in B){var P=this[p];if(B.isNull(P)){this[p]=B[p];}}this.hasExtendBase=true;},init:function(){if(typeof(baseObject)=='undefined'){var me=this;setTimeout(function(){me.init();},100);return false;}else{this.extendBase();}this.getConfig();},eventDel:function(event){var hideIdList=[];var nextHideLen=0;var oEvent=window.event?window.event:event;var clickObj=oEvent.target?oEvent.target:oEvent.srcElement;var objConfig=this.$(clickObj.getAttribute('configId'));var newsId=objConfig.getAttribute('newsid');var channel=objConfig.getAttribute('channel');newsId=this.commEndode(newsId);channel=this.commEndode(channel);var tmpEret=new RegExp('m-','ig');var isUserCenter=tmpEret.test(newsId);var params="?newsId="+newsId;params+="&channel="+channel;params+="&format=json";var isMultiDel=clickObj.getAttribute('isMultiDel');var chkBoxName=clickObj.getAttribute('chkBoxName');var chkBoxLen=0;var arrMidList=[];if(!this.isNull(isMultiDel)&&!this.isNull(chkBoxName)&&"YES"==isMultiDel.toUpperCase()){var objChk=document.getElementsByTagName("INPUT");var mid="";for(var i=0;i0){var me=this;function callBackFn(reason){top.divComm.Hide();var strRank="";if(reason!=null){strRank="|rank:"+reason;}var strMid="";for(var i=0;i0){lists[i].href="###";}else{lists[i].href="javascript:;";}}function delCommEvent(event){me.eventDel(event);}this.addEvent(lists[i],"click",delCommEvent);}}}}};delCommObj.extendBase();delCommObj.init(); // //#############################// var ua=navigator.userAgent;var $IE=(navigator.appName=="Microsoft Internet Explorer");var $IE5=$IE&&(ua.indexOf('MSIE 5')!=-1);var $IE5_0=$IE&&(ua.indexOf('MSIE 5.0')!=-1);var $Gecko=ua.indexOf('Gecko')!=-1;var $Safari=ua.indexOf('Safari')!=-1;var $Opera=ua.indexOf('Opera')!=-1;var $Mac=ua.indexOf('Mac')!=-1;var $NS7=ua.indexOf('Netscape/7')!=-1;var $NS71=ua.indexOf('Netscape/7.1')!=-1;var $MOZ = /gecko/.test(navigator.userAgent.toLowerCase());if($Opera){$IE=true;$Gecko=false;$Safari=false}if($IE5){$IE=true;$Gecko=false;$Safari=false}Function.prototype.bind2=function(object){var __method=this;return function(){return __method.apply(object,arguments)}};function $jsLoader(url,onComplete,onException,charset){var sTag=document.createElement("script");var sScriptId="requestId_"+(""+Math.random()).replace(/\./g,"");sTag.type="text/javascript";sTag.charset=charset||"utf-8";sTag.sid=sScriptId;sTag.src=url;var isOnLoaded=false;if(onComplete){sTag[$IE?"onreadystatechange":"onload"]=function(){if($MOZ||this.readyState.toLowerCase()=='complete'||this.readyState.toLowerCase()=='loaded'){var result=(eval("("+"SinaDotClsMedRes"+")"));isOnLoaded=true;onComplete(result)}}}if(onException){var timeout=setTimeout(function(){if(!isOnLoaded){onComplete=null;onException()}},3000)}document.getElementsByTagName("head")[0].appendChild(sTag)}function $_t(root,tag,id){var ar=root.getElementsByTagName(tag);for(var i=0;i0){argStr=","+argStr}var callStr="s.thiz[s.fn]("+argStr+")";var v=eval(callStr);if(s.rv!=null){return s.rv}else{return v}};r.thiz=o;r.fn=fn;r.rv=rv;return r}function $ge(e){if(e!=null){return e}if($IE){return window.event}else{return e}}function $gte(e,ev){if(!e.getElementById){e=e.ownerDocument}if($IE){return ev!=null?ev:e.parentWindow.event}else{return ev}}function $addEL(n,e,l,b){if($IE){if(n["$__listener_"+e]==null){var lst=function(e){var f=arguments.callee;var ar=f.fList;e=$ge(e);for(var i=0;i1){t=1}return(e-s)*t+s}};function PopUp(id,config){this.id=id;this.config=config;var c=config;c.width=$gv(c.width,260);c.height=$gv(c.height,200);c.bottom=$gv(c.bottom,0);c.right=$gv(c.right,0);c.display=$gv(c.display,true);c.contentUrl=$gv(c.contentUrl,"");c.motionFunc=$gv(c.motionFunc,$motion.smooth);c.position={x:0,y:0};var t=c.time;t.slideIn=$gv(t.slideIn,10);t.hold=$gv(t.hold,10);t.slideOut=$gv(t.slideOut,10);t.slideIn*=1000;t.hold*=1000;t.slideOut*=1000;this.container=(document.body.clientHeight==0)?document.documentElement:document.body;this.popup=null;this.content=null;this.switchButton=null;this.moveTargetPosition=0;this.startMoveTime=null;this.startPosition=null;this.status=PopUp.STOP;this.intervalHandle=null;this.mm="max";this.imgMin="http://image2.sina.com.cn/vblog/images/front/float1_btn_s.gif";this.imgMax="http://image2.sina.com.cn/vblog/images/front/float1_btn_b.gif"}PopUp.STOP=0;PopUp.MOVE_DOWN=1;PopUp.MOVE_UP=2;PopUp.SWITCH_TO_MIN=PopUp.MOVE_DOWN|4;PopUp.SWITCH_TO_MAX=PopUp.MOVE_UP|8;var __o={create:function(){var doc=document;var c=this.config;this.popup=doc.createElement("div");var p=this.popup;this.container.appendChild(p);p.id=this.id;p.style.cssText="position:absolute; z-index:10;overflow:hidden;border:0px solid #f00;";$dom.setSize(p,c.width,c.height);this.content=doc.createElement("div");var t=this.content;p.appendChild(t);t.id=this.id+"_content";t.style.cssText="position:absolute; z-index:1; overflow:hidden;";$dom.setSize(t,c.width,c.height);$dom.setPosition(t,0,0);c.position.y=c.height;this.onresize();t.innerHTML=""+""+"
"+"
";var addEvt=function(){this.switchButton=$_t(t,'a',"switchButton");var sBtn=this.switchButton;sBtn.style.cssText='position:absolute;z-index:2;font-size:0px; line-height:0px; left:220px;top:12px; width:10px; height:10px; background-image:url("http://image2.sina.com.cn/vblog/images/front/float1_btn_s.gif");';$addEL(sBtn,"click",$dele(this,"switchMode"),true);$addEL(sBtn,"click",$cancelEvent,true);var btn=$_t(t,'a',"closeButton");btn.style.cssText='position:absolute;z-index:2;font-size:0px;line-height:0px; left:240px; top:12px;width:10px; height:10px;background-image:url("http://image2.sina.com.cn/vblog/images/front/float1_btn_close.gif");';$addEL(btn,"mouseover",function(e){$dom.setAlpha(this,0.4)},true);$addEL(btn,"mouseout",function(e){$dom.setAlpha(this,1)},true);$addEL(btn,"click",$dele(this,"hide"),true);$addEL(btn,"click",$cancelEvent,true);var container=(document.body.clientHeight==0)?document.documentElement:document.body;this.__hackTimer=window.setInterval("__popup.onresize()",200);this.onresize()}.bind2(this);$jsLoader("http://v.sina.com.cn/v/ad/19/2009/0608/21.js",onComplete=function(res){if (!res.resUrl || res.resUrl === "") {addEvt();return;}if(/\.swf/.test(res.resUrl.toLowerCase())){this.content.innerHTML+=''}else{var imgs='';this.content.innerHTML+=imgs}addEvt()}.bind2(this),onException=function(){addEvt()}.bind2(this))},show:function(){if(!this.config.display)return;this.moveTargetPosition=0;this.status=PopUp.MOVE_UP;this.startMove()},hide:function(){this.status=PopUp.MOVE_DOWN;this.stopMove();if(this.mm=="max"&&$_t(this.content,'div',"closeswf_div")){$_t(this.content,'a',"closeButton").style.visibility='hidden';$_t(this.content,'a',"switchButton").style.visibility='hidden';$_t(this.content,'div',"ifm_div").style.visibility='hidden';var closeswf_div=$_t(this.content,'div',"closeswf_div");closeswf_div.style.visibility='visible';var p=this.popup;setTimeout(function(){p.innerHTML=''},3500)}else{this.moveTargetPosition=this.config.height;this.status=PopUp.MOVE_DOWN;this.startMove()}},minimize:function(){this.mm="min";this.moveTargetPosition=this.config.height-28;this.status=PopUp.SWITCH_TO_MIN;this.startMove();var s=this.switchButton.style;var bg=s.backgroundImage;if(bg.indexOf(this.imgMin)>-1){bg=bg.replace(this.imgMin,this.imgMax);s.backgroundImage=bg}},maximize:function(){if(!this.config.display)return;this.mm="max";this.moveTargetPosition=0;this.status=PopUp.SWITCH_TO_MAX;this.startMove();var s=this.switchButton.style;var bg=s.backgroundImage;if(bg.indexOf(this.imgMax)>-1){bg=bg.replace(this.imgMax,this.imgMin);s.backgroundImage=bg}},delayHide:function(){window.setTimeout("__popup.hide()",this.config.time.hold)},delayMin:function(){this.toMinHandler=window.setTimeout("__popup.minimize()",this.config.time.hold)},switchMode:function(){if(this.mm=="min"){this.maximize()}else{this.minimize()}},startMove:function(){this.stopMove();this.intervalHandle=window.setInterval("__popup.move()",100);this.startMoveTime=new Date().getTime();this.startPosition=this.config.position.y},stopMove:function(){if(this.intervalHandle!=null)window.clearInterval(this.intervalHandle);this.intervalHandle=null;if(this.toMinHandler!=null)window.clearInterval(this.toMinHandler);this.toMinHandler=null},move:function(){var t=new Date().getTime();t=t-this.startMoveTime;var total=this.status&PopUp.MOVE_UP?this.config.time.slideIn:this.config.time.slideOut;var y=this.config.motionFunc(this.startPosition,this.moveTargetPosition,t/total);this.config.position.y=y;this.onresize();if(t>=total){this.onFinishMove()}},onFinishMove:function(){this.stopMove();if(this.status==PopUp.MOVE_UP&&this.config.time.hold>0){this.delayMin()}else{if(this.moveTargetPosition==this.config.height&&this.__hackTimer!=null){this.stopMove();window.clearInterval(this.__hackTimer)}}this.status=PopUp.STOP},onresize:function(){var c=this.config;var t=(document.documentElement.clientHeight==0)?document.body:document.documentElement;var dx=t.clientWidth+t.scrollLeft;var dy=t.clientHeight+t.scrollTop;var dx=t.clientWidth+t.scrollLeft;var dy=t.clientHeight+t.scrollTop;var x=dx-c.right-c.width;var y=dy-c.bottom-c.height+c.position.y;$dom.setPosition(this.popup,x,y);$dom.setSize(this.popup,c.width,c.height-c.position.y)}};$cpAttr(PopUp.prototype,__o);function readCookie(name){var cookieValue="";var search=name+"=";if(document.cookie.length>0){offset=document.cookie.indexOf(search);if(offset!=-1){offset+=search.length;end=document.cookie.indexOf(";",offset);if(end==-1)end=document.cookie.length;cookieValue=unescape(document.cookie.substring(offset,end))}}return cookieValue}function writeCookie(name,value,hours){var expire="";if(hours!=null){expire=new Date((new Date()).getTime()+hours*3600000);expire="; expires="+expire.toGMTString()}document.cookie=name+"="+escape(value)+expire+";path=/"}function job(){var cfg={width:260,height:190,bottom:2,right:10,display:true,contentUrl:"http://v.sina.com.cn/v/iframe/8/2007/1022/272.html",time:{slideIn:1,hold:30,slideOut:1}};var displayTimeList=["7+7"];var displayMode="once";var cookieName="sina_vblog_popup_next_display_time";var hours={};var delays=[];for(var i=0;in){pp.show();var hr=new Date().getHours();var f=60*60*1000;var l=displayTimeList.concat(),len=l.length;for(var i=0;i=l[i];i++);var dt=new Date();dt.setHours(l[i]>23?l[i]-24:l[i]);var nextTime=dt.getTime();if(l[i]>23)nextTime+=f*24;writeCookie(cookieName,nextTime,2)}}}function doit(){if(document.body==null){window.setTimeout(doit,500);return}job()}doit();// //#############################// var Q="http://counter.sina.com.cn/querylist?format=js&entry=g_clist&id=0&key=";document.writeln('');var count_text="";var vids=[];var keys="";var obj_show;var commCountList={getCommSpans:function(){var objSpans=obj_show.getElementsByTagName('SPAN');var commSpans=[];var k=0;for(j=0;j0){commSpans[j].style.display="";commSpans[j].innerHTML="0";}}},showCommCount:function(obj){count_text=obj.innerHTML;obj_show=obj;key_pattern=/vblog:([0-9]+):0/g;vids=count_text.match(key_pattern);if(vids!='undefined'&&vids!=null&&vids!=""&&vids.length>0){keys=vids.join(',');if(navigator.userAgent.toLowerCase().indexOf('msie')>=0){document.getElementById("COUNTER_FORIE").src=Q+keys;}else{var js=document.createElement("script");js.setAttribute("type","text/javascript");js.setAttribute("src",Q+keys);document.body.insertBefore(js,null);}}}};function counter_callback(){if(!document.getElementsByTagName){return false};commCountList.filterData(g_clist);commCountList.clearDefault();}function show_comment_count(data,obj){commCountList.showCommCount(obj);} function _NeedUpgrade() { alert("您使用的新浪视频加速器不是最新版,\n点击确认后将自动升级为最新版,\n升级过程中将会自动关闭加速器。"); var _ifr = document.createElement("iframe"); _ifr.width=0; _ifr.height=0; _ifr.src="http://php.tech.sina.com.cn/download/d_load.php?d_id=38288&down_id=363026"; document.body.appendChild(_ifr); } function _DemoTest(){ var sVersion = ''; var videoCache = ''; try{ videoCache = new ActiveXObject("VideoCache.OrderCache.1"); try{ sVersion=videoCache.DownloadFromFileID("","",""); if(sVersion=="") _NeedUpgrade(); }catch(e) { _NeedUpgrade(); } }catch(e) { } delete videoCache; }setTimeout("_DemoTest()",1000);