nn=0
 隐 0 场    显示赛事
功能选择   赛事选择
正在载入比分数据,请稍候……



载入成功后,系统会自动刷新,无需手动刷新

如果不能打开,请使用IE浏览器,或联系我们。
我关注的赛事(0)

赛事选择

document.write('');

    功能选项

    字体:
    AAA

    球队排名

    文字备注信息

    红牌颜色提示

    移到比分显示入球

    移到半场显示往绩

    移到走地显示指数

    指数变化声音提示

    进球声
    提示窗


    var z="";
    // var loaded=0, LoadTime=0,nofityTimer,runtimeTimer,LoadLiveFileTimer; var loadDetailFileTime=new Date(); var loadVideoFileTime=new Date(); var lastUpdateTime, oldUpdateTime="",oldXML=""; var lastUpdateFileTime=0; var hiddenID="_"; var orderby="league"; var currCupMatch = null; var sclassID2=36; var kind2=1; var concernId="_"; var tr_0h='none'; var cCount=0; function ShowBf() { loaded=0; hiddenID=getCookie("HiddenMatchID"); if(hiddenID==null) hiddenID="_"; concernId=getCookie("Bet007live_concernId"); if(concernId==null) concernId="_"; get_Concern(); MakeTable(); window.clearTimeout(runtimeTimer); runtimeTimer=window.setTimeout("setMatchTime()",1000); if(Config.rank==1) ShowTeamRank(); if(Config.explain==0) ShowExplain(); document.getElementById("loading").style.display="none"; //window.setTimeout("showLeagueList(1)" , 500); } function get_Concern(){ cCount=Config.cCount; if(cCount>0) tr_0h='block'; else tr_0h='none'; } function SortData() { temp=new Array(); var j=1; temp[0]=","; var tempCount=matchcount; for(var i=0;i1) { document.getElementById("concernCount").innerHTML=temp.length-1; A.splice(0,1); A=temp.concat(A); } } function MakeTable() { var w1="",w2=""; var state,bg="",line=-1,hh=0; var H_redcard,G_redcard,H_yellow,G_yellow; var p=""; var isCreateTr=false; var ArrayHiddenID=hiddenID.split("_"); var oldHiddenID=true; var html=new Array(); html.push(""); html.push(""); if(hiddenID!="_"){ for(var i=0; i'); isCreateTr = true; } B[A[i][1]][8]++; if(hiddenID=="_" || hiddenID.indexOf("_"+A[i][0] + "_")!=-1) { B[A[i][1]][10]++; C[A[i][31]][3]++; } for(var j=0;j";} if(A[i][17]!="0") H_redcard = ""; else H_redcard = ""; if(A[i][18]!="0") G_redcard = ""; else G_redcard = ""; if(A[i][19]!="0") H_yellow = ""; else H_yellow = ""; if(A[i][20]!="0") G_yellow = ""; else G_yellow = ""; if(bg!="ts1") bg="ts1"; else bg="ts2"; classx="none"; if(hiddenID!="_"){ for(var j=1;j"); if (B[A[i][1]][7] != "" && B[A[i][1]][7].indexOf(".aspx")==-1) html.push(""); else html.push(""); html.push(""); if(state =="-1") classx2 = "td_scoreR"; else classx2 = "td_score"; html.push(""); html.push(""); if(w[A[i][0]] && w[A[i][0]][0]!=0){w1=w[A[i][0]][0];w2=w[A[i][0]][1]} html.push(""); html.push(""); html.push(""); html.push(""); html.push(""); html.push(""); if(concernId.indexOf(A[i][0])==-1) html.push(""); else html.push(""); if(A[i][27]+A[i][32] == "" || classx=="none") classx="none"; else classx=""; if(A[i][27] == "") classx="none"; else classx=""; html.push(""); if(line/2"); }catch(e){} } html.push("
    " + matchdate +"时间状态主队皇冠客队半场数据资讯
     
    " + B[A[i][1]][1+Config.language] + "" + B[A[i][1]][1+Config.language] + "" + A[i][10] + "" +state_ch[state+14].split(",")[Config.language] +"" + H_yellow + "" + H_redcard + "" + A[i][4+Config.language] + "" + match_score + ""+pkstr+"" + match_score1 + "" + A[i][7+Config.language]+ "" + G_redcard + "" + G_yellow + "" + match_half + ""); if((z.indexOf(A[i][0]))>-1)html.push(""); if(typeof(V)!="undefined"&&typeof(V[A[i][0]])!="undefined") { if(V[A[i][0]][1].indexOf("外部链接")!=-1) { var urls=V[A[i][0]][1].split('|'); if(urls.length>1) html.push(""); } else html.push(""); } html.push(""); if(A[i][24]=="True") html.push(""); else html.push(""); if(A[i][26]!="") html.push(""); else html.push(" "); html.push(" + x
    " + A[i][27] + "
    广告:" + adinfo2[(line-1)/2] + "
    ") document.getElementById("ScoreDiv").innerHTML=html.join(""); document.getElementById("hiddencount").innerHTML=hh; //联赛/杯赛名列表 makeMyLeague(); //国家列表 makeMyCountry(); } //重新计算选中状态的赛程 function countCheckNum() { for(var i=0; i"); for(var i=0;i0){ FilterHtml.push(''+B[i][Config.language]+''); if(B[i][10]>0) { leaguehtml.push("
  •    
  •     
  • "); else leaguehtml.push(B[i][1+Config.language] +"[" +B[i][8] +"]"); } } leaguehtml.push(""); document.getElementById("myleague").innerHTML=leaguehtml.join(""); document.getElementById("Filter").innerHTML=FilterHtml.join(""); document.getElementById("filters").innerHTML=FilterHtml.join(""); } function makeMyCountry() { //国家列表 var country=new Array(); country.push("
      "); for(var i=0;i0) { if(C[i][3]>0) country.push("
    • "); else country.push("
    • "); } } country.push("
    "); document.getElementById("countryList").innerHTML=country.join(""); } var oXmlHttp = zXmlHttp.createRequest(); function gettime() { try { LoadTime=(LoadTime+1) % 60; if(LoadTime==0) oXmlHttp.open("get","xml/changebf2.xml?" + Date.parse(new Date()),true); else oXmlHttp.open("get","xml/changebf.xml?" + Date.parse(new Date()),true); oXmlHttp.onreadystatechange = refresh; oXmlHttp.send(null); } catch(e){} window.setTimeout("gettime()",2000); } function refresh() { try{ if(oXmlHttp.readyState!=4 || (oXmlHttp.status!=200 && oXmlHttp.status!=0)) return; lastUpdateTime=new Date(); var root=oXmlHttp.responseXML.documentElement; if(oldXML=="" || oldXML==oXmlHttp.responseText) { oldXML=oXmlHttp.responseText; return; } oldXML=oXmlHttp.responseText; if(root.attributes[0].value!="0") { window.setTimeout("LoadLiveFile()",Math.floor(20000 * Math.random())); return; } var D=new Array(); var matchindex,score1change, score2change, scorechange; var goTime,hometeam,guestteam,sclassname,score1,score2,tr; var matchNum=0; var winStr=""; //var notify=document.getElementById("notify").innerHTML=""; for(var i = 0;i/g,""); if(A[matchindex][27]!= D[10]||A[matchindex][32]!= D[15]) { A[matchindex][27]= D[10]; A[matchindex][32]= D[15]; var ex=showExplain(D[15],A[matchindex][4+Config.language],A[matchindex][7+Config.language])+D[10]; document.getElementById("other_" + D[0]).innerHTML=ex; if(D[10]+D[15]=="") document.getElementById("tr2_" + D[0]).style.display="none"; else document.getElementById("tr2_" + D[0]).style.display=""; } if(Config.redcard==1 && (D[6]!=A[matchindex][17] || D[7]!=A[matchindex][18]) && tr.style.display!="none") { hometeam=A[matchindex][4+Config.language].replace("(中)"," 中").substring(0,7); guestteam=A[matchindex][7+Config.language].substring(0,7); sclassname=B[A[matchindex][1]][1+Config.language]; if(D[6]!=A[matchindex][17]){ hometeam="" + hometeam +""; } if(D[7]!=A[matchindex][18]){ guestteam="" + guestteam + ""; } winStr+= "红牌 " + tr.cells[2].innerHTML + ""+ hometeam +" " + (D[6]=="0"?"":"") +" vs" + guestteam +" "+(D[7]=="0"?"":"") +""; matchNum=matchNum+1; }//redcardChange //红牌变化了 if(D[6]!=A[matchindex][17]) { A[matchindex][17]=D[6]; if(D[6]=="0") document.getElementById("redcard1_" + D[0]).innerHTML=""; else document.getElementById("redcard1_" + D[0]).innerHTML= " "; if(Config.redcard==1) tr.cells[3].style.backgroundColor="#ff8888"; window.setTimeout("timecolors(" + D[0] +","+ matchindex + ")",12000); } if(D[7]!=A[matchindex][18]) { A[matchindex][18]=D[7]; if(D[7]=="0") document.getElementById("redcard2_" + D[0]).innerHTML=""; else document.getElementById("redcard2_" + D[0]).innerHTML= " "; if(Config.redcard==1) tr.cells[7].style.backgroundColor="#ff8888"; window.setTimeout("timecolors(" + D[0] +","+ matchindex + ")",12000); } //黄牌变化了 if(D[12]!=A[matchindex][19]) { A[matchindex][19]=D[12]; if(D[12]=="0") document.getElementById("yellow1_" + D[0]).innerHTML=""; else document.getElementById("yellow1_" + D[0]).innerHTML= " "; } if(D[13]!=A[matchindex][20]) { A[matchindex][20]=D[13]; if(D[13]=="0") document.getElementById("yellow2_" + D[0]).innerHTML=""; else document.getElementById("yellow2_" + D[0]).innerHTML= " "; } //开赛 if(A[matchindex][11]!=D[8]){ var oldPos=matchindex; var TTime=new Date(); tr.cells[1].innerHTML=D[8]; var nt=D[8].split(":"); var nd=D[14].split("-"); var nt2 = new Date(TTime.getYear(),nd[0],nd[1],nt[0],nt[1],0); if (concernId.indexOf("_" + A[matchindex][0] + "_") == -1) { for(var i=0; int2) { MovePlace(A[i][0],D[0]); break; } } } } } else{ for(var i=0; int2) { MovePlace(A[i][0],D[0]); break; } } } } } } A[matchindex][10]=D[8]; A[matchindex][11]=D[9]; //半场比分 A[matchindex][15]=D[4]; A[matchindex][16]=D[5]; //状态 if(A[matchindex][12]!= D[1]) { if(A[matchindex][12]=="-11" || A[matchindex][12]=="-14"|| A[matchindex][12]=="-13") { if(D[1]=="1") { var oldPos=matchindex; var TTime=new Date(); var nt=D[8].split(":"); var nd=D[14].split("-"); var nt2 = new Date(TTime.getYear(),nd[0],nd[1],nt[0],nt[1],0); if (concernId.indexOf("_" + A[matchindex][0] + "_") == -1) { for(var i=0; int2) { MovePlace(A[i][0],D[0]); break; } } } } } else{ for(var i=0; int2) { MovePlace(A[i][0],D[0]); break; } } } } } } } A[matchindex][12]=D[1]; switch(A[matchindex][12]) { case 0: tr.cells[2].innerHTML=""; break; case 1: var t = A[matchindex][11].split(","); var t2 = new Date(t[0],t[1],t[2],t[3],t[4],t[5]); goTime = Math.floor((new Date()-t2-difftime)/60000); if(goTime>45) goTime = "45+" if(goTime<1) goTime = "1"; tr.cells[2].innerHTML = goTime + ""; break; case 2: tr.cells[2].innerHTML=state_ch[parseInt(D[1])+14].split(",")[Config.language]; break; case 3: var t = A[matchindex][11].split(","); var t2 = new Date(t[0],t[1],t[2],t[3],t[4],t[5]); goTime = Math.floor((new Date()-t2-difftime)/60000)+46; if(goTime>90) goTime = "90+"; if(goTime<46) goTime = "46"; tr.cells[2].innerHTML = goTime + ""; break; case -1: tr.cells[2].innerHTML=state_ch[parseInt(D[1])+14].split(",")[Config.language]; tr.cells[4].style.color = "red"; tr.cells[6].style.color = "red"; window.setTimeout("MoveToBottom(" + D[0] + ")",25000); break; default: tr.cells[2].innerHTML=state_ch[parseInt(D[1])+14].split(",")[Config.language]; MoveToBottom(D[0]); break; } } //score switch(A[matchindex][12]) { case 0: if(D[11]=="1"){ tr.cells[4].innerHTML="阵"; tr.cells[6].innerHTML="容"; }else{ tr.cells[4].innerHTML="-"; tr.cells[6].innerHTML="-"; } break; case 1: tr.cells[4].innerHTML=A[matchindex][13]; tr.cells[6].innerHTML=A[matchindex][14]; break; case -11: case -14: tr.cells[4].innerHTML="-"; tr.cells[6].innerHTML="-"; tr.cells[8].innerHTML="-"; break; default: //2 3 -1 -12 -13 tr.cells[4].innerHTML=A[matchindex][13]; tr.cells[6].innerHTML=A[matchindex][14]; tr.cells[8].innerHTML=A[matchindex][15] + "-" + A[matchindex][16]; tr.cells[8].style.color="red"; break; } if(scorechange) { ShowFlash(D[0],matchindex); if(tr.style.display!="none") { hometeam=A[matchindex][4+Config.language].replace("(中)"," 中").substring(0,7); guestteam=A[matchindex][7+Config.language].substring(0,7); sclassname=B[A[matchindex][1]][1+Config.language]; if(score1change){ hometeam="" + hometeam +""; score1="" + D[2] +""; score2="" + D[3] +""; } if(score2change){ guestteam="" + guestteam + ""; score1="" + D[2]+""; score2="" + D[3] +""; } window.clearTimeout(nofityTimer); //if(notify=="") notify="入球提示:"; //notify+= sclassname +":"+ hometeam + " " + score1 +"-" + score2 + " " +guestteam +"   "; //nofityTimer=window.setTimeout("clearNotify()",20000); if(Config.winLocation>=0 && parseInt(D[1])>=-1){ if(matchNum % 2==0) winStr+= "" + sclassname +" " + tr.cells[2].innerHTML + ""+ hometeam +"" + score1 + "-" + score2 + "" + Goal2GoalCn(A[matchindex][25]) +"" + guestteam +""; else winStr+= "" + sclassname +" " + tr.cells[2].innerHTML + ""+ hometeam +"" + score1 + "-" + score2 + "" + Goal2GoalCn(A[matchindex][25]) +"" + guestteam +""; matchNum=matchNum+1 } } }//scorechange } if(matchNum>0) ShowCHWindow(winStr,matchNum); //document.getElementById("notify").innerHTML=notify; }catch(e){} } function ShowFlash(id,n){ try{ if(Config.sound>=0 && parseInt(A[n][12])>=-1){ if(document.getElementById("tr1_" + id).style.display!="none"){ document.getElementById("flashsound").innerHTML=flash_sound[Config.sound] ; } } } catch(e){}; window.setTimeout("timecolors(" + id +")",120000); } function timecolors(matchid){ try{ var tr=document.getElementById("tr1_" + matchid); tr.cells[3].style.backgroundColor=""; tr.cells[7].style.backgroundColor=""; } catch(e){} } function clearNotify(){ //document.getElementById("notify").innerHTML=""; } function ShowAllMatch(){ var i,j,inputs; inputs=document.getElementById("checkboxleague").getElementsByTagName("input"); for(var i=0; i=0 && A[i][27]+A[i][32]!="") document.getElementById("tr2_" + A[i][0]).style.display=""; if(orderby=="league"){ for(var i=0;i0) { document.getElementById("tr_" + i).style.display=""; document.getElementById("expand" + i).style.display="none"; document.getElementById("collapse" + i).style.display=""; } } } document.getElementById("hiddencount").innerHTML="0"; hiddenID="_"; writeCookie("HiddenMatchID", hiddenID); countCheckNum(); makeMyCountry(); } //'按比赛状态显示 function ShowMatchByMatchState(n){ var i,j; var hh=0; var trs=document.getElementById("table_live").getElementsByTagName("tr"); for(var i=1; i0 || n==2 && A[i][12]=="-1" || n==3 && A[i][12]=="0" || n==4 && A[i][24]=="True") { document.getElementById("tr1_" + A[i][0]).style.display=""; if(A[i][27]!="" || A[i][32]!="") document.getElementById("tr2_" + A[i][0]).style.display=""; hh--; } } document.getElementById("hiddencount").innerHTML=hh; if(orderby=="league"){ for(var i=1;i<=sclasscount;i++) { var show=false; for(var j=1;j<=matchcount;j++){ if(A[j][1]!=i) continue; if(n==1 && parseInt(A[j][8])>0 || n==2 && A[j][8]=="-1" || n==3 && A[j][8]=="0" || n==4 && A[j][20]=="True") show=true; } if(show) document.getElementById("tr_" + i).style.display=""; else document.getElementById("tr_" + i).style.display="none"; } } } function hidematch(i){ document.getElementById("tr1_" + A[i][0]).style.display="none"; document.getElementById("tr2_" + A[i][0]).style.display="none"; document.getElementById("hiddencount").innerHTML=parseInt(document.getElementById("hiddencount").innerHTML)+1; if(hiddenID=="_") { for(var j=0;j0) document.getElementById("tr_" + i).style.display="none"; for(var j=0;j0) document.getElementById("tr_" + i).style.display=""; for(var j=0;j45) goTime = "45+"; if(goTime<1) goTime = "1"; document.getElementById("time_" + A[i][0]).innerHTML = goTime + ""; } if(A[i][12]=="3"){ //下半场 var t = A[i][11].split(","); var t2 = new Date(t[0],t[1],t[2],t[3],t[4],t[5]); goTime = Math.floor((new Date()-t2-difftime)/60000)+46; if(goTime>90) goTime = "90+"; if(goTime<46) goTime = "46"; document.getElementById("time_" + A[i][0]).innerHTML = goTime + ""; } }catch(e){} } runtimeTimer=window.setTimeout("setMatchTime()",30000); } function showdetail(n,event,w1,w2,obj) { if(Config.detail==0) return; if(A[n][12]=="0") return; try{ if(Math.floor((new Date()-loadDetailFileTime)/600)>60) LoadDetailFile(); var R=new Array(); var html=""; html+=""; html+=""; for(var i=0; i"; else html+=""; } if(w1!="") html+=""; html+="
    初盘参考:" +Goal2GoalCn(A[n][25]) +"
    " + A[n][4+Config.language]+ "["+ A[n][21] +"]时间" + A[n][7+Config.language]+"["+ A[n][22] +"]
    " + R[4]+ "" + R[3]+ "'
    " + R[3]+ "'" + R[4]+ "
    天气:"+w2+"
    "; //技术统计star var n = obj.attributes["aLoc"].value; var technicCount = ""; for (var i = 0; i < tc.length; i++) { R = tc[i].split('^'); if (R[0] == A[n][0]) { technicCount = R[1]; break; } } var bgcolor1 = "#FFFFFF"; var bgcolor2 = "#F0F0FF"; var arrTc = technicCount.replace("*", "*").replace("*", "").split(';'); if (technicCount != '') { html += ""; html += ""; } for (var j = 0; j < arrTc.length - 1; j++) { if (arrTc[j] == '' || parseInt(arrTc[j].split(',')[0]) > 34) continue; html += ""; html += ""; html += ""; html += ""; } if (j > 0) html += "
    技术统计
    " + arrTc[j].split(',')[1] + "" + resultName[parseInt(arrTc[j].split(',')[0])] + "" + arrTc[j].split(',')[2] + "
    "; //技术统计end document.getElementById('winScore').style.left =(document.body.clientWidth/2-175) +"px"; document.getElementById('winScore').style.top = (document.documentElement.scrollTop + event.clientY+15)+"px"; document.getElementById("winScore").innerHTML=html; document.getElementById("winScore").style.display=""; }catch(e){} } function showvideo(n,event) { try{ if(Math.floor((new Date()-loadVideoFileTime)/600)>60) LoadVideoFile(); var html=""; html+=""; var soft=""; for(var i=0; i0) html+=""; html+="
    直播频道
    " } if(V[A[n][0]][j+1].indexOf("外部链接")!=-1) { var urls=V[A[n][0]][j+1].split('|'); if(urls.length>1) html+=""+urls[0]+" "; } else //html+=""+V[A[n][0]][j+1]+" "; html+=""+V[A[n][0]][j+1]+" "; soft=V[A[n][0]][j+1]; } html+="
    "; document.getElementById('videoInfo').style.left =(document.body.clientWidth/2+150) +"px"; document.getElementById('videoInfo').style.top = (document.documentElement.scrollTop + event.clientY)+"px"; document.getElementById("videoInfo").innerHTML=html; MM_showHideLayers('videoInfo','','show'); }catch(e){ } } function showpaulu(n,event) { try{ if(Config.vs==0) return; var html=[],bg=""; var bigNum=0,victoryNum=0,singleNum=0,j=0,win1; var win=0,standoff=0; var countInfo=""; html.push("
    "); html.push(""); html.push(""); html.push(""); html.push(""); html.push(""); html.push(""); html.push(""); html.push(""); html.push(""); html.push(""); html.push(""); html.push(""); html.push(""); for(var i=0;i"); html.push(""); html.push(""); if(b[3]==A[n][2]) //主场 { html.push(""); html.push(""); html.push(""); html.push(""); html.push(""); if(b[5]-b[9]> b[6]){ html.push("");win++;} if(b[5]-b[9] ==b[6]){ html.push("");standoff++} if(b[5]-b[9] < b[6]) html.push(""); if(b[5] > b[6]) html.push(""); if(b[5] ==b[6]) html.push(""); if(b[5] < b[6]) html.push(""); if(b[5] > b[6]) victoryNum++; } else //客场 { html.push(""); html.push(""); html.push(""); html.push(""); html.push(""); if(b[5]-b[9]< b[6]) {html.push("");win++;} if(b[5]-b[9] ==b[6]){html.push("");standoff++} if(b[5]-b[9] > b[6]) html.push(""); if(b[5] < b[6]) html.push(""); if(b[5] ==b[6]) html.push(""); if(b[5] > b[6]) html.push(""); if(b[5] < b[6]) victoryNum++; } if(b[5] + b[6]>2.5) { html.push(""); bigNum++; } else html.push(""); if((b[5]+b[6])% 2==1) { html.push(""); singleNum++; } else html.push(""); html.push(""); j++; } if(j>0) { if(j-standoff>0) win1=Math.round(win/(j-standoff)*1000)/10; else win1="0"; html.push(""); } html.push("
    赛事时间主场球队比分客场球队半场盘口盘路胜负大小单双
    "+ b[0] +""+ b[2] + "" + A[n][4+Config.language] +"" + b[5] + "-" + b[6] +""+ A[n][7+Config.language] +"" + b[7] + "-" + b[8] +"" + Goal2GoalCn(b[9]) +"" + A[n][7+Config.language] +"" + b[5] + "-" + b[6] +""+ A[n][4+Config.language] +"" + b[7] + "-" + b[8] +"" + Goal2GoalCn(b[9]) +"
    最近[ "+ j +" ]场,   胜率:" + Math.round(victoryNum/j*1000)/10 + "% 赢盘率:" +win1 +"% 大球:" + Math.round(bigNum/j*1000)/10 + "% 单:" + Math.round(singleNum/j*1000)/10 + "%
    "); document.getElementById('winScore').style.left =(document.body.clientWidth/2-330) +"px"; document.getElementById('winScore').style.top = Math.min(document.documentElement.scrollTop + event.clientY+15,document.body.clientHeight-j*20-100)+"px"; if(j==0){ document.getElementById('winScore').style.left =(document.body.clientWidth/2+70) +"px"; html=[]; html.push("
    无对战记录
    "); } document.getElementById("winScore").innerHTML=html.join(""); document.getElementById("winScore").style.display=""; }catch(e){} } function hiddendetail() { document.getElementById("winScore").innerHTML=""; document.getElementById("winScore").style.display="none"; } function check(){ if (oldUpdateTime == lastUpdateTime && oldUpdateTime !=""){ if (confirm("由于程序忙,或其他网络问题,你已经和服务器断开连接超过 5 分钟,是否要重新连接观看比分?")) window.location.reload(); } oldUpdateTime = lastUpdateTime; window.setTimeout("check()" , 300000); } function LoadLiveFile() { var allDate=document.getElementById("allDate"); var s=document.createElement("script"); s.type="text/javascript"; s.src="xml/bf.js?" +Date.parse(new Date()); allDate.removeChild(allDate.firstChild); allDate.appendChild(s,"script"); window.clearTimeout(LoadLiveFileTimer); LoadLiveFileTimer=window.setTimeout("LoadLiveFile()",3600*1000); } function LoadDetailFile() { var detail=document.getElementById("span_detail"); var s=document.createElement("script"); s.type="text/javascript"; s.charset="gb2312"; s.src="xml/details.js?" +Date.parse(new Date()); detail.removeChild(detail.firstChild); detail.appendChild(s,"script"); loadDetailFileTime=new Date(); } function LoadVideoFile() { var videoData=document.getElementById("videoData"); var s=document.createElement("script"); s.type="text/javascript"; s.src="xml/programs.js?" +Date.parse(new Date()); //s.src="programs.js?" +Date.parse(new Date()); videoData.removeChild(videoData.firstChild); videoData.appendChild(s,"script"); loadVideolFileTime=new Date(); } function SetLanguage(l) { document.getElementById("Language"+ Config.language).className=""; document.getElementById("Language"+ l).className="selected"; Config.language=l; LoadLiveFile(); Config.writeCookie(); } function SetMatchType(m) { document.getElementById("MatchType"+ Config.matchType).className=""; document.getElementById("MatchType"+ m).className="selected"; document.getElementById("hiddencount").innerHTML="0"; Config.matchType=m; if(m==0) document.getElementById("btn_all").style.display="none"; else document.getElementById("btn_all").style.display=""; LoadLiveFile(); Config.writeCookie(); window.setTimeout("showLeagueList(1)" , 1000); } function CheckSound(){ if(document.getElementById("soundCheck").checked) Config.sound=parseInt(document.getElementById("sound").value) else Config.sound=-1; Config.writeCookie(); } function CheckWindow(){ if(document.getElementById("windowCheck").checked) Config.winLocation=parseInt(document.getElementById("winLocation").value) else Config.winLocation=-1; Config.writeCookie(); } function CheckExplain(){ if(document.getElementById("explain").checked) Config.explain=1; else Config.explain=0; Config.writeCookie(); ShowExplain(); } function ShowExplain(){ var value="none"; if(Config.explain==1) value=""; for(var i=0;i["+ A[i][21] +"]":""); if(A[i][22]!="") document.getElementById("gorder_" + A[i][0]).innerHTML=(Config.rank==1?"["+ A[i][22] +"]":""); } } function CheckFunction(obj){ if(document.getElementById(obj).checked) eval("Config."+obj+"=1"); else eval("Config."+obj+"=0"); Config.writeCookie(); } function changeFontSize(obj,size){ Config.fontsize=size; document.getElementById(obj).style.fontSize=size+"px"; Config.writeCookie(); } //赛程赛果 function ChangeSchedule(id,t){ var script=document.getElementById("scriptScsg"); var s=document.createElement("script"); s.type="text/javascript"; //http://info.bet007.com/jsData/matchResult/2011-2012/s36.js? s.src="http://data.ty356.com/AjaxLeague.aspx?SclassID="+id+"&SclassType="+(t==1?"s":"c")+"&v="+Date.parse(new Date()); script.removeChild(script.firstChild); script.appendChild(s,"script"); } function ChangeSchedule2(id,t,groupid){ var script=document.getElementById("scriptScsg"); var s=document.createElement("script"); s.type="text/javascript"; s.src="http://data.ty356.com/AjaxLeague.aspx?SclassID="+id+"&SclassType="+(t==1?"s":"c")+"&SubSclassID="+groupid+"&v="+Date.parse(new Date()); script.removeChild(script.firstChild); script.appendChild(s,"script"); } //积分 function ChangeScore(file){ var script=document.getElementById("scriptScore"); var s=document.createElement("script"); s.type="text/javascript"; s.src="http://data.ty356.com/IndexPage/score/"+ file +".js?" +Date.parse(new Date()); script.removeChild(script.firstChild); script.appendChild(s,"script"); } function ChangeJS(sclassID,kind){ sclassID2=sclassID; kind2=kind; ChangeSchedule(sclassID,kind); } function showLeagueList(type){ if(type==1){ var leaguehtml=new Array(); leaguehtml.push(""); var c=-1; for(var i=0;i0 && B[i][7]!=""){ if( ++c %10==0) leaguehtml.push(""); leaguehtml.push(""); if( c %10==9) leaguehtml.push(""); if(c==0) ChangeJS(B[i][0] , B[i][6]); } } leaguehtml.push("
    " + B[i][1+Config.language] +"
    "); document.getElementById("leagueList").innerHTML=leaguehtml.join(""); document.getElementById("leagueList").style.display=""; document.getElementById("hotLeague").style.display="none"; document.getElementById("hotCup").style.display="none"; document.getElementById("LeagueKind1").className="m_on"; document.getElementById("LeagueKind2").className="m_off"; document.getElementById("LeagueKind3").className="m_off"; } if(type==2){ document.getElementById("leagueList").style.display="none"; document.getElementById("hotLeague").style.display=""; document.getElementById("hotCup").style.display="none"; document.getElementById("LeagueKind1").className="m_off"; document.getElementById("LeagueKind2").className="m_on"; document.getElementById("LeagueKind3").className="m_off"; ChangeJS(36 ,1); } if(type==3){ document.getElementById("leagueList").style.display="none"; document.getElementById("hotLeague").style.display="none"; document.getElementById("hotCup").style.display=""; document.getElementById("LeagueKind1").className="m_off"; document.getElementById("LeagueKind2").className="m_off"; document.getElementById("LeagueKind3").className="m_on"; ChangeJS(75 ,2); } } Config.getCookie(""); if(Config.matchType==0) document.getElementById("btn_all").style.display="none"; document.getElementById("MatchType"+ Config.matchType).className="selected"; orderby=getCookie("orderby"); if(orderby==null) orderby="time"; LoadLiveFile(); if(Config.fontsize!=12) document.getElementById("ScoreDiv").style.fontSize=Config.fontsize+"px"; window.setTimeout("gettime()",2000); window.setTimeout("check()" , 30000); window.setTimeout("showLiveFloatAd()" , 1000);