function MM_findObj(n, d) { //v4.01 var p, i, x; if (!d) d = document; if ((p = n.indexOf("?")) > 0 && parent.frames.length) { d = parent.frames[n.substring(p + 1)].document; n = n.substring(0, p); } if (!(x = d[n]) && d.all) x = d.all[n]; for (i = 0; !x && i < d.forms.length; i++) x = d.forms[i][n]; for (i = 0; !x && d.layers && i < d.layers.length; i++) x = MM_findObj(n, d.layers[i].document); if (!x && d.getElementById) x = d.getElementById(n); return x; } function MM_showHideLayers() { //v6.0 var i, p, v, obj, args = MM_showHideLayers.arguments; for (i = 0; i < (args.length - 2) ; i += 3) if ((obj = MM_findObj(args[i])) != null) { v = args[i + 2]; if (obj.style) { obj = obj.style; v = (v == 'show') ? 'visible' : (v == 'hide') ? 'hidden' : v; } obj.visibility = v; } } var ua = navigator.userAgent.toLowerCase(); var ieNum = 0; var showCont = 0; var loadSbDetailTime = new Date(); var sData = new Object(); try { if (document.all && typeof (document.documentMode) != "undefined") ieNum = document.documentMode; } catch (e) { ieNum = 0; } function ScoreDetail(ID) { var theURL = 'https://info.8bo8.net/detail/score_big.html?id=' + ID ; window.open(theURL, '', 'width=670,height=520,top=40,left=40,resizable=yes,scrollbars=yes'); } document.write(''); if (!window.createPopup) { window.createPopup = function () { var __createPopup = function () { var SetElementStyles = function (element, styleDict) { var style = element.style; for (var styleName in styleDict) style[styleName] = styleDict[styleName]; } var eDiv = document.createElement('div'); SetElementStyles(eDiv, { 'position': 'absolute', 'top': 0 + 'px', 'left': 0 + 'px', 'width': 0 + 'px', 'height': 0 + 'px', 'zIndex': 1000, 'display': 'none', 'overflow': 'hidden' }); eDiv.body = eDiv; var opened = false; var setOpened = function (b) { opened = b; } var getOpened = function () { return opened; } var getCoordinates = function (oElement) { var coordinates = { x: 0, y: 0 }; while (oElement) { coordinates.x += oElement.offsetLeft; coordinates.y += oElement.offsetTop; oElement = oElement.offsetParent; } return coordinates; } return { htmlTxt: '', document: eDiv, isOpen: getOpened(), isShow: false, hide: function () { SetElementStyles(eDiv, { 'top': 0 + 'px', 'left': 0 + 'px', 'width': 0 + 'px', 'height': 0 + 'px', 'display': 'none' }); eDiv.innerHTML = ''; this.isShow = false; }, show: function (iY, iX, iWidth, iHeight, oElement) { if (!getOpened()) { document.body.appendChild(eDiv); setOpened(true); }; this.htmlTxt = eDiv.innerHTML; if (this.isShow) { this.hide(); }; eDiv.innerHTML = this.htmlTxt; var coordinates = getCoordinates(oElement); eDiv.style.top = (iX + coordinates.x) + 'px'; eDiv.style.left = (iY + coordinates.y) + 'px'; eDiv.style.width = iWidth + 'px'; eDiv.style.height = iHeight + 'px'; eDiv.style.display = 'block'; this.isShow = true; } } } return __createPopup(); } } //显示进球窗口 var startani_C, startani_A, startani_B, pop_TC; var oPopup; try { oPopup = window.createPopup(); } catch (e) { } function ShowCHWindow(str, matchnum) { imagewidth = 460; imageheight = 41 + 33 * matchnum; var st = ""; st = st + ""; st = st + ""; st = st + str; st = st + ""; st = st + "
波8比分网 进球提示
www.8bo8.net
"; x = 280; y = 1; switch (Config.winLocation) { case 0: x = (screen.width - imagewidth) / 2; y = screen.height - imageheight - 154; break; case 1: x = (screen.width - imagewidth) / 2; y = 1; break; case 2: x = 2; y = (screen.height - imageheight) / 2; break; case 3: x = screen.width - imagewidth - 2; y = (screen.height - imageheight) / 2; break; case 4: x = 1; y = 1; break; case 5: x = screen.width - imagewidth - 2; y = 1; break; case 6: x = 1; y = screen.height - imageheight - 30; break; case 7: x = screen.width - imagewidth - 2; y = screen.height - imageheight - 30; break; } oPopupBody = oPopup.document.body; oPopupBody.innerHTML = st; oPopupBody.style.cursor = "pointer"; oPopupBody.title = "点击关闭"; oPopupBody.onclick = dismisspopup; oPopupBody.oncontextmenu = dismisspopup; pop_TC = 50; pop(); } function pop() { try { oPopup.show(x, y, imagewidth, imageheight); startani_A = setTimeout("pop()", 300); //显示15秒 if (pop_TC < 0) { dismisspopup(); }; pop_TC = pop_TC - 1; } catch (e) { } } function dismisspopup() { clearTimeout(startani_A); oPopup.hide(); } function Recommend(ID) { window.open("https://8bo8.net/reco/"); } function showgoallist(ID) { window.open("https://info.8bo8.net/detail/score_big.html?id=" + ID); } function showmatchinfo(ID) { window.open("https://info.8bo8.net/detail/score_big.html?id=" + ID); } function analysis(ID) { var theURL = "https://info.8bo8.net/xi/index_big.html?id=" + ID ; window.open(theURL); } function AsianOdds(ID) { var theURL = "https://info.8bo8.net/xi/oddsmatch.html?id=" + ID; window.open(theURL); } function EuropeOdds(ID) { var theURL = "https://info.8bo8.net/xi/Ou.html?id=" + ID ; window.open(theURL); } function TeamPanlu_10(ID) { var theURL = "https://info.8bo8.net/xi/panLu.html?id=" + ID ; window.open(theURL, "", "width=658,height=700,top=10,left=100,resizable=yes,scrollbars=yes"); } function oddsDetail(ID, cId) { window.open("https://info.8bo8.net/xi/3in1Odds.html?id=" + ID + "&companyid=" + cId, "", ""); } function NBATeam(id) { window.open("https://info2.8bo8.net/cn/Team/Summary.aspx?TeamID=" + id); } function NBAAsiaOdds(id) { window.open("https://info2.8bo8.net/files/oddsComp.aspx?id=" + id); } function NBAEuropeOdds(id) { window.open("https://info2.8bo8.net/files/odds/1x2.aspx?id=" + id); } function NBAAnalysis(id) { window.open("https://info2.8bo8.net/files/Analysis.aspx?id=" + id); } function NBALive(id) { window.open("https://info2.8bo8.net/cn/Tech/TechTxtLive.aspx?matchid=" + id); } function NBAZouShi(id,cid) { window.open("https://info2.8bo8.net/files/odds/2in1Odds.aspx?id=" + id + "&cid=" + cid); } var zXml = { useActiveX: (typeof ActiveXObject != "undefined"), useXmlHttp: (typeof XMLHttpRequest != "undefined") }; zXml.ARR_XMLHTTP_VERS = ["MSXML2.XmlHttp.6.0", "MSXML2.XmlHttp.3.0"]; function zXmlHttp() { } zXmlHttp.createRequest = function () { if (zXml.useXmlHttp) return new XMLHttpRequest(); if (zXml.useActiveX) //IE < 7.0 = use ActiveX { if (!zXml.XMLHTTP_VER) { for (var i = 0; i < zXml.ARR_XMLHTTP_VERS.length; i++) { try { new ActiveXObject(zXml.ARR_XMLHTTP_VERS[i]); zXml.XMLHTTP_VER = zXml.ARR_XMLHTTP_VERS[i]; break; } catch (oError) { } } } if (zXml.XMLHTTP_VER) return new ActiveXObject(zXml.XMLHTTP_VER); } alert("对不起,您的电脑不支持 XML 插件,请安装好或升级浏览器。"); }; var flash_sound = ["/files/audio/soccer/sound", "/files/audio/soccer/notice", "/files/audio/soccer/base", "/files/audio/soccer/deep", "/files/audio/oddssound"]; var state_ch = Array(18); state_ch[0] = "推迟,推遲,Defer"; state_ch[1] = "中断,中斷,Halt"; state_ch[2] = "腰斩,腰斬,Halt"; state_ch[3] = "待定,待定,Wait"; state_ch[4] = "取消,取消,Cancel"; state_ch[13] = ",,Ft"; state_ch[14] = ",,"; state_ch[15] = "上,上,Part1"; state_ch[16] = ",,Half"; state_ch[17] = "下,下,Part2"; state_ch[18] = "加,加,Ot"; state_ch[19] = "点,點,PSO"; var GoalCn = "平手,平/半,半球,半/一,一球,一/球半,球半,球半/两,两球,两/两球半,两球半,两球半/三,三球,三/三球半,三球半,三球半/四,四球,四/四球半,四球半,四球半/五,五球,五/五球半,五球半,五球半/六,六球,六/六球半,六球半,六球半/七,七球,七/七球半,七球半,七球半/八,八球,八/八球半,八球半,八球半/九,九球,九/九球半,九球半,九球半/十球,十球,十球/十球半,十球半,十球半/十一球".split(","); function Goal2GoalCn(goal) { //数字让球转汉汉字 if (isNaN(goal) || goal === null || goal === "") return ""; goal = parseFloat(goal); var g = Math.abs(goal); var i = g * 4; return (goal < 0 ? "受" : "") + (i < GoalCn.length ? GoalCn[i] : g+"球"); } var GoalCn2 = ["0", "0/0.5", "0.5", "0.5/1", "1", "1/1.5", "1.5", "1.5/2", "2", "2/2.5", "2.5", "2.5/3", "3", "3/3.5", "3.5", "3.5/4", "4", "4/4.5", "4.5", "4.5/5", "5", "5/5.5", "5.5", "5.5/6", "6", "6/6.5", "6.5", "6.5/7", "7", "7/7.5", "7.5", "7.5/8", "8", "8/8.5", "8.5", "8.5/9", "9", "9/9.5", "9.5", "9.5/10", "10", "10/10.5", "10.5", "10.5/11", "11", "11/11.5", "11.5", "11.5/12", "12", "12/12.5", "12.5", "12.5/13", "13", "13/13.5", "13.5", "13.5/14", "14"]; function Goal2GoalCn2(goal) { if (isNaN(goal) || goal === null || goal === "") return ""; else { if (parseInt(goal * 4) >= GoalCn2.length) return goal; return GoalCn2[parseInt(goal * 4)]; } } var _Config = function () { this.language = 1; this.matchType = 0; this.oddsSound = 0; this.fontsize = 12; this.rank = 0; this.explain = 1; this.redcard = 1; this.detail = 1; this.vs = 1; this.odds = 1; this.yp = 1; this.op = 0; this.dx = 1; this.sound = 0; this.winLocation = 0; this.companyID = 3; this.showSbOddsDetail = 1; this.ifAlias = 0; this.ifShowCorn = 1; } _Config.prototype = { getCookie : function (type) { var Cookie = getCookie("Cookie"); if (Cookie == null) Cookie = ""; var Cookie = Cookie.split("^"); if (Cookie.length <= 14) writeCookie("Cookie", null); else { this.language = parseInt(Cookie[0]); this.matchType = parseInt(Cookie[1]); this.oddsSound = parseInt(Cookie[2]); this.fontsize = parseInt(Cookie[3]); this.rank = parseInt(Cookie[4]); this.explain = parseInt(Cookie[5]); this.redcard = parseInt(Cookie[6]); this.detail = parseInt(Cookie[7]); this.vs = parseInt(Cookie[8]); this.yp = parseInt(Cookie[9]); this.op = parseInt(Cookie[10]); this.dx = parseInt(Cookie[11]); this.sound = parseInt(Cookie[12]); this.winLocation = parseInt(Cookie[13]); } if (Cookie.length > 14) this.companyID = parseInt(Cookie[14]); if (Cookie.length > 15) this.showSbOddsDetail = parseInt(Cookie[15]); if (Cookie.length > 16) this.ifAlias = parseInt(Cookie[16]); if (Cookie.length > 17) this.ifShowCorn = parseInt(Cookie[17]); try { var lang = this.language; if (this.ifAlias && document.getElementById("Languagealias") != null) lang = "alias"; document.getElementById("Language" + lang).className = "selected"; if (this.rank == 1) document.getElementById("rank").checked = true; if (this.explain == 0) document.getElementById("explain").checked = false; if (this.redcard == 0) document.getElementById("redcard").checked = false; if (this.detail == 0) document.getElementById("detail").checked = false; if (this.vs == 0) document.getElementById("vs").checked = false; if (this.sound == -1) document.getElementById("soundCheck").checked = false; if (this.sound > 0) document.getElementById("sound").value = this.sound; if (this.oddsSound == 1) document.getElementById("oddsSound").checked = true; if (this.winLocation == -1) document.getElementById("windowCheck").checked = false; if (this.winLocation > 0) document.getElementById("winLocation").value = this.winLocation; if (type == "2in1") { if (this.yp == 1) document.getElementById("yp").checked = true; if (this.op == 1) document.getElementById("op").checked = true; if (this.dx == 1) document.getElementById("dx").checked = true; if (this.showSbOddsDetail == 0) document.getElementById("showSbOddsDetail").checked = false; if (this.ifShowCorn == 0) document.getElementById("cb_ifShowCorn").checked = false; } else document.getElementById("MatchType" + this.matchType).className = "selected"; } catch (e) { } }, writeCookie : function () { var value = this.language + "^" + this.matchType + "^" + this.oddsSound + "^" + this.fontsize + "^" + this.rank + "^" + this.explain + "^" + this.redcard + "^" + this.detail + "^" + this.vs + "^" + this.yp + "^" + this.op + "^" + this.dx + "^" + this.sound + "^" + this.winLocation + "^" + this.companyID + "^" + this.showSbOddsDetail + "^" + this.ifAlias + "^" + this.ifShowCorn; writeCookie("Cookie", value); } } //定义Config var Config = new _Config(); function showExplain(exlist, hometeam, guestteam) {// 广东体育; 1 | 1; 2 | 5; 12 | 90, 1 - 1; 2 - 2; 1, 2 - 2; 5 - 4; 1 hometeam = hometeam.replace(/<[^>].*?>/g, "").split("(")[0]; guestteam = guestteam.replace(/<[^>].*?>/g, "").split("(")[0]; var txtArr = []; if (exlist) { var arrExplain = exlist.split('|'); for (var i = 0; i < arrExplain.length; i++) { var tempArr = arrExplain[i].split(';'); var vArr = []; var sp = ""; switch (i) { case 0: if (tempArr[0] != "") vArr.push(tempArr[0]); break; case 1: if (tempArr[0] == 1 || tempArr[0] == 2) vArr.push("先开球(" + (tempArr[0] == 1 ? hometeam : guestteam) + ")"); if (tempArr[1] != "") { if (tempArr[1] == "1") vArr.push(" [独家宽频]"); else vArr.push(" [免费直播]"); } break; case 2: if (tempArr[0] != "") vArr.push("角球数(" + tempArr[0] + ") | 角球数(" + tempArr[1] + ")"); break; case 3: if (tempArr[0] != "") { sp = ","; vArr.push(tempArr[0].split(',')[0] + "分钟[" + tempArr[0].split(',')[1] + "]"); if (tempArr[1] != "") vArr.push("两回合[" + tempArr[1] + "]"); if (tempArr[2] != "") vArr.push((tempArr[2].split(',')[0] == "1" ? "120分钟" : "加时") + "[" + tempArr[2].split(',')[1] + "]"); if (tempArr[3] != "") vArr.push("点球[" + tempArr[3] + "]"); if (tempArr[4] == 1 || tempArr[4] == 2) vArr.push((tempArr[4] == 1 ? hometeam : guestteam) + "胜出"); } break; } if (vArr.length > 0) txtArr.push(vArr.join(sp)); } } return txtArr.join("
"); } function getElementPos(elementId) { if (typeof (jQuery) != "undefined") { var obj = jQuery("#" + elementId).offset(); if (obj!==null) return { x: obj.left, y: obj.top }; return false; } var ua = navigator.userAgent.toLowerCase(); var isOpera = (ua.indexOf('opera') != -1); var isIE = (ua.indexOf('msie') != -1 && !isOpera); // not opera spoof var el = document.getElementById(elementId); if (el.parentNode === null || el.style.display == 'none') { return false; } var parent = null; var pos = []; var box; if (el.getBoundingClientRect) //IE { box = el.getBoundingClientRect(); var scrollTop = Math.max(document.documentElement.scrollTop, document.body.scrollTop); var scrollLeft = Math.max(document.documentElement.scrollLeft, document.body.scrollLeft); return { x: box.left + scrollLeft, y: box.top + scrollTop }; } else if (document.getBoxObjectFor) // gecko { box = document.getBoxObjectFor(el); var borderLeft = (el.style.borderLeftWidth) ? parseInt(el.style.borderLeftWidth) : 0; var borderTop = (el.style.borderTopWidth) ? parseInt(el.style.borderTopWidth) : 0; pos = [box.x - borderLeft, box.y - borderTop]; } else // safari & opera { pos = [el.offsetLeft, el.offsetTop]; parent = el.offsetParent; if (parent != el) { while (parent) { pos[0] += parent.offsetLeft; pos[1] += parent.offsetTop; parent = parent.offsetParent; } } if (ua.indexOf('opera') != -1 || (ua.indexOf('safari') != -1 && el.style.position == 'absolute')) { pos[0] -= document.body.offsetLeft; pos[1] -= document.body.offsetTop; } } if (el.parentNode) { parent = el.parentNode; } else { parent = null; } while (parent && parent.tagName != 'BODY' && parent.tagName != 'HTML') { // account for any scrolled ancestors pos[0] -= parent.scrollLeft; pos[1] -= parent.scrollTop; if (parent.parentNode) { parent = parent.parentNode; } else { parent = null; } } return { x: pos[0], y: pos[1] }; } function changeData(odds) { if (typeof (odds) == "undefined" || odds == "") return ""; var tmp = odds; var arrd = odds.toString().split("."); if (arrd.length > 1) { if (arrd[1].length == 1) tmp = tmp + "0"; } else tmp = tmp + ".00"; return tmp; } function getStrDiv(odds1, odds2) { if (typeof (odds1) == "undefined" || odds1 + "" == "") return ""; var retVal; var tmp = changeData(odds1); if (parseFloat(odds1) > parseFloat(odds2)) retVal = '
' + tmp + '
'; else if (parseFloat(odds1) < parseFloat(odds2)) retVal = '
' + tmp + '
'; else retVal = tmp; return retVal; } function getStrDiv2(goal1, goal2, t) { if (typeof (goal1) == "undefined" || goal1 + "" == "") return ""; var tmp = "", retVal; if (t == 1) tmp = Goal2GoalCn(goal1); else tmp = Goal2GoalCn2(goal1); if (parseFloat(goal1) != parseFloat(goal2)) retVal = '
' + tmp + '
'; else retVal = tmp; return retVal; } function getTopHeight() { var adTop = 0; if (document.documentElement && document.documentElement.scrollTop) adTop = document.documentElement.scrollTop; else if (document.body) adTop = document.body.scrollTop else adTop = window.pageYOffset; return adTop; } function returnTop() { var top = getTopHeight(); var rt = document.getElementById("ToTop"); if (top > 150 && document.body.clientWidth > 1024) { rt.style.display = ""; rt.style.left = (480 + document.body.clientWidth / 2) + "px"; } else rt.style.display = "none"; setTimeout("returnTop();", 100); } function IsType(obj, type) { return (type === "Null" && obj === null) || (type === "Undefined" && obj === void 0) || (type === "Number" && isFinite(obj)) || Object.prototype.toString.call(obj).slice(8, -1) === type; } function removeTV(tv, sclassID, sclassName) { if (tv != "") { tv = tv.replace(/]*?href=["']*([^"'\s]*)[^>]*>(?:]*>|)([^<>]*).*?<\/a>/ig, function (strObj, $1, $2) { if (typeof (removeTV.hrefJson) === "undefined") { var guess = ["/", "有奖竞猜"]; removeTV.hrefJson = { "/guess/ranking.aspx?t=1": guess, "/forum/bocai/2016092697.html": "/news/692967.htm", "/info/HelpInfo/Act.aspx": guess, "http://www.saiday.com": ["/wap.aspx", "手机看比分"] }; } if (typeof (removeTV.hrefJson[$1]) !== "undefined") { var value = removeTV.hrefJson[$1]; if (value instanceof Array) { strObj = strObj.replace($1, value[0]); strObj = strObj.replace($2, value[1]); } else strObj = strObj.replace($1, value); } var temp = strObj.toLowerCase(); if (temp.indexOf("007.com") > -1 || temp.indexOf("365rich") > -1 || temp.indexOf("haocai138") > -1 || temp.indexOf("saiday.com") > -1 || temp.indexOf("iwintv.com") > -1) strObj = ""; return strObj; }); tv = tv.replace(/(^(?:\s|| )+)|((?:\s|| )+$)/ig, ""); } //var cupUrl = { 1864: "/", 192: "/yg", 89: "/zy", 103: "/og", 113: "/olb", 304: "/sj", 344: "/mg" } //if (typeof (sclassID) != "undefined" && typeof (sclassName) != "undefined" && typeof (cupUrl[sclassID]) !== "undefined") { // tv += (tv != "" ? "  " : "") + '' + sclassName + '专题'; //} return tv; } function getTeamName(ifAlias, name, alias) { if (!ifAlias) return name; var str = ""; var mv = name.match(/<[^>]*>\([^\)]*\)<[^>]*>$/); if (mv != null) str=mv[0]; return alias instanceof Array ? (alias[0] + str) : name; }