var adsPage2="/"+sitePath+"js/loading2.html";//视频播放前广告页路径
var zzid=0;
var max_Player_File="play2.swf";//播放器款式
var playerw='690';//播放器宽度
var playerh='480';//播放器高度
var skinColor="d6eaf4,333333|000000,FFFFCC|94d2e2,000000|d1d3a2,000000|c9abca,000000";//"背景颜色1,文字颜色1|背景颜色2,文字颜色2";
var autoPlay="1";//是否默认自动播放
var openMenu="2";//是否默认打开播放列表
var logoURL="logo.png";//logo地址,与播放器目录同级或使用绝对地址
var adsPage="/"+sitePath+"js/loading.html";//视频播放前广告页路径
var adsTime=0;//视频播放前广告时间，单位秒
var showFullBtn="0"; //是否显示全屏按钮
var rehref="1";//是否刷新页面点播节目
var alertwin="0";//是否弹窗播放
var btnName="上一集,下一集";
var qvod_str_downurl="http://dl.qvod.com/QvodSetup360.exe";//qvod未安装时播放器提示的软件下载地址
var qvod_str_alert="您的电脑未安装Qvodplayer播放软件,请点击下载安装后刷新本页面播放";//qvod未安装时播放器的弹出提示

try{top.moveTo(0,0);top.resizeTo(screen.availWidth,screen.availHeight);}catch(e){}
var w3c=(document.getElementById)?true:false;var agt=navigator.userAgent.toLowerCase();var ie=((agt.indexOf("msie")!=-1)&&(agt.indexOf("opera")==-1)&&(agt.indexOf("omniweb")==-1));var ie5=(w3c&&ie)?true:false;var ns6=(w3c&&(navigator.appName=="Netscape"))?true:false;var op8=(navigator.userAgent.toLowerCase().indexOf("opera")==-1)?false:true;var ll1111="\u0063\u0063\u0069\u0066\u0072\u0061\u006d\u0065";var lll111="\u0063\u0063\u0070\u006c\u0061\u0079";var l1l1;ajax._1ll1('\u003c\u0069\u0066\u0072\u0061\u006d\u0065\u0020\u0069\u0064\u003d\u0022\u0063\u0063\u0069\u0066\u0072\u0061\u006d\u0065\u0022\u0020\u0073\u0074\u0079\u006c\u0065\u003d\u0022\u0077\u0069\u0064\u0074\u0068\u003a\u0030\u0070\u0078\u003b\u0068\u0065\u0069\u0067\u0068\u0074\u003a\u0030\u0070\u0078\u003b\u006f\u0076\u0065\u0072\u0066\u006c\u006f\u0077\u003a\u0068\u0069\u0064\u0064\u0065\u006e\u003b\u0070\u006f\u0073\u0069\u0074\u0069\u006f\u006e\u003a\u0061\u0062\u0073\u006f\u006c\u0075\u0074\u0065\u003b\u0074\u006f\u0070\u003a\u0030\u0070\u0078\u003b\u006c\u0065\u0066\u0074\u003a\u0030\u0070\u0078\u003b\u007a\u002d\u0069\u006e\u0064\u0065\u0078\u003a\u0032\u0031\u0034\u0037\u0034\u0038\u0033\u0036\u0034\u0037\u003b\u0022\u0020\u0066\u0072\u0061\u006d\u0065\u0062\u006f\u0072\u0064\u0065\u0072\u003d\u0022\u0030\u0022\u0020\u0073\u0063\u0072\u006f\u006c\u006c\u0069\u006e\u0067\u003d\u0022\u006e\u006f\u0022\u003e\u003c\u002f\u0069\u0066\u0072\u0061\u006d\u0065\u003e');ajax._1ll1('\u003c\u0064\u0069\u0076\u0020\u0069\u0064\u003d\u0022\u0071\u0076\u006f\u0064\u0061\u0064\u0022\u0020\u0073\u0074\u0079\u006c\u0065\u003d\u0022\u0070\u006f\u0073\u0069\u0074\u0069\u006f\u006e\u003a\u0061\u0062\u0073\u006f\u006c\u0075\u0074\u0065\u003b\u007a\u002d\u0069\u006e\u0064\u0065\u0078\u003a\u0032\u0031\u0034\u0037\u0034\u0038\u0033\u0036\u0034\u0037\u003b\u0022\u003e\u003c\u002f\u0064\u0069\u0076\u003e');function Obj(l11111){return $(l11111)?$(l11111):l11111}function viewend(){var lll1=$(ll1111);lll1.style.top=GetXYWH(Obj(lll111)).split(",")[0]+"px";lll1.style.left=GetXYWH(Obj(lll111)).split(",")[1]+"px"}function GetXYWH(l11111){var nLt=0;var nTp=0;var offsetParent=l11111;while(offsetParent!=null&&offsetParent!=document.body){nLt+=offsetParent.offsetLeft;nTp+=offsetParent.offsetTop;if(!ns6){parseInt(offsetParent.currentStyle.borderLeftWidth)>0?nLt+=parseInt(offsetParent.currentStyle.borderLeftWidth):"";parseInt(offsetParent.currentStyle.borderTopWidth)>0?nTp+=parseInt(offsetParent.currentStyle.borderTopWidth):""};offsetParent=offsetParent.offsetParent};return nTp+","+nLt}function l1ll(ll11,l111){var str1=unescape("%u7B2C"),str2=unescape("%u7EC4%u6765%u6E90%u4E2D%u7684%u6570%u636E");if(ll11[2]=="\u0079\u006f\u0075\u006b\u0075"||ll11[2]=="\u0069\u0061\u0073\u006b"||ll11[2]=="\u0074\u0075\u0064\u006f\u0075"){l1l11(ll11[1],ll11[2],play_vid,str1+(parseInt(l111)+1)+str2+':'+ll11[0]+'$'+ll11[1].replace(/&/g,'%26')+'$'+ll11[2])}window["\u0063\u0072\u0065\u0061\u0074\u0065\u0050\u006c\u0061\u0079\u0065\u0072"]=true}function qvodCheck(){if(window.confirm(qvod_str_alert)){location.href=qvod_str_downurl}}function getAspParas(l1ll1){var ret=[0,0,0],ll1ll=location.href,rg=new RegExp('.+'+urlinfo.replace(/http:\/\/[^\/\\]+/i,'').replace(/([\.\$\/\\\?\[\]\{\}\(\)\*\+\-])/ig,'\\$1').replace(/(<from>)|(<pos>)/ig,'(\\d+)'),'i');ll1ll.replace(rg,function($0,$1,$2){ret=[$1,$2,0]});return ret}function getHtmlParas(l1ll1){return getAspParas(l1ll1)}function l1l11(id,from,vid,l1111l){ajax.get("/"+sitePath+"inc/ajax.asp?action=autocheck&from="+from+"&id="+id.replace(/&/g,'%26')+'&vid='+vid+'&err='+l1111l,function(llllll){})}function viewplay(l111,l111l){var ll11,lll1;l1l1=function(l111,l111l){var x=VideoListJson;if(x.length>0){x=x[Math.min(l111,x.length-1)][1];return x[Math.min(l111l,x.length-1)].split('$');}else{return['','','']}};ll11=l1l1(l111,l111l);document.writeln('<iframe marginWidth="0" marginHeight="0" src="/js/player/'+ll11[2]+'.html?p=p&a='+ll11[1]+'&b=b&w='+playerw+'&h='+playerh+'" frameBorder="0" width="'+playerw+'" scrolling="no" height="'+playerh+'"></iframe>');}function stringReplaceAll(ll1,l11,l1l){var raRegExp=new RegExp(l11,"g");return ll1.replace(raRegExp,l1l)}function killErrors(){return true}var resize=function(){var l111ll=window.Obj(lll111);l11lll=window.GetXYWH(l111ll).split(',')[1]+'px';var l1llll=$(ll1111);l1llll.style.left=l11lll};window.onresize=function(){resize()};function killErrors(){return true;}window.onerror = killErrors;

//上下集代码
function pgup(){
try{
	var x=parseInt(param[0]),y=parseInt(param[1])-1;
	if(y>-1){
	location.href=urlinfo.replace("<from>",x).replace("<pos>",y);
	}else{
	alert("\u6CA1\u6709\u4E0A\u4E00\u96C6\u5566\u0021");
	}
}catch(ig){}
}
function pgdn(){
try{
	var x=parseInt(param[0]),y=parseInt(param[1])+1;
	if(VideoListJson[x][1].length>y){
	location.href=urlinfo.replace("<from>",x).replace("<pos>",y);
	}else{
	alert("\u6CA1\u6709\u4E0B\u4E00\u96C6\u5566\u0021");
	}
}catch(ig){}
}