คะแนนทันกาล, ทันกาล ฟุตบอล,เปรียบเทียบออตส์ , บาสเกตบอล, เอ็นบีเอ - thscore.cc
เแจ้งการอัพเดตราคาบอล
รายละเอียดราคาบอล
เลือกเสียง เสียง 1 เสียง 2 เสียง 3 เสียง 4 ไม่มี
ฟุตบอล บาสเกตบอล เทนนิส อเมริกันฟุตบอล
Sbobet Crown 12bet Mansion88 188bet Macauslot BET365
เรียงตามลีก
แข่งล่วงหน้า
0ที่ซ่อน
English ภาษาไทย Tiếng Việt 한국의 Indonesia
ติดผลบอลสดอย่างฟรีที่เว็บไซต์ของคุณได้เลย!
"); html.push(" "); if(B[A[i][1]][5]!="") html.push("" + B[A[i][1]][1] + " "); else html.push(B[A[i][1]][1] + " ");	html.push(" " + formatTime(t2) +" "); html.push(" " +state_ch[state+14] +" "); html.push(" " + H_yellow + "" + H_redcard + " " + A[i][4] + " "); html.push(" " + match_score + " "); html.push(" " + A[i][5]+ " " + G_redcard + "" + G_yellow + " "); html.push(" " + match_half + " "); html.push(" "); html.push(" "); html.push(" "); html.push(" "); html.push(""); //if(A[i][20]=="True") html.push(" "); html.push(" "); //	html.push(" "); html.push("
"); var exText = showExplain(A[i][24], A[i][4], A[i][5]); if (!((A[i][22] == "" && A[i][24] == "") || (A[i][22] == "" && exText == ""))) {	html.push("
"); if(A[i][24]&&A[i][24] != "") html.push(exText); if (exText != "") html.push("
" + buildTvLink(A[i][22])); else html.push(buildTvLink(A[i][22])); html.push("
"); } sclass+=A[i][2] +"^"; if(i ==2) html.push("
ฟุตบอลโลก 2018 มาแล้ว !!! ร่วมกันส่งกำลังใจเชียร์ด้วยนะคะ
") document.getElementById("live").innerHTML=html.join(""); } function MakeSclass() { var st; var leaguehtml=new Array(); leaguehtml.push("
"); for(var i=1;i<=sclasscount;i++) {	if(!Bf_simply_disp || B[i][4]==1){ if(B[i][4]==1) leaguehtml.push("
" + (B[i][6].toString()==""?B[i][2].toString():B[i][6]) + "
"); document.getElementById("myleague2").innerHTML=leaguehtml.join(""); } var oXmlHttp = zXmlHttp.createRequest(); function getxml() { oXmlHttp.open("get","/data/change_en.xml?" + Date.parse(new Date()),true); oXmlHttp.onreadystatechange = refresh;	oXmlHttp.send(null); window.setTimeout("getxml()",3000); } function refresh() { 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<10) D=root.childNodes[i].text.split("^"); //0:ID,1:state,2:score1,3:score2,4:half1,5:half2,6:card1,7:card2,8:yellow1,9:yellow2,10:time1,11:time2,12:explain,13:lineup else D=root.childNodes[i].textContent.split("^"); tr=document.getElementById("tr1_" + D[0]); if(tr==null) continue; D[1]=parseInt(D[1]); matchindex=tr.attributes["index"].value;	score1change=false; if(A[matchindex][9]!=D[2]) { A[matchindex][9]=D[2]; score1change=true; tr.cells[4].style.backgroundColor="#bbbb22"; } score2change=false; if(A[matchindex][10]!=D[3]) { A[matchindex][10]=D[3]; score2change=true; tr.cells[6].style.backgroundColor="#bbbb22"; } scorechange=score1change || score2change; //note if(A[matchindex][22]!= D[15]||A[matchindex][24]!= D[14]) { A[matchindex][22]= D[15]; A[matchindex][24]= D[14]; var ex=showExplain(D[14],A[matchindex][4],A[matchindex][5])+D[15]; document.getElementById("other_" + D[0]).innerHTML=ex; if(D[15]+D[14]=="") document.getElementById("tr2_" + D[0]).style.display="none"; else document.getElementById("tr2_" + D[0]).style.display="";	} //red card if(D[6]!=A[matchindex][13]) { A[matchindex][13]=D[6]; if(D[6]=="0") document.getElementById("redcard1_" + D[0]).innerHTML=""; else document.getElementById("redcard1_" + D[0]).innerHTML= " "; if(document.getElementById("RedCheck").checked) tr.cells[4].style.backgroundColor="#ff8888";	window.setTimeout("timecolors(" + D[0] +","+ matchindex + ")",12000); } if(D[7]!=A[matchindex][14]) { A[matchindex][14]=D[7]; if(D[7]=="0") document.getElementById("redcard2_" + D[0]).innerHTML=""; else document.getElementById("redcard2_" + D[0]).innerHTML= " "; if(document.getElementById("RedCheck").checked) tr.cells[6].style.backgroundColor="#ff8888";	window.setTimeout("timecolors(" + D[0] +","+ matchindex + ")",12000); }	//yellow card if(D[8]!=A[matchindex][15]) { A[matchindex][15]=D[8]; if(D[8]=="0") document.getElementById("yellow1_" + D[0]).innerHTML=""; else document.getElementById("yellow1_" + D[0]).innerHTML= " "; } if(D[9]!=A[matchindex][16]) { A[matchindex][16]=D[9]; if(D[9]=="0") document.getElementById("yellow2_" + D[0]).innerHTML=""; else document.getElementById("yellow2_" + D[0]).innerHTML= " "; }	//time if(A[matchindex][6]!=D[10]) { var t = D[10].split(","); var t2 = new Date(t[0],t[1],t[2],t[3],t[4],t[5]); t2 = new Date(Date.UTC(t2.getYear(),t2.getMonth(),t2.getDate(),t2.getHours(),t2.getMinutes(),t2.getSeconds())); tr.cells[2].innerHTML=formatTime(t2); } A[matchindex][6]=D[10]; A[matchindex][7]=D[11]; //h-t A[matchindex][11]=D[4]; A[matchindex][12]=D[5]; //status if(A[matchindex][8]!= D[1]) { A[matchindex][8]=D[1]; switch(A[matchindex][8]) { case 0: tr.cells[3].innerHTML=""; break; case 1: var t = A[matchindex][7].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[3].innerHTML = goTime + " "; break; case 2: tr.cells[3].innerHTML=state_ch[D[1]+14]; break; case 3: case 4: var t = A[matchindex][7].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[3].innerHTML = goTime + " "; break; case -1: tr.cells[3].innerHTML=state_ch[D[1]+14]; tr.cells[5].style.color = "red"; if(orderby=="time") window.setTimeout("MoveToBottom(" + D[0] + ")",25000); break; case -10: tr.cells[3].innerHTML=state_ch[D[1]+14]; break; default: tr.cells[3].innerHTML=state_ch[D[1]+14]; if(orderby=="time") MoveToBottom(D[0]); break;	} } //score switch(A[matchindex][8]) { case 0: if(D[11]=="1") tr.cells[5].innerHTML="ผู้เล่นตัวจริง"; else tr.cells[5].innerHTML="-"; break; case 1:	tr.cells[5].innerHTML=(score1change?""+A[matchindex][9]+"":A[matchindex][9]) + " - " + (score2change?""+A[matchindex][10]+"":A[matchindex][10]); break; case -11: case -14: tr.cells[5].innerHTML="-"; tr.cells[7].innerHTML="-"; break; default: //2 3 -1 -12 -13	tr.cells[5].innerHTML=(score1change?""+A[matchindex][9]+"":A[matchindex][9]) + " - " + (score2change?""+A[matchindex][10]+"":A[matchindex][10]); tr.cells[7].innerHTML=A[matchindex][11] + " - " + A[matchindex][12]; break; } if(scorechange) { ShowFlash(D[0],matchindex); if(tr.style.display!="none") { hometeam=A[matchindex][4].replace("(N)","").substring(0,20); guestteam=A[matchindex][5].substring(0,20); sclassname=B[A[matchindex][1]][1]; 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(windowCheck && D[1]>=-1){ if(matchNum % 2==0) winStr+= "
"; matchNum=matchNum+1 } } }//scorechange } if(matchNum>0) { if (window.ActiveXObject) ShowCHWindow(winStr,matchNum); else ShowCHWindow123(winStr,matchNum); } //document.getElementById("notify").innerHTML=notify; } function ShowFlash(id, n) { try { if (soundCheck && parseInt(A[n][8]) >= -1) { if (document.getElementById("tr1_" + id).style.display != "none") { document.getElementById("audio_goal").play(); } } } catch (e) { }; window.setTimeout("timecolors(" + id + "," + n + ")", 120000); } function CheckSound(n) { soundid = n; sound_init(); document.getElementById("audio_goal").play(); } sound_init(); function sound_init() { //主队声音 var sound_arr = new Array(); sound_arr.push(''); sound_arr.push(''); sound_arr.push(''); sound_arr.push(''); _$("soundsGoal").innerHTML = sound_arr.join(""); //红牌声音 sound_arr = new Array(); sound_arr.push(''); sound_arr.push(''); sound_arr.push(''); sound_arr.push(''); _$("soundsRed").innerHTML = sound_arr.join(""); _$("audio_goal").load(); _$("audio_red").load(); window.removeEventListener("touchstart", soundHandle, true); window.addEventListener("touchstart", soundHandle, true); } function soundHandle() { _$("audio_goal").load(); _$("audio_red").load(); window.removeEventListener("touchstart", soundHandle); } function timecolors(matchid,matchindex){ try{ var tr=document.getElementById("tr1_" + matchid); tr.cells[4].style.backgroundColor=""; tr.cells[5].innerHTML=A[matchindex][9] +" - "+ A[matchindex][10]; tr.cells[6].style.backgroundColor=""; } catch(e){} } function clearNotify(){ document.getElementById("notify").innerHTML=""; } function ShowAllMatch(){ var i,j,inputs; inputs=document.getElementById("myleague2").getElementsByTagName("input"); for(var i=0; i
";	tr.cells[9].innerHTML="
";	} //dispaly by status function ShowMatchByMatchState(n){ var i,j; var hh=0; var trs=document.getElementById("table_live").getElementsByTagName("tr"); for(var i=1; i< trs.length - 1) { trs[i + 1].style.display = "none"; } } } for(var i=1;i<=matchcount;i++){ if(Bf_simply_disp && B[A[i][1]][4]==0) continue; if(n==1 && parseInt(A[i][8])>0 || n==2 && A[i][8]=="-1" || n==3 && A[i][8]=="0" || n==4 && A[i][20]=="True") { document.getElementById("tr1_" + A[i][0]).style.display=""; if(A[i][22]!="" || A[i][24] != "") document.getElementById("tr2_" + A[i][0]).style.display=""; } else hh=hh+1; } document.getElementById("hiddencount").innerHTML=hh; if(orderby=="league"){ for(var i=1;i<=sclasscount;i++) { var show=false; if(Bf_simply_disp && B[i][4]==0) continue; 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"; if (document.getElementById("tr2_" + A[i][0])) document.getElementById("tr2_" + A[i][0]).style.display = "none"; document.getElementById("hiddencount").innerHTML=parseInt(document.getElementById("hiddencount").innerHTML)+1; if(hiddenID.indexOf("_"+A[i][0] + "_")==-1) hiddenID+=A[i][0] + "_"; writeCookie("Hidden_MatchID", hiddenID);	} function hideSelMatch(){ if(hiddenID=="_") return; var hh=0; var id=hiddenID.split("_"); for(var i=1;i45) goTime = "45+"; if(goTime<1) goTime = "1"; document.getElementById("time_" + A[i][0]).innerHTML = goTime + " "; } if(A[i][8]=="3"){ //part 2	var t = A[i][7].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) { if(A[n][8]=="0") return;	try{ if(Math.floor((new Date()-loadDetailFileTime)/600)>6) LoadDetailFile(); var R=new Array(); var html="
เกมแรก ：" +Goal2GoalCn(A[n][21]) +"
";	document.getElementById('winScore').style.left =(document.body.clientWidth/2-175) +"px"; document.getElementById('winScore').style.top = (getTopHeight() + event.clientY + 15) + "px"; document.getElementById("winScore").innerHTML=html; 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("Due to procedural busyness or other network problems, you have been disconnected with the server more than 5 minutes, whether re-link to continue your watching score or not?")) window.location.reload(); } oldUpdateTime = lastUpdateTime; window.setTimeout("check()" , 300000); } function ShowTeamOrder(){ if(document.getElementById("TeamOrderCheck").checked){ writeCookie("TeamOrderCheck", 1); for(var i=1;i<=matchcount;i++){ //if(A[i][26]==0) continue; var reg=/[\u4E00-\u9FA5]/g; if(A[i][17]!=""&& document.getElementById("horder_" + A[i][0])) document.getElementById("horder_" + A[i][0]).innerHTML="["+ A[i][17].toString().replace(reg,"") +"]"; if(A[i][18]!=""&& document.getElementById("gorder_" + A[i][0])) document.getElementById("gorder_" + A[i][0]).innerHTML="["+ A[i][18].toString().replace(reg,"") +"]"; } CzcApi("比分调用", "设置","显示排名"); } else{ writeCookie("TeamOrderCheck", 0); for(var i=1;i<=matchcount;i++){ //if(A[i][26]==0) continue; if(A[i][17]!=""&&document.getElementById("horder_" + A[i][0])) document.getElementById("horder_" + A[i][0]).innerHTML=""; if(A[i][18]!=""&&document.getElementById("gorder_" + A[i][0])) document.getElementById("gorder_" + A[i][0]).innerHTML=""; } CzcApi("比分调用", "设置", "排名不显"); } } function showWindowCheck() { if(document.getElementById("windowCheck").checked) { windowCheck=true; writeCookie("windowCheck", 1); } else { windowCheck=false; writeCookie("windowCheck", 0); } } function showRedCheck() { if(document.getElementById("RedCheck").checked) { writeCookie("RedCheck", 1); } else { writeCookie("RedCheck", 0); } } function showYellowCheck() { if(document.getElementById("YellowCheck").checked) { writeCookie("YellowCheck", 1); for(var i=1;i<=matchcount;i++) { if(document.getElementById("yellow1_"+A[i][0])) document.getElementById("yellow1_"+A[i][0]).style .display=""; if(document.getElementById("yellow2_"+A[i][0])) document.getElementById("yellow2_"+A[i][0]).style .display=""; } } else { writeCookie("YellowCheck", 0); for(var i=1;i<=matchcount;i++) { if(document.getElementById("yellow1_"+A[i][0])) document.getElementById("yellow1_"+A[i][0]).style .display="none"; if(document.getElementById("yellow2_"+A[i][0])) document.getElementById("yellow2_"+A[i][0]).style .display="none"; } } } function setOrderby(a) { orderby=a writeCookie("orderby", orderby); LoadLiveFile(); } function ReplaceStyle(css) { document.getElementById("cssLink").href="/styles/" + css +".css"; writeCookie("css", css); } function LoadLiveFile() { var allDate=document.getElementById("allDate"); var s=document.createElement("script"); s.type="text/javascript"; if(infoid!="") { s.src="//data.thscore.cc/MatchByCountry.aspx?infoid=" +infoid+"∨derby="+orderby+"&t=" +Date.parse(new Date()); document.getElementById("li_"+infoid).className="select"; } else { s.src="/data/bf_th.js?" +Date.parse(new Date()); }	allDate.removeChild(allDate.firstChild); allDate.appendChild(s,"script");	window.setTimeout("LoadLiveFile()", 3600 * 1000); } function LoadDetailFile() { var detail=document.getElementById("span_detail"); var s=document.createElement("script"); s.type="text/javascript"; s.src="/data/detail.js?" +Date.parse(new Date()); detail.removeChild(detail.firstChild); detail.appendChild(s,"script");	loadDetailFileTime=new Date(); } function LoadSbDetailFile() { var detail = document.getElementById("span_sbDetail"); var s = document.createElement("script"); s.type = "text/javascript"; s.charset = "utf-8"; if (companyID == 3) s.src = "/data/sbOddsData.js?" + Date.parse(new Date()); else s.src = "/data/runOddsData_" + companyID + ".js?" + Date.parse(new Date()); detail.removeChild(detail.firstChild); detail.appendChild(s, "script"); loadSbDetailTime = new Date(); } function changeFontSize(obj,size){ for(var i=1;i<=matchcount;i++){ if(Bf_simply_disp==false || A[i][26]==1){ document.getElementById("team1_"+ A[i][0]).style.fontSize=size+"px"; document.getElementById("team2_"+ A[i][0]).style.fontSize=size+"px"; } } } function analysis2(ID){ window.open("/analysis/" + ID +".html"); } orderby=getCookie("orderby"); if(orderby==null) orderby="time"; LoadLiveFile(); window.setTimeout("getxml()",3000); window.setTimeout("check()" , 5000); document.getElementById("oddsCompany").value =companyID; function urlOddsCompany(cid) { window.location.href="/asianbookie.htm?id="+cid; } function ToApp() { if (navigator.userAgent.toLowerCase().indexOf("android") != -1 || navigator.userAgent.toLowerCase().indexOf("iphone") != -1 || navigator.userAgent.toLowerCase().indexOf("mobile") != -1) { window.open("http://m.thscore.cc/download.htm"); } else window.open("http://live.thscore.cc/app.htm"); } function CzcPhoneClick() { if (IsMobile()) { _czc.push(["_trackEvent", "比分调用", "预览", "赔率"]); } }