function getBkHdpDetailUrl(sclassId, teamId, matchSeason, halfOrAll) { var url = _basketballWebDomain + "team/handicapdetail?sclassid=" + sclassId + "&teamid=" + teamId + "&matchseason=" + matchSeason + "&halforall=" + halfOrAll; return url; } function getBkOuDetailUrl(sclassId, teamId, matchSeason, halfOrAll) { var url = _basketballWebDomain + "team/ouhandicapdetail?sclassid=" + sclassId + "&teamid=" + teamId + "&matchseason=" + matchSeason + "&halforall=" + halfOrAll; return url; } function getFbPanluUrl(scheduleId, companyId) { var url = "/soccer/oddsstats/" + scheduleId; if (typeof (companyId) != "undefined" && companyId != '') url += "?cid=" + companyId; return url; } function openFbPanlu(scheduleId, companyId) { window.open(getFbPanluUrl(scheduleId, companyId),'', 'scrollbars=yes,resizable=yes,width=662, height=650,left=50,top=100'); } function getHistoryCornerUrl(scheduleId) { var url = "/history/corner/" + scheduleId; return url; } function openHistoryCornerUrl(scheduleId) { window.open(getHistoryCornerUrl(scheduleId)); } function SetShuntingFav() { var link = "http://128.1.84.190:88/navigator.htm"; try { window.external.addFavorite(link, "Bola Lucky Navigator"); } catch (ex) { window.open(link); } } function overDropDownBG(obj) { obj.style.backgroundColor = "#3c78c4"; } function timeToText(t2, type) { type = type || 0; var fmts = [ "dd-MM-yyyy hh:mm:ss",/*0*/ "dd-MM-yyyy hh:mm:ss",/*1*/ "dd-MM-yyyy",/*2*/ "dd-MM",/*3*/ "hh:mm",/*4*/ "t2 dd",/*5*/ "dd-MM hh:mm",/*6*/ "dd-MM-yy",/*7*/ "yyyy",/*8*/ "dd.MM.yyyy",/*9*/ "t2 dd hh:mm",/*10*/ "hh:mm,ww,dd-MM-yyyy",/*11*/ "dd-MM-yyyy(w)",/*12*/ "dd-MM-yyyy hh:mm w",/*13*/ "dd-MM hh:mm",/*14*/ "dd-MM hh:mm",/*15*/ "dd-MM-yy",/*16*/ "dd-MM-yyyy",/*17*/ "dd-MM-yyyy hh:mm",/*18*/ "d-M-yyyy hh:mm",/*19*/ "dd-MM-yyyy hh:mm",/*20*/ "M-d hh:mm", /*21*/ ]; return dateFtt(fmts[type] || fmts[0], t2); } //首页赔率公司选择下拉框 function OddsCompanySelect() { var company = [ "", "", "", "", "", "" ]; return company; } //篮球赔率比较页赔率公司顺序 function LQOddsComp() { return [8, 3, 31, 2, 1, 14]; } //比分页用户设置差异化 function settingDiff() { if (typeof (_settingObj) != "undefined") { _settingObj.rank = false; _settingObj.allMatchSetting.homeSoundId = 4; _settingObj.allMatchSetting.awaySoundId = 4; _settingObj.favMatchSetting.homeSoundId = 4; _settingObj.favMatchSetting.awaySoundId = 4; } } function fixtureSettingDiff() { if (typeof (_settingObj) != "undefined") { _settingObj.rank = false; } } //推广页处理 function simplePage() { if (typeof (cnzzModel) == "undefined") return; if (cnzzModel.cnz == 8) { $(".loginBox").css("display", "none"); $(".liveOddsFilter").css("display", "none"); var tvLinks = $(".tvLinkBtn"); for (var i = 0; i < tvLinks.length; i++) { tvLinks[i].innerHTML = " "; } if (typeof (_settingObj) != "undefined") { _settingObj.showCorner = false; } } } //默认关注联赛 function defaultFavLeague() { if (getCookie("MyGames_LeagueID") == null) { var leagueIds = ["67", "75", "36", "34", "31", "8", "11", "103"]; Config.setFavLeagueIds(leagueIds); } } if (typeof (Config) != "undefined") setTimeout("defaultFavLeague()"); //#region 足球详情内页 function LoadLiveData(result) { var data = "" if (!CheckEmpty(result)) { result = JSON.parse(result); if (result.ErrCode != 0) { ReOrderAd(); return; } else { data = result.Data; if (!CheckEmpty(data)) { var difCom = data.split('!'); if (difCom.length > 0) { var html = new Array(); html.push('