"; else this.H_redcard = "";
if (infoArr[21] != "0") this.G_redcard = "
"; else this.G_redcard = "";
if (infoArr[22] != "0") this.H_yellow = "
"; else this.H_yellow = "";
if (infoArr[23] != "0") this.G_yellow = "
"; else this.G_yellow = "";
this.matchCenter = infoArr[24];
}
this.getT1Name = function () {
if (Config.language == 2)
return this.t1EnName;
else if (Config.language == 1)
return this.t1TrName;
else
return this.t1CnName;
}
this.getT2Name = function () {
if (Config.language == 2)
return this.t2EnName;
else if (Config.language == 1)
return this.t2TrName;
else
return this.t2CnName;
}
}
//亚赔信息
_glodds.OddsAsian = function (infoStr) {
var infoArr = infoStr.split(_glodds.SplitColumn); //711286,12,1,1.15,0.80,1,1.15,0.80,False,False,1;
this.mId = infoArr[0];
this.cId = infoArr[1];
this.goalF = infoArr[2];
this.homeF = infoArr[3];
this.awayF = infoArr[4];
this.goal = infoArr[5];
this.home = infoArr[6];
this.away = infoArr[7];
this.close = infoArr[8];
this.zoudi = infoArr[9];
if (isMulti()) {
this.num = infoArr[10];
this.maxNum = infoArr[11];
}
}
//欧赔信息
_glodds.Odds1x2 = function (infoStr) {
var infoArr = infoStr.split(_glodds.SplitColumn); //711286,12,1.55,3.75,5.30,1.55,3.75,5.30,1;
this.mId = infoArr[0];
this.cId = infoArr[1];
this.hwF = infoArr[2];
this.stF = infoArr[3];
this.awF = infoArr[4];
this.hw = infoArr[5];
this.st = infoArr[6];
this.aw = infoArr[7];
if (isMulti())
this.num = infoArr[8];
}
//大小赔率信息
_glodds.OddsOU = function (infoStr) {
var infoArr = infoStr.split(_glodds.SplitColumn); //711286,12,2.75,0.85,0.95,2.75,0.85,0.95,1;
this.mId = infoArr[0];
this.cId = infoArr[1];
this.goalF = infoArr[2];
this.overF = infoArr[3];
this.underF = infoArr[4];
this.goal = infoArr[5];
this.over = infoArr[6];
this.under = infoArr[7];
if (isMulti())
this.num = infoArr[8];
}
//OddsAsian HT
_glodds.OddsAsian_HT = function (infoStr) {
var infoArr = infoStr.split(_glodds.SplitColumn); //209092,8,0.5,0.95,0.95,0.5,1.025,0.875;
this.mId = infoArr[0];
this.cId = infoArr[1];
this.goalF = infoArr[2];
this.homeF = infoArr[3];
this.awayF = infoArr[4];
this.goal = infoArr[5];
this.home = infoArr[6];
this.away = infoArr[7];
}
//OddsOU HT
_glodds.OddsOU_HT = function (infoStr) {
var infoArr = infoStr.split(_glodds.SplitColumn); //209092,8,0.5,0.95,0.95,0.5,1.025,0.875
this.mId = infoArr[0];
this.cId = infoArr[1];
this.goalF = infoArr[2];
this.overF = infoArr[3];
this.underF = infoArr[4];
this.goal = infoArr[5];
this.over = infoArr[6];
this.under = infoArr[7];
}
var _oddsUitl = new Object();
var matchdata = new Object();
_oddsUitl.getDayStr = function (dt) {
return (dt.getMonth() + 1) + "-" + dt.getDate();
}
_oddsUitl.getOnlyDate = function (dt) {
return dt.getFullYear() + "-" + (dt.getMonth() + 1) + "-" + dt.getDate();
}
_oddsUitl.getTimeStr = function (dt) {
return dt.getHours() + ":" + (dt.getMinutes() < 10 ? "0" : "") + dt.getMinutes();
}
_oddsUitl.getDtStr = function (dt) {
return (dt.getMonth() + 1) + "-" + dt.getDate() + " " + (dt.getHours() < 10 ? "0" : "") + dt.getHours() + ":" + (dt.getMinutes() < 10 ? "0" : "") + dt.getMinutes();
}
_oddsUitl.getDateTimeStr = function (dt) {
return dt.getFullYear() + "-" + (dt.getMonth() + 1) + "-" + dt.getDate() + " " + (dt.getHours() < 10 ? "0" : "") + dt.getHours() + ":" + (dt.getMinutes() < 10 ? "0" : "") + dt.getMinutes();
}
_oddsUitl.getDate = function (str) {
var p = (str.indexOf("-") != -1 ? str.split("-") : str.split(","));
return new Date(p[0], parseInt(p[1], 10) - 1, p[2]);
}
var xmlBf = zXmlHttp.createRequest();
var oldBfXML = ""
function getbfxml() {
xmlBf.open("get", "http://www.boqbf.com/odd/xml_change.html", true);
xmlBf.onreadystatechange = bfRefresh;
xmlBf.send(null);
window.setTimeout("getbfxml()", 6000);
}
var isScoreOddsUrl = location.href.toLowerCase().indexOf("oldOdds") == -1 && location.href.toLowerCase().indexOf("company") == -1;
function bfRefresh() {
if (xmlBf.readyState != 4 || (xmlBf.status != 200 && xmlBf.status != 0)) return;
if (oldBfXML == xmlBf.responseText || xmlBf.responseText == "") return
oldBfXML = xmlBf.responseText;
var root = xmlBf.responseXML.documentElement;
var D = new Array();
var matchindex, score1change, score2change, scorechange;
var goTime, hometeam, guestteam, sclassname, score1, score2, tr;
var matchNum = 0;
var notify = "";// document.getElementById("notify").innerHTML;
for (var i = 0; i < root.childNodes.length; i++) {
D = root.childNodes[i].childNodes[0].nodeValue.split("^"); //0:ID,1:state,2:score1,3:score2,4:half1,5:half2,6:card1,7:card2,8:time1,9:time2,10:explain,11:lineup
matchItem = matchdata.MatchList.Get(D[0]);
if (matchItem == null) continue;
if (document.getElementById("table_" + D[0]) == null) continue;
score1change = false;
if (matchItem.homeScore != D[2]) {
matchItem.homeScore = D[2];
score1change = true;
if (!isScoreOddsUrl)
document.getElementById("hs_" + matchItem.mId).innerHTML = D[2];
document.getElementById("home_" + matchItem.mId).style.backgroundColor = "yellow";
}
score2change = false;
if (matchItem.guestScore != D[3]) {
matchItem.guestScore = D[3];
score2change = true;
if (!isScoreOddsUrl)
document.getElementById("gs_" + matchItem.mId).innerHTML = D[3];
document.getElementById("guest_" + matchItem.mId).style.backgroundColor = "yellow";
}
scorechange = score1change || score2change;
if (scorechange && isScoreOddsUrl)
document.getElementById("score_" + matchItem.mId).innerHTML = '' + D[2] + "-" + D[3] + '';
if (!isCompany()) {
//红牌变化了
if (D[6] != matchItem.h_redcard) {
matchItem.h_redcard = D[6];
if (D[6] == "0")
document.getElementById("redcard1_" + D[0]).innerHTML = "";
else
document.getElementById("redcard1_" + D[0]).innerHTML = "
";
// if (matchType == 1 && level != 0) MoveToBottom(D[0]); //开场隐藏
break;
case "2":
case "4":
document.getElementById("time_" + matchItem.mId).innerHTML = getMatchState(D[1]);
break;
case "3":
goTime = Math.floor((new Date() - matchItem.time2 - difftime) / 60000) + 46;
if (goTime > 90) goTime = "90+";
if (goTime < 46) goTime = "46";
document.getElementById("time_" + matchItem.mId).innerHTML = goTime + "
";
break;
case "-1":
document.getElementById("time_" + matchItem.mId).innerHTML = getMatchState(D[1]);
window.setTimeout("MoveToBottom(" + D[0] + ")", 30000);
break;
default:
document.getElementById("time_" + matchItem.mId).innerHTML = getMatchState(D[1]);
MoveToBottom(D[0]);
break;
}
}
if (scorechange) {
if (typeof (matchdata.TeamList) == "undefined") {
hometeam = matchItem.getT1Name();
guestteam = matchItem.getT2Name();
}
else {
var teamIteamH = matchdata.TeamList.Get(matchItem.t1Id);
var teamIteamG = matchdata.TeamList.Get(matchItem.t2Id);
hometeam = teamIteamH.getName();
guestteam = teamIteamG.getName();
}
score1 = D[2];
score2 = D[3];
if (score1change) {
hometeam = "" + hometeam + "";
score1 = "" + D[2] + "";
}
if (score2change) {
guestteam = "" + guestteam + "";
score2 = "" + D[3] + "";
}
//if (notify == "") notify = "入球提示:";
notify += hometeam + " " + score1 + "-" + score2 + " " + guestteam + " ";
//nofityTimer = window.setTimeout("clearNotify()", 20000);
window.setTimeout("bfcolors_water('" + matchItem.mId + "')", 30000);
if (Config.soundCheck) ShowSound("/images/sound.swf");
}
}
var objNotify = document.getElementById("notify");
if (notify != "") {
if (delHtmlTag(objNotify.innerHTML) == delHtmlTag(notifyAD))
objNotify.innerHTML = notify;
else
objNotify.innerHTML += notify;
window.clearTimeout(nofityTimer);
notifyTimer = window.setTimeout("clearNotify('" + notify + "')", 20000);
}
else if (objNotify.innerHTML == "")
objNotify.innerHTML = notifyAD;
}
function delHtmlTag(str) {
return str.replace(/<[^>]+>/g, ""); //去掉所有的html标记
}
function ShowSound(name) {
if (ieNum > 0 && ieNum < 6)
document.getElementById("sound").innerHTML = "";
else
document.getElementById("sound").innerHTML = "";
}
function clearNotify(str) {
var result;
try {
var re = new RegExp(str.replace("(", "\(").replace(")", "\)").replace("[", "\[").replace("]", "])"), "ig");
var notify = document.getElementById("notify").innerHTML;
var result = notify.replace(re, "");
if (notify == result) result = "";
if (result == "") result = notifyAD;
}
catch (e) { result = notifyAD; }
document.getElementById("notify").innerHTML = result;
}
function bfcolors_water(ID) {
try {
document.getElementById("home_" + ID).style.backgroundColor = "";
document.getElementById("guest_" + ID).style.backgroundColor = "";
} catch (e) { }
}
function MoveToBottom(id) {
try {
//document.getElementById("table_" + id).parentElement.insertAdjacentElement("BeforeEnd",document.getElementById("table_" + id));
document.getElementById("table_" + id).style.display = "none";
} catch (e) { }
}
function getType(t) {
var n = 0;
for (; n < 4; n++) {
if (document.getElementById("rb" + n).checked) break;
}
return n;
}
function getDefaultType() {
for (var n = 0; n < 4; n++) {
document.getElementById("rb" + n).checked = (n == 0);
}
}
function CheckLeague(obj) {
if (obj.checked)
obj.parentElement.style.backgroundColor = "#ffeeee";
else
obj.parentElement.style.backgroundColor = "white";
var leagueItem = matchdata.LeagueList.Get(obj.value);
var objNum = document.getElementById("leagueNum");
var num = parseInt(objNum.innerHTML.replace("[", "").replace("]", "").Trim());
var t = getType();
var checkNum = (t == 0 ? leagueItem.matchNum : hsLeagueCount.items(leagueItem.lId));
objNum.innerHTML = "[" + (obj.checked ? num + checkNum : num - checkNum) + "]";
}
function countOneFilter(j, checked) {
var name = "leagueNum";
var obj = document.getElementById(name);
var num = parseInt(obj.innerHTML.replace("[", "").replace("]", "").Trim());
var count = 0;
if (kind == 1) {
var n = 0;
for (; n < 5; n++) {
if (document.getElementById("rb" + n).checked) break;
}
for (var i = 1; i <= matchcount; i++) {
if (A[i][0] > 0 && (n == 0 || (n == 1 && parseInt(A[i][13]) > 0) || (n == 2 && A[i][13] == "-1") || (n == 3 && A[i][13] == "0") || (n == 4 && A[i][28] == "True"))) {
if (A[i][2] == B[j][0])
count++;
}
}
}
setFilterNum(name, checked ? num + count : num - count);
}
function SelectAll(value) {
var i, inputs, choiseNum = 0;
inputs = document.getElementById("league").getElementsByTagName("input");
var t = getType();
for (var i = 0; i < inputs.length; i++) {
if (inputs[i].type != "checkbox") continue;
inputs[i].checked = value;
if (inputs[i].checked) {
var leagueItem = matchdata.LeagueList.Get(inputs[i].value);
choiseNum += (t == 0 ? leagueItem.matchNum : hsLeagueCount.items(leagueItem.lId));
inputs[i].parentElement.style.backgroundColor = "#ffeeee";
}
else {
inputs[i].parentElement.style.backgroundColor = "white";
}
}
document.getElementById("leagueNum").innerHTML = "[" + choiseNum + "]";
}
function SelectOK() {
var i, j, inputs;
inputs = document.getElementById("league").getElementsByTagName("input");
hiddenID = "_";
if (level == 1) level = 2;
var IdList = (sclassSelectNum == 1 ? strZuodiList : sclassSelectNum == 2 ? strNotOpenList : sclassSelectNum == 3 ? strRunList : "");
var legList = "_";
var n = 0;
for (; n < 4; n++) {
if (document.getElementById("rb" + n).checked) break;
}
for (var i = 0; i < inputs.length; i++) {
if (inputs[i].type != "checkbox") continue;
if (inputs[i].checked)
legList += inputs[i].value + "_";
}
for (var i = 0; i < matchdata.LeagueNum; i++) {
leagueItem = matchdata.LeagueList.items[i];
if (legList.indexOf("_" + leagueItem.lId + "_") != -1) {
for (var j = 0; j < matchdata.MatchNum; j++) {
matchItem = matchdata.MatchList.items[j];
if (matchItem.lId == leagueItem.lId) {
if (IdList != "" && IdList.indexOf("," + matchItem.mId + ",") == -1) {
hiddenID += matchItem.mId + "_";
}
}
}
}
else {
for (var j = 0; j < matchdata.MatchNum; j++) {
matchItem = matchdata.MatchList.items[j];
if (matchItem.lId == leagueItem.lId) {
hiddenID += matchItem.mId + "_";
}
}
}
}
//去除精简默认选择
Config.isSimple = 0;
Config.isAll = hiddenID == "_" ? 1 : 0;
writeCookie(Config.isAllCookieName, Config.isAll);
Config.writeCookie();
//保存赛事筛选项
if (document.location.href.toLocaleLowerCase().indexOf("company") == -1) {
writeConditionCookie(1, n, legList);
writeCookie(Config.hiddenCookieName, hiddenID);
}
else
writeConditionCookie(0, 0, '');
makeTable(1);
}
var hsLeagueCount = new Hashtable2();
function changeSclassSelect(t) {
var strLeagueList = getLegList(t)
sclassSelectNum = t;
createLeague(t, strLeagueList);
}
function getLegList(t) {
hsLeagueCount = new Hashtable2();
var strLeagueList = ",";
for (var i = 0; i < matchdata.MatchNum; i++) {
matchItem = matchdata.MatchList.items[i];
if (t == 0 || (t == 1 && strZuodiList.indexOf("," + matchItem.mId + ",") != -1) || (t == 2 && strNotOpenList.indexOf("," + matchItem.mId + ",") != -1) || (t == 3 && strRunList.indexOf("," + matchItem.mId + ",") != -1)) {
if (hsLeagueCount.contains(matchItem.lId)) {
var num = parseInt(hsLeagueCount.items(matchItem.lId)) + 1;
hsLeagueCount.add(matchItem.lId, num);
}
else
hsLeagueCount.add(matchItem.lId, 1);
if (strLeagueList.indexOf("," + matchItem.mId + ",") == -1)
strLeagueList += matchItem.lId + ",";
}
//else if (t == 2 && strNotOpenList.indexOf("," + matchItem.mId + ",") != -1) {
// if (hsLeagueCount.contains(matchItem.lId)) {
// var num = parseInt(hsLeagueCount.items(matchItem.lId)) + 1;
// hsLeagueCount.add(matchItem.lId, num);
// }
// else
// hsLeagueCount.add(matchItem.lId, 1);
// if (strLeagueList.indexOf("," + matchItem.mId + ",") == -1)
// strLeagueList += matchItem.lId + ",";
//}
//else if (t == 3 && strRunList.indexOf("," + matchItem.mId + ",") != -1) {
// if (hsLeagueCount.contains(matchItem.lId)) {
// var num = parseInt(hsLeagueCount.items(matchItem.lId)) + 1;
// hsLeagueCount.add(matchItem.lId, num);
// }
// else
// hsLeagueCount.add(matchItem.lId, 1);
// if (strLeagueList.indexOf("," + matchItem.mId + ",") == -1)
// strLeagueList += matchItem.lId + ",";
//}
}
return strLeagueList;
}
function createLeague(t, strLeagueList, kind) {
html = new Array();
html.push("
";
}
if (matchItem.state == "3") { //part 2
goTime = Math.floor((new Date() - matchItem.time2 - difftime) / 60000) + 46;
if (goTime > 90) goTime = "90+";
if (goTime < 46) goTime = "46";
document.getElementById("time_" + matchItem.mId).innerHTML = goTime + "
";
}
} catch (e) { }
}
runtimeTimer = window.setTimeout("setMatchTime()", 30000);
}
var showSort = false;
function changeSort() {
Config.rank = Config.rank == 0 ? 1 : 0;
Config.writeCookie();
makeTable(1);
// setSortShowOrHidden();
}
function setSound() {
Config.soundCheck = Config.soundCheck == 0 ? 1 : 0;
Config.writeCookie();
}
function setSortShowOrHidden() {
for (var j = 0; j < matchdata.MatchNum; j++) {
matchItem = matchdata.MatchList.items[j];
var obj = document.getElementById("ht_" + matchItem.mId);
if (obj != null) {
document.getElementById("ht_" + matchItem.mId).style.display = (Config.rank == 1 ? "" : "none");
document.getElementById("gt_" + matchItem.mId).style.display = (Config.rank == 1 ? "" : "none");
}
}
}
function getPageStr(total, page) {
var str = '';
str = '
"; else this.H_redcard = "";
if (infoArr[21] != "0") this.G_redcard = "
"; else this.G_redcard = "";
if (infoArr[22] != "0") this.H_yellow = "
"; else this.H_yellow = "";
if (infoArr[23] != "0") this.G_yellow = "
"; else this.G_yellow = "";
this.matchCenter = infoArr[24];
}
this.getT1Name = function () {
if (Config.language == 2)
return this.t1EnName;
else if (Config.language == 1)
return this.t1TrName;
else
return this.t1CnName;
}
this.getT2Name = function () {
if (Config.language == 2)
return this.t2EnName;
else if (Config.language == 1)
return this.t2TrName;
else
return this.t2CnName;
}
}
//亚赔信息
_glodds.OddsAsian = function (infoStr) {
var infoArr = infoStr.split(_glodds.SplitColumn); //711286,12,1,1.15,0.80,1,1.15,0.80,False,False,1;
this.mId = infoArr[0];
this.cId = infoArr[1];
this.goalF = infoArr[2];
this.homeF = infoArr[3];
this.awayF = infoArr[4];
this.goal = infoArr[5];
this.home = infoArr[6];
this.away = infoArr[7];
this.close = infoArr[8];
this.zoudi = infoArr[9];
if (isMulti()) {
this.num = infoArr[10];
this.maxNum = infoArr[11];
}
}
//欧赔信息
_glodds.Odds1x2 = function (infoStr) {
var infoArr = infoStr.split(_glodds.SplitColumn); //711286,12,1.55,3.75,5.30,1.55,3.75,5.30,1;
this.mId = infoArr[0];
this.cId = infoArr[1];
this.hwF = infoArr[2];
this.stF = infoArr[3];
this.awF = infoArr[4];
this.hw = infoArr[5];
this.st = infoArr[6];
this.aw = infoArr[7];
if (isMulti())
this.num = infoArr[8];
}
//大小赔率信息
_glodds.OddsOU = function (infoStr) {
var infoArr = infoStr.split(_glodds.SplitColumn); //711286,12,2.75,0.85,0.95,2.75,0.85,0.95,1;
this.mId = infoArr[0];
this.cId = infoArr[1];
this.goalF = infoArr[2];
this.overF = infoArr[3];
this.underF = infoArr[4];
this.goal = infoArr[5];
this.over = infoArr[6];
this.under = infoArr[7];
if (isMulti())
this.num = infoArr[8];
}
//OddsAsian HT
_glodds.OddsAsian_HT = function (infoStr) {
var infoArr = infoStr.split(_glodds.SplitColumn); //209092,8,0.5,0.95,0.95,0.5,1.025,0.875;
this.mId = infoArr[0];
this.cId = infoArr[1];
this.goalF = infoArr[2];
this.homeF = infoArr[3];
this.awayF = infoArr[4];
this.goal = infoArr[5];
this.home = infoArr[6];
this.away = infoArr[7];
}
//OddsOU HT
_glodds.OddsOU_HT = function (infoStr) {
var infoArr = infoStr.split(_glodds.SplitColumn); //209092,8,0.5,0.95,0.95,0.5,1.025,0.875
this.mId = infoArr[0];
this.cId = infoArr[1];
this.goalF = infoArr[2];
this.overF = infoArr[3];
this.underF = infoArr[4];
this.goal = infoArr[5];
this.over = infoArr[6];
this.under = infoArr[7];
}
var _oddsUitl = new Object();
var matchdata = new Object();
_oddsUitl.getDayStr = function (dt) {
return (dt.getMonth() + 1) + "-" + dt.getDate();
}
_oddsUitl.getOnlyDate = function (dt) {
return dt.getFullYear() + "-" + (dt.getMonth() + 1) + "-" + dt.getDate();
}
_oddsUitl.getTimeStr = function (dt) {
return dt.getHours() + ":" + (dt.getMinutes() < 10 ? "0" : "") + dt.getMinutes();
}
_oddsUitl.getDtStr = function (dt) {
return (dt.getMonth() + 1) + "-" + dt.getDate() + " " + (dt.getHours() < 10 ? "0" : "") + dt.getHours() + ":" + (dt.getMinutes() < 10 ? "0" : "") + dt.getMinutes();
}
_oddsUitl.getDateTimeStr = function (dt) {
return dt.getFullYear() + "-" + (dt.getMonth() + 1) + "-" + dt.getDate() + " " + (dt.getHours() < 10 ? "0" : "") + dt.getHours() + ":" + (dt.getMinutes() < 10 ? "0" : "") + dt.getMinutes();
}
_oddsUitl.getDate = function (str) {
var p = (str.indexOf("-") != -1 ? str.split("-") : str.split(","));
return new Date(p[0], parseInt(p[1], 10) - 1, p[2]);
}
var xmlBf = zXmlHttp.createRequest();
var oldBfXML = ""
function getbfxml() {
xmlBf.open("get", "http://www.boqbf.com/odd/xml_change.html", true);
xmlBf.onreadystatechange = bfRefresh;
xmlBf.send(null);
window.setTimeout("getbfxml()", 6000);
}
var isScoreOddsUrl = location.href.toLowerCase().indexOf("oldOdds") == -1 && location.href.toLowerCase().indexOf("company") == -1;
function bfRefresh() {
if (xmlBf.readyState != 4 || (xmlBf.status != 200 && xmlBf.status != 0)) return;
if (oldBfXML == xmlBf.responseText || xmlBf.responseText == "") return
oldBfXML = xmlBf.responseText;
var root = xmlBf.responseXML.documentElement;
var D = new Array();
var matchindex, score1change, score2change, scorechange;
var goTime, hometeam, guestteam, sclassname, score1, score2, tr;
var matchNum = 0;
var notify = "";// document.getElementById("notify").innerHTML;
for (var i = 0; i < root.childNodes.length; i++) {
D = root.childNodes[i].childNodes[0].nodeValue.split("^"); //0:ID,1:state,2:score1,3:score2,4:half1,5:half2,6:card1,7:card2,8:time1,9:time2,10:explain,11:lineup
matchItem = matchdata.MatchList.Get(D[0]);
if (matchItem == null) continue;
if (document.getElementById("table_" + D[0]) == null) continue;
score1change = false;
if (matchItem.homeScore != D[2]) {
matchItem.homeScore = D[2];
score1change = true;
if (!isScoreOddsUrl)
document.getElementById("hs_" + matchItem.mId).innerHTML = D[2];
document.getElementById("home_" + matchItem.mId).style.backgroundColor = "yellow";
}
score2change = false;
if (matchItem.guestScore != D[3]) {
matchItem.guestScore = D[3];
score2change = true;
if (!isScoreOddsUrl)
document.getElementById("gs_" + matchItem.mId).innerHTML = D[3];
document.getElementById("guest_" + matchItem.mId).style.backgroundColor = "yellow";
}
scorechange = score1change || score2change;
if (scorechange && isScoreOddsUrl)
document.getElementById("score_" + matchItem.mId).innerHTML = '' + D[2] + "-" + D[3] + '';
if (!isCompany()) {
//红牌变化了
if (D[6] != matchItem.h_redcard) {
matchItem.h_redcard = D[6];
if (D[6] == "0")
document.getElementById("redcard1_" + D[0]).innerHTML = "";
else
document.getElementById("redcard1_" + D[0]).innerHTML = "