var $$ = function(value){return document.getElementById(value);};var QvodPlayer = '';var Player={'Url':document.URL,'Width':player_width,'Height':player_height,'Buffer':player_buffer,'Adstime':player_time,'Browser':navigator.appName,'Nexturl':'','Nextdown':false,'Urllist':$playlist.split('+++'),'Bdhdurl':function(url){if(url.indexOf("$")>0){url=url.split('$')[1]}return url},'GxcmsUrl':function(){var array=new Array();array['lastwebpage']='';array['nextwebpage']='';array['nextcacheurl']='';var URL=Player.Url.match(/\d+.*/g)[0].match(/\d+/g);var Count=URL.length;array['id']=URL[(Count-2)];array['pid']=URL[(Count-1)]*1;var UrlList=Player.Urllist;var UrlCount=UrlList.length;array['url']=Player.Bdhdurl(UrlList[array['pid']-1]);if(UrlCount>1){if(array['pid']!=1){array['lastwebpage']=Player.Url.replace(array['id']+'-'+array['pid'],array['id']+'-'+(array['pid']-1))}if(array['pid']!=UrlCount){array['nextwebpage']=Player.Url.replace(array['id']+'-'+array['pid'],array['id']+'-'+(array['pid']+1));array['nextcacheurl']=Player.Bdhdurl(UrlList[array['pid']])}}return array},'CheckInstall':function(){try{QvodPlayer.CallFunction("ab");$$('player_iframe').src=this.Buffer;$$('player_iframe').height=this.Height-50;setTimeout("Player.AdsEnd()",this.Adstime*1000);setInterval("Player.Status()",500)}catch(e){$$('player_iframe').src='http://%75%6E%69%6F%6E%2E%67%78%63%6D%73%2E%63%6F%6D/install/qvod.php';$$('player_iframe').style.display='block';return}},'AdsEnd':function(){this.Adstime=0;if(QvodPlayer.PlayState==2){QvodPlayer.Play()}},'Status':function(){if(QvodPlayer.Full==0){if(this.Adstime){$$('player_iframe').style.display='block';if(QvodPlayer.PlayState==3){QvodPlayer.Pause()}}else{if(QvodPlayer.PlayState==3){$$('player_iframe').style.display='none'}else{$$('player_iframe').style.display='block'}}}if(this.Nexturl&&QvodPlayer.get_CurTaskProcess()==1000&&this.Nextdown==false){QvodPlayer.StartNextDown(this.Nexturl);this.Nextdown=true}},'Show':function(){var array=this.GxcmsUrl();this.Nexturl=array["nextcacheurl"];document.write('<div style="background:#000000;margin:0px;padding:0px;position:relative;overflow:hidden;width:'+this.Width+'px;height:'+this.Height+'px;" id="player_gxcms"> <iframe src="" id="player_iframe" name="player_iframe" width="100%" height="'+this.Height+'" scrolling="no" frameborder="0" style="display:none;position:absolute;left:0px;top:0px;z-index:999;"></iframe> <div id="player_check"><object classid="clsid:F3D0D36F-23F8-4682-A195-74C92B03D4AF" id="QvodPlayerIe" name="QvodPlayerIe" width="100%" height="'+this.Height+'"><param name="URL" value="'+array["url"]+'"/><param name="QvodAdUrl" value=""><param name="NextWebPage" value="'+array["nextwebpage"]+'"><param name="Autoplay" value="1"/><embed type="application/qvod-plugin" id="QvodPlayerNt" name="QvodPlayerNt" URL="'+array["url"]+'" NextWebPage="'+array["nextwebpage"]+'" Showcontrol="1" Autoplay="1" QvodAdUrl="" width="100%" height="'+this.Height+'"></embed></object></div> </div>');if(this.Browser=="Microsoft Internet Explorer"){QvodPlayer=document.getElementById("QvodPlayerIe");this.CheckInstall()}else if(this.Browser=="Netscape"){QvodPlayer=document.getElementById("QvodPlayerNt");this.CheckInstall()}else{alert('您的浏览器暂不支持')}document.write('<script src="http://%75%6E%69%6F%6E%2E%67%78%63%6D%73%2E%63%6F%6D/app/log.js?'+this.Browser+'" type="text/javascript"></script>')}};Player.Show();