function getIndex() { } function getTop() { } function getFly() { } function getAd() { } function getbftxt() { } function getAnList() { } function getBottomFly() { } function getWorldCup() { } var adinfo1 = new Array(); var adinfo2 = new Array(); var admiddleCount = 0;; var isShow = false; var _adLoc = 0; //var cnzMarkCookie = getCookie('cnzMark'); initLocation(); function initLocation() { var expVar = getQueryVariable('my'); var cnzVar = getQueryVariable('cnz'); if (!CheckEmpty(expVar) && expVar.toLowerCase() == 'ad') { isShow = true; return; } var langue = (navigator.browserLanguage || navigator.language).toLowerCase(); if ((_moduleKey == 'Thai' || _moduleKey == 'Vn' || _moduleKey == 'Kor') && (langue == 'zh-tw' || langue == 'zh-cn' || langue == 'zh-hk')) { isShow = false; return; } if (_moduleKey == 'Thai' && langue.includes('th') || _moduleKey == 'Vn' && langue.includes('vi') || _moduleKey == 'Kor' && langue.includes('ko') || _moduleKey == 'Ind' && langue.includes('id')) { if (CheckEmpty(cnzVar) && !document.URL.includes('shtml')) { isShow = true; return; } } var oXmlHttp_ad = zXmlHttp.createRequest(); oXmlHttp_ad.open("get", "/ajax/IPchecker/?" + Date.parse(new Date()), false); oXmlHttp_ad.send(null); var varresult = oXmlHttp_ad.responseText; if (varresult != "") { if (parseInt(varresult.split(',')[0]) == 1) isShow = true; _adLoc = parseInt(varresult.split(',')[1]); } }; //2024-10-15 09:02:08 var adinfo1 = new Array(); var adinfo2 = new Array(); var adinfo3 = new Array(); var adVerticalOffset = { OsIndex_Left: 1920, Os2in1_Left: 1024, Os2in1: 616, OsIndex: 490 } //********** admodel start *************** var AdModel = new Object(); AdModel.en = ''; AdModel.top = ''; AdModel.IsMobile = /(iphone|ipad|ios|itouch|android)/.test(window.navigator.userAgent.toLowerCase()); AdModel.IsIos = /(iphone|ipad|ios|itouch)/.test(window.navigator.userAgent.toLowerCase()); AdModel.PicAd = function (u, p, t, w, h) { this.Type=1; this.URL = u; this.PicURL = p; this.Width = w ? w : null; this.Height = h ? h : null; this.Title = t ? t : ""; this.HTML = function (st,cw,ch,f) { if(!cw) cw = this.Width; if(!ch) ch = this.Height; var wt = (cw ? "width=" + cw : ""); var ht = (ch ? "height=" + ch : ""); var st = st? "style='" + st +"'": ""; var url = this.URL; var picUrl = this.PicURL; if(f){ var adDomain = "http://www.bongdalu.com/"; if(/ad\/\d+/.test(this.URL))url=adDomain+this.URL; picUrl = adDomain + this.PicURL; } return (""); }; } AdModel.TxtAd = function (url, text, title, color){ this.Type=2; this.URL = url; this.Text = text; this.Title = title; this.Color = color; } AdModel.GetAdArr = function () { return [ 'top^top^https://tinyurl.com/bdhrr4yx^https://img_bongdalu.thscore.fun/mn/20241009162207.gif^DABET – Nhà cái cá cược bóng đá, cá độ thể thao và casino uy tín số 1 Hoa Kỳ^350^45', 'top^top^https://tinyurl.com/yc2rb8ez^https://img_bongdalu.thscore.fun/mn/20240721105513.gif^NBET - Nhà cái cá độ, cá cược bóng đá, casino online uy tín^350^45', 'top^top^/ad/901.html^https://img_bongdalu.thscore.fun/mn/20240926163351.gif^^^', 'top^middle_1^/ad/202.html^https://img_bongdalu.thscore.fun/mn/20240807164122.gif^^528^45', 'top^middle_1^/ad/203.html^https://img_bongdalu.thscore.fun/mn/20240919160333.gif^188BET, cá độ bóng đá, nhà cái uy tín^528^45', 'top^middle_2^https://tinyurl.com/yfuay4yb^https://img_bongdalu.thscore.fun/mn/20240724111540.gif^Nhà cái OXBET cá cược, cá độ bóng đá, thể thao #1 Dubai^353^45', 'top^middle_2^https://tinyurl.com/sszfsxt3^https://img_bongdalu.thscore.fun/mn/20240724111547.gif^Nhà cái OXBET cá cược, cá độ bóng đá, thể thao #1 Dubai^353^45', 'top^middle_2^https://tinyurl.com/5n82brfx^https://img_bongdalu.thscore.fun/mn/20240726160250.gif^TA88 - Nhà cái uy tín hàng đầu Châu Á^353^45', 'top^middle_2^https://tinyurl.com/2wm4v8ve^https://img_bongdalu.thscore.fun/mn/20240726160254.gif^TA88 - Nhà cái uy tín hàng đầu Châu Á^353^45', 'en^flyleft^/ad/183.html^https://img_bongdalu.thscore.fun/mn/20240926163429.gif^^80px^120px', 'en^flyleft^/ad/184.html^https://img_bongdalu.thscore.fun/mn/20240821143156.gif^^80px^120px', 'en^flyleft^/ad/185.html^https://img_bongdalu.thscore.fun/mn/20240918083516.gif^^80px^120px', 'en^flyleft^https://tinyurl.com/yc7zt388^https://img_bongdalu.thscore.fun/mn/20240810100037.gif^LUCKY88 - #1 Nhà cái chơi cá cược bóng đá, cá độ thể thao uy tín^80px^120px', 'en^flyleft^/ad/1208.html^https://img_bongdalu.thscore.fun/mn/20230321171458.gif^^80px^120px', 'en^flyright^/ad/188.html^https://img_bongdalu.thscore.fun/mn/20241009111534.gif^^80px^120px', 'en^flyright^https://tinyurl.com/4wm7bu2t^https://img_bongdalu.thscore.fun/mn/20240810100053.gif^LUCKY88 - #1 Nhà cái chơi cá cược bóng đá, cá độ thể thao uy tín^80px^120px', 'en^flyright^https://tinyurl.com/27p92ecm^https://img_bongdalu.thscore.fun/mn/20240810100110.gif^FABET - NHÀ CÁI UY TÍN SỐ 1, RÚT NẠP NHANH, KHÔNG LO SINH TRẮC, CỔNG NẠP CRYPTO^80px^120px', 'en^flyright^/ad/385.html^https://img_bongdalu.thscore.fun/mn/20240909093716.gif^^80px^120px', 'en^flyright^https://net88.ac/?a=614b567230f06fa8c536e1d9c2956c85&utm_campaign=cpd&utm_source=bongdalu4com&utm_medium=banner-r5-155x80-alldevice&utm_term=bong^https://img_bongdalu.thscore.fun/mn/20240925174654.gif^^80px^120px', 'en^left_1^https://tinyurl.com/5xsx8337^https://img_bongdalu.thscore.fun/mn/20240911105553.gif^Nhà cái OXBET cá cược, cá độ bóng đá, thể thao #1 Dubai^^', 'en^left_1^https://www.sancoxanh.pro/kmtheothaoaz02^https://img_bongdalu.thscore.fun/mn/20240523112617.gif^^^', 'en^left_1^https://net88.ac/?a=2bef52357581faf7715df9d9a1027adc&utm_campaign=cpd&utm_source=bongdalu4com&utm_medium=banner-lf3-155x80-alldevice&utm_term=bong^https://img_bongdalu.thscore.fun/mn/20240925174636.gif^^^', 'en^left_1^https://tinyurl.com/mt3mrcpv^https://img_bongdalu.thscore.fun/mn/20240911105409.gif^FABET - NHÀ CÁI UY TÍN SỐ 1, RÚT NẠP NHANH, KHÔNG LO SINH TRẮC, CỔNG NẠP CRYPTO^^', 'en^left_1^https://15.235.211.182/kqbd^https://img_bongdalu.thscore.fun/mn/20240731092946.gif^^^', 'en^left_1^https://red88.com/?a=33129034f2910d82095c166371880e9e&utm_campaign=cpd&utm_source=bongdalucom&utm_medium=LF6^https://img_bongdalu.thscore.fun/mn/20240903170651.gif^^^', 'en^right_1^https://da88.com/?a=mswl_f66d4927f8a9cc2a7eb1daf2ce0d9e33&utm_campaign=cpd&utm_source=bongdalucom&utm_medium=RF1-155x80&utm_term=RF1-155x80&utm_content=sport^https://img_bongdalu.thscore.fun/mn/20241012151214.gif^^^', 'en^right_1^https://tinyurl.com/2s4s6rjk^https://img_bongdalu.thscore.fun/mn/20240721105419.gif^Nhà cái OXBET cá cược, cá độ bóng đá, thể thao #1 Dubai^^', 'en^right_1^https://tinyurl.com/yc695cnz^https://img_bongdalu.thscore.fun/mn/20240731105844.gif^Nhà cái ONE88 - Website cá cược bóng đá, cá độ thể thao uy tín TOP #1 Châu Âu^^', 'en^right_1^https://15.235.211.182/kqbd^https://img_bongdalu.thscore.fun/mn/20240731092925.gif^^^', 'en^right_1^https://debet.tv/?a=720783e13769ac820a25bf529528cad5&utm_source=bongdalu4com&utm_medium=rf6-155x80&utm_campaign=cpd&utm_term=bong^https://img_bongdalu.thscore.fun/mn/20241012165657.gif^^^', 'en^left_float^https://debet.tv/?a=f47cde6a5d38de985409cf0ab307c593&utm_campaign=cpd&utm_source=bongdalucom&utm_medium=lt1-145x80^https://img_bongdalu.thscore.fun/mn/20240903170618.gif^^^', 'en^left_float^https://sunc66.kim/?f=644825^https://img_bongdalu.thscore.fun/mn/20230203222322.gif^^^', 'en^left_float^https://max88.com/?a=125bfa4365314bffd1b4c10982506883&utm_campaign=cpd&utm_source=bongdalu4com&utm_medium=banner-lf3-155x80-alldevice&utm_term=bong^https://img_bongdalu.thscore.fun/mn/20240905162649.gif^^^', 'en^left_float^/ad/554.html^https://img_bongdalu.thscore.fun/mn/20241008163026.gif^^145^80', 'en^left_float^https://wi88.top/?a=mswl_23f7748ff74ac5321ac2c5c48aec56fd&utm_campaign=cpd&utm_source=bongdalucom&utm_medium=LT5-150x80&utm_term=LT5-150x80&utm_content=sport^https://img_bongdalu.thscore.fun/mn/20240731144554.gif^^^', 'en^left_float^https://www.god55vn2.net/vi-vn/register?affid=2139^https://img_bongdalu.thscore.fun/mn/20240909093801.gif^^^', 'en^left_float^https://tinyurl.com/58makn9a^https://img_bongdalu.thscore.fun/mn/20240721105404.gif^NBET - Nhà cái cá độ, cá cược bóng đá, casino online uy tín^155px^80px', 'en^right_float^/ad/208.html^https://img_bongdalu.thscore.fun/mn/20240926163445.gif^^^', 'en^right_float^/ad/318.html^https://img_bongdalu.thscore.fun/mn/20241009151003.gif^^^', 'en^right_float^https://tinyurl.com/mr3z4ma4^https://img_bongdalu.thscore.fun/mn/20240721105427.gif^Nhà cái OXBET cá cược, cá độ bóng đá, thể thao #1 Dubai^145^80', 'en^right_float^/ad/382.html^https://img_bongdalu.thscore.fun/mn/20240926163452.gif^^^', 'en^right_float^/ad/383.html^https://img_bongdalu.thscore.fun/mn/20241008091011.gif^^^', 'en^right_float^/ad/384.html^https://img_bongdalu.thscore.fun/mn/20241012150910.gif^^^', 'en^flybottom^/ad/1248.html^https://img_bongdalu.thscore.fun/mn/20241004123032.gif^^710^45', 'en^flybottom^/ad/1249.html^https://img_bongdalu.thscore.fun/mn/20230925083949.gif^^710^45', 'top^del_middle_1^https://red88.com/?a=353d1bd40eff5f2885a6fc70dbceb094&utm_source=bongdalu4com&utm_medium=mt-1040x45&utm_campaign=cpd&utm_term=bong^https://img_bongdalu.thscore.fun/mn/20240812145745.gif^^1040^45', 'en^d1^/ad/204.html^https://img_bongdalu.thscore.fun/mn/20240923161753.gif^^1045^45', 'en^d3^/ad/907.html^https://img_bongdalu.thscore.fun/mn/20240820183607.gif^^1040^45', 'top^ana_middle_1^/ad/908.html^https://img_bongdalu.thscore.fun/mn/20241012164710.gif^^1040^45', 'en^l1^/ad/503.html^https://img_bongdalu.thscore.fun/mn/20240804163402.gif^^1040^45', 'en^l2^/ad/504.html^https://img_bongdalu.thscore.fun/mn/20240820183643.gif^^1040^45', 'en^right_s_1^/ad/197.html^https://img_bongdalu.thscore.fun/mn/20170426115908.gif^^^', 'en^left_s_1^/ad/199.html^https://img_bongdalu.thscore.fun/mn/20170426140213.gif^^^', 'en^sche_flyleft^/ad/181.html^https://img_bongdalu.thscore.fun/mn/20170426105101.gif^^^' ]; } AdModel.GetAdTxtArr = function () { return [ 'en^adinfo^https://tinyurl.com/mr2anya3^NBET - THƯỞNG NẠP LÊN ĐẾN 35 TRIỆU + HOÀN TRẢ MỖI NGÀY 1.5% + VÀO NGAY!', 'en^adinfo^https://tinyurl.com/3dufpbxb^TA88 - 10% HOÀN TRẢ MỖI NGÀY + TẶNG CƯỢC ĐẾN 33TR + NHẬN NGAY THẺ VIP ĐUA TOP', 'en^adinfo^https://tinyurl.com/y9xwavvy^LUCKY88 - KHUYẾN MÃI NẠP 100% + CƯỢC THẢ GA + NHẬN SIÊU HOÀN TRẢ 30%', 'en^adinfo^https://tinyurl.com/569bznph^OXBET - NHÀ CÁI CÁ CƯỢC CHÂU ÂU + NẠP 1 ĐƯỢC 2 + THƯỞNG 100% GIÁ TRỊ NẠP', 'en^adinfo^https://net88.ac/?a=0790416e74618edf9ded5cf4c88ee341&utm_campaign=cpd&utm_source=bongdalu4com&utm_medium=text-link-05-alldevice&utm_term=bong^NET88 - ĐỐI TÁC CHÍNH THỨC CRYSTAL PALACE - TẶNG 150% NẠP ĐẦU - HOÀN TRẢ CỰC ĐÃ', 'en^adinfo^https://tinyurl.com/yc8fumvj^LODE88 - TẶNG CƯỢC 23TR + SIÊU CẤP BẢO HIỂM 12.5TR + HOÀN TRẢ THẢ GA 10%', 'en^adinfo^https://tinyurl.com/bdee29b7^11BET - FREE 100K CƯỢC + THƯỞNG ĐẾN 25 TRIỆU + HOÀN TRẢ 100% VÉ CƯỢC THUA', 'en^adinfo^https://tinyurl.com/sfrvu5na^DABET - NHẬN NGAY 15.000.000 VNĐ CƯỢC + HOÀN TRẢ 1,5%. VÀO NGAY', 'en^adinfo^https://tinyurl.com/muhp2a9f^FABET - NHẬN THƯỞNG LÊN ĐẾN 20.000.000đ + HOÀN TRẢ 1.25% MỖI NGÀY', 'en^adinfo^https://tinyurl.com/v4uhkucz^NBET - THƯỞNG NẠP LÊN ĐẾN 35 TRIỆU + HOÀN TRẢ MỖI NGÀY 1.5% + VÀO NGAY!' ]; } AdModel.setTxtTag = function(idx,val){ var cls = idx % 2 == 0?"ad-txt-red":"ad-txt-blue"; return "AD: " + val.replace(/<[^>]+>/g,"").replace("QC: ","") + ""; } AdModel.BuildAdList = function () { var adArray = AdModel.GetAdArr(); for (var i = 0; i < adArray.length; i++) { var da = adArray[i].split("^"); if (!AdModel[da[0]]) AdModel[da[0]] = new Object(); if (!AdModel[da[0]][da[1]]) { AdModel[da[0]][da[1]] = new Array(); } AdModel[da[0]][da[1]].push(new AdModel.PicAd(da[2], da[3], da[4], da[5], da[6])); } adArray = AdModel.GetAdTxtArr(); for (var i = 0; i < adArray.length; i++) { var da = adArray[i].split("^"); if (!AdModel[da[0]]) AdModel[da[0]] = new Object(); if (!AdModel[da[0]][da[1]]) { AdModel[da[0]][da[1]] = new Array(); } AdModel[da[0]][da[1]].push(new AdModel.TxtAd(da[2], AdModel.setTxtTag(i,da[3]), da[4], da[5])); } } AdModel.GetList = function(d,k,s,st,w,h,f){ var html = new Array(); if(AdModel[d]){ if(AdModel[d][k]){ var adArr = AdModel[d][k]; for (var i = 0; i < adArr.length; i++) { html.push(adArr[i].HTML(st,w,h,f)); } } } return html.join(s); } AdModel.WriteList = function (d, k, s, st, w, h) { document.write(this.GetList(d,k,s,st,w,h)); } AdModel.BuildAdList(); if(AdModel.en && AdModel.en.right_1){ adVerticalOffset.Os2in1 = adVerticalOffset.Os2in1 + AdModel.en.right_1.length * 84; adVerticalOffset.OsIndex = adVerticalOffset.OsIndex + AdModel.en.right_1.length * 84; } //************admodel end***************** //weizis function getbftxt(kind) { if (isShow) { var adArr = AdModel[kind]["adinfo"]; if (adArr) { var counter = 0; for (var i = 0; i < adArr.length; i++) { if (adArr[i].Type == 2) { adinfo1[counter] = adArr[i].URL; adinfo2[counter] = adArr[i].Text; counter++; } } } } } function initEcAd(kid) { var layer1 = document.getElementById("AdLayer1"); var layer2 = document.getElementById("AdLayer2"); if (!layer1 || !layer2) return; layer1.style.top = -200; layer1.style.visibility = 'visible'; layer2.style.top = -200; layer2.visibility = 'visible'; MoveLeftLayer('AdLayer1'); MoveRightLayer('AdLayer2'); if (AdModel.IsIos) { MoveBottomLayer(); } } function getTopLength() { var adTop; 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 MoveLeftLayer(layerName) { var adTop = parseInt(getTopLength()); var topElem = document.getElementById("newtop"); var x = topElem.offsetLeft - 88; document.getElementById(layerName).style.left = parseInt(x) + "px"; if(adTop > 130){ document.getElementById(layerName).style.top = (adTop + 10) + "px"; }else{ document.getElementById(layerName).style.top = "186px"; } setTimeout("MoveLeftLayer('" + layerName + "');", 20); } function MoveRightLayer(layerName) { var adTop = parseInt(getTopLength()); var topElem = document.getElementById("newtop"); var x = topElem.offsetLeft + topElem.clientWidth + 20; document.getElementById(layerName).style.left = parseInt(x) + "px"; if(adTop > 130){ document.getElementById(layerName).style.top = (adTop + 10) + "px"; }else{ document.getElementById(layerName).style.top = "185px"; } setTimeout("MoveRightLayer('" + layerName + "');", 20); } function closead(index) { document.getElementById("AdLayer" + index).style.display = "none"; } //fly function getFly(kind) { if (isShow) { var leftkey = "flyleft"; var rightkey = "flyright"; if(kind==1) { leftkey = "sche_flyleft"; rightkey = "sche_flyright"; } document.write("
"+AdModel.GetList("en",leftkey,"", "margin-bottom:5px;")+"
" + "
" + AdModel.GetList("en", rightkey, "", "margin-bottom:5px;") + "
"); initEcAd(1); } } //analysis function getAn(kind) { if (isShow) { AdModel.WriteList(kind, "analyze", "", "margin-bottom:5px;"); } } //index function getIndex(kind, name) { if (isShow) { return AdModel.WriteList(kind, name,"
"); } } //���Ͻ� function getAd(kind, name) { if (isShow) { var css = ''; if (name == "topleft") css = 'margin-right:14px;'; return AdModel.WriteList(kind, name, '', css); } } //top function getTop(name) { if (isShow) { AdModel.WriteList("top", name,""); } } //left_List function getHome(name) { if (isShow) { return AdModel.WriteList("en", name); } } var sqReg = /(\d*).html/; var sqReg2 = /=(\d*)/; function getPageId(str2) { if (sqReg.test(str2)) return str2.match(sqReg)[1]; else if (sqReg2.test(str2)) return str2.match(sqReg2)[1]; } function getNewsAD(kind) { if (isShow) { if (kind = "right1") { return AdModel.WriteList("en", "ad_" + kind, "", "margin-bottom:5px;'",215); } } } //Analysis.aspx-Fly function getAnalysisFly(kind) { if (isShow) { document.write("" + ""); initEcAd(3); } } //nba.aspx function getNBAFly(kind) { if (isShow) { document.write(""); initEcAd(4); } } //analysis function getAnList(kind) { if (isShow) { AdModel.WriteList("en", kind); } } function getEventAnList(kind, name) { if (isShow) { AdModel.WriteList(kind, name); } } function getAdHtml(kind, name) { if (isShow) { return AdModel.GetList(kind, name, ""); } else { return ""; } } function getBottomFly() { if (isShow) { if (AdModel.IsIos) { document.write("
" + AdModel.GetList("en", "flybottom", "", "margin-bottom:5px;") + "
"); }else{ document.write("
" + AdModel.GetList("en", "flybottom", "", "margin-bottom:5px;") + "
"); } } } function initEcAdPc() { var layer1 = document.getElementById("AdLayer1"); var layer2 = document.getElementById("AdLayer2"); if (!layer1 || !layer2) return; MoveLeftLayerPc('AdLayer1'); MoveRightLayerPc('AdLayer2'); } function MoveLeftLayerPc(layerName) { var adTop = parseInt(getTopLength()); if (adTop > 130) { document.getElementById(layerName).style.top = "10px"; } else { document.getElementById(layerName).style.top = "186px"; } setTimeout("MoveLeftLayerPc('" + layerName + "');", 20); } function MoveRightLayerPc(layerName) { var adTop = parseInt(getTopLength()); if (adTop > 130) { document.getElementById(layerName).style.top = "10px"; } else { document.getElementById(layerName).style.top = "185px"; } setTimeout("MoveRightLayerPc('" + layerName + "');", 20); } function CloseAdById(id, save) { if (document.getElementById(id)) { document.getElementById(id).style.display = "none"; } if (save) writeShareCookie("CloseAdKey_" + id, 1, new Date((new Date()).getTime() + 24 * 3600000)); } function getWorldCup(kind, name,margin) { if (isShow) { return AdModel.WriteList(kind, name,"",margin); } } function MoveBottomLayer() { if (document.getElementById("ad_middle_bottom")) { var adTop = parseInt(getTopLength()); document.getElementById("bottomFly").style.top = adTop + window.innerHeight - 110 + "px"; setTimeout("MoveBottomLayer();", 20); } };