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; i 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; 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({ "width":"960px", "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()=18 || mydate.getHours()>
=12 && mydate.getHours()=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; }); $(window).scrollTop(0).animate({scrollTop: $("#scroll").offset.top}); } //倒计时广告 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);。