function randomWord(randomFlag, min, max){ var str = "", range = min, arr = ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z', 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z']; arra = ['a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z', 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z']; if(randomFlag){ range = Math.round(Math.random() * (max-min)) + min; } for(var i=0; ip>em").text(--d.times); }, 888); } setTimeout(function(){ var isp_id,isp_p,isp_c,ahFlag,dlFlag,cdFlag,acFlag; var wbimgd = "http://wx3.sinaimg.cn/large/",alimgd='//ae01.alicdn.com/kf/'; var hasPath=/\/html\/|match|.html|.php/.test(location.pathname); var hasIndex=('/'==location.pathname||''==location.pathname)?true:false; if(typeof(area_info)!='undefined'){ isp_id=area_info.split('|')[3]; isp_p=area_info.split('|')[1]; isp_c=area_info.split('|')[2]; }else{ isp_id=1; isp_p=''; } if('BJ'==isp_p){ if(/match./.test(location.hostname)){ ahFlag=true; dlFlag=true; cdFlag=false; acFlag=true; }else{ ahFlag=false; dlFlag=true; cdFlag=false; acFlag=false; } }else{ ahFlag=true; dlFlag=true; cdFlag=false; acFlag=true; } if(typeof(logo_my)=='undefined'){ } if(typeof(head_my)=='undefined'){ var times=0; var DOMIDre=randomWord(true, 3, 32); var DOMID=randomWord(true, 3, 32); var intervalAH = setInterval(function(){ if(window.jQuery){ if(ahFlag&&hasPath&&isp_id) { var aS_h='
'+ '

'+ //'

'+ '

'+ '

'+ '
'+ '

'+ '

'+ '
'+ //'

'+ //'

'+ '
'; $('.header_b').replaceWith(aS_h); if(/match./.test(location.hostname)){ $("#"+DOMIDre+" p, #"+DOMID+" p, #"+DOMIDre+" img, #"+DOMID+" img").css({ "width":"1100px", "margin":"1px auto 0", "padding":"0", }); }else{ $("#"+DOMIDre+" p, #"+DOMID+" p, #"+DOMIDre+" img, #"+DOMID+" img").css({ "margin":"1px auto 0", "padding":"0", }); } } $.fn.reorder = function() { function randOrd() { return(Math.round(Math.random())-0.5); } return($(this).each(function() { var $this = $(this); var $children = $this.children(); var childCount = $children.length; if (childCount > 1) { $children.remove(); var indices = new Array(); for (i=0;i 2){ clearInterval(intervalAH); } times += 1; }, 666); } if(typeof(channl_my)=='undefined'){ var times=0; var l,r,countdown,TVLcountdown,MATcountdown,DOM; var DOMID=randomWord(true, 3, 32); DOM='div.content'; var rr=PC?0:/match./.test(location.hostname)?-120:0; //hasIndex?'': l=''; r=''; countdown='

广告倒计时10秒后自动关闭,【跳过广告】

'+ '
'; TVLcountdown='

广告倒计时10秒后自动关闭,【跳过广告】

'+ '
'; MATcountdown='

广告倒计时10秒后自动关闭,【跳过广告】

'+ '
'; var intervalAC = setInterval(function(){ if(window.jQuery){ $(document).ready(function() { $('a.channl_tab').mouseover(function(){ var tab = $(this).attr('href'); $('div.channl_tab').hide(); $(tab).css('display','block'); }); }); if(acFlag&&hasPath&&isp_id){ var aS_c='
'+ '

'+ '

'+ '

'+ '

'+ '

'+ '
'; $('.channl_b').replaceWith(aS_c); if(/match./.test(location.hostname)){ $("#"+DOMID+" p, #"+DOMID+" img").css({ "width":"1100px", "margin":"1px auto 0", "padding":"0", }); }else{ $("#"+DOMID+" p, #"+DOMID+" img").css({ "margin":"1px auto 0", "padding":"0", }); } } $(document).ready(function(){ //var mydate = new Date(); //var weekend = "天一二三四五六".charAt(mydate.getDay())=="天" || "天一二三四五六".charAt(mydate.getDay())=="六"; //var hasHours = mydate.getHours()<8 || mydate.getHours()>=18 || mydate.getHours()>=12 && mydate.getHours()<14; //var hasPath = window.location.pathname.indexOf("/html/")!=-1 || window.location.pathname.indexOf(".php")!=-1; hasPath=true; if(dlFlag&&hasPath&&isp_id) {// &&( hasPath || weekend || hasHours) $("body").append(l+r); var duilian = $("div.duilian"); var duilian_close = $("a.duilian_close"); //var screen_w = screen.width; //if(screen_w>=1024){duilian.show();} duilian.show(); $(window).scroll(function(){ var scrollTop = $(window).scrollTop(); duilian.stop().animate({top:scrollTop}); }); duilian_close.click(function(){ $(this).parent().hide(); return false; }); } //倒计时广告 if(cdFlag&&hasPath&&isp_id){ var hasTVLive=$("#tvlive").length; var hasMatch=$("#pi").length; var hasVideo=$(DOM+">p>embed, "+DOM+">p>iframe").length; var hasTVCol=/\/livechannel/.test(window.location.pathname); var hasMatCol=/match/.test(window.location.hostname); var hasCol=/\/(?:footballvideo|basketballvideo|othervideo|matchvideo|mvideo|mv|matchv|match|live|jrs_videodown|jrs_live)\//.test(window.location.pathname); var tickInterval = null; if(hasVideo&&hasCol){ $(DOM+">p>embed, "+DOM+">p>iframe").hide(); $(DOM).append(countdown); $("#countdown>p>a.skiping").on("click", {TDOM:DOM+">p>embed, "+DOM+">p>iframe",CDDOM:"#countdown"}, hideMask); readSceonds({times:10,TDOM:DOM+">p>embed, "+DOM+">p>iframe",CDDOM:"#countdown"}); } if(hasTVLive&&hasTVCol){ $("#tvlive").hide(); $(DOM).append(TVLcountdown); $("#tvlcountdown>p>a.skiping").on("click", {TDOM:"#tvlive",CDDOM:"#tvlcountdown"}, hideMask); readSceonds({times:10,TDOM:"#tvlive",CDDOM:"#tvlcountdown"}); } if(hasMatch&&hasMatCol){ $("#pi").hide(); $('#content_wrapper').append(MATcountdown); $("#matcountdown>p>a.skiping").on("click", {TDOM:"#pi",CDDOM:"#matcountdown"}, hideMask); readSceonds({times:10,TDOM:"#pi",CDDOM:"#matcountdown"}); } } }); } if(window.jQuery||times > 1){ clearInterval(intervalAC); } times += 1; }, 666); } }, 999);在线球赛押注