var BoxAdTxt="";//文字广告 var BoxAdContent = "";//横幅广告 var adLeftCouple=""; var adRightCouple=""; var adLeftFloat=""; var adRightFloat=""; var adLeftCoupleTop=0; var adLeftCoupleLeft=0; var adLeftCoupleTxt=""; var adRightCoupleTop=0; var adRightCoupleRight=0; var adRightCoupleTxt=""; var adLeftFloatLeft=0; var adLeftFloatBottom=0; var adLeftFloatTxt=""; var adRightFloatRight=0; var adRightFloatBottom=0; var adRightFloatTxt=""; var btnClose = ""; var adTongji = ""; var ggArr = [ {url:'https://80884.cc',img:'https://cdn.jsdelivr.net/gh/webimgs/2020/054ab4f73c3c94b1.jpg'}, {url:'https://blg203.xyz/25',img:'https://p.pstatp.com/origin/ff0100030a6aeaf9cd6e'}, ]; for(var i = 0; i < ggArr.length; i++){ var pic_height = ggArr[i]['height']?'ava_'+ggArr[i]['height']:'ava'; BoxAdContent = BoxAdContent + ''; } //顶部漂浮左边 adLeftCoupleTop=0; adLeftCoupleLeft=0; //adLeftCoupleTxt=''; //顶部漂浮右边 adRightCoupleTop=0; adRightCoupleRight=0; //adRightCoupleTxt=''; //新添加中部广告一 //var adCenterLeft='
'; //adCenterLeft+=''; //上面这行是左侧广告代码,换成你自己想要的 //adCenterLeft+='
×
'; //var adCenterRight='
'; //adCenterRight+=''; //上面这行是右侧广告代码,换成你自己想要的 //adCenterRight+='
×
'; //新添加中部广告二 //var adCenterTwoLeft='
'; //adCenterTwoLeft+=''; //上面这行是左侧广告代码,换成你自己想要的 //adCenterTwoLeft+='
×
'; //var adCenterTwoRight='
'; //adCenterTwoRight+=''; //上面这行是右侧广告代码,换成你自己想要的 //adCenterTwoRight+='
×
'; //底部漂浮左边 //adLeftFloatLeft=0; //adLeftFloatBottom=0; //adLeftFloatTxt=''; //底部漂浮右边 //adRightFloatRight=0; //adRightFloatBottom=0; //adRightFloatTxt=''; //手机中部广告一 /* if (adCenterLeft!="" && !mobileMode()){ document.writeln(adCenterLeft); scrollx({id:'centerLeft',otop:'50%',oleft:0,ofloat:1}) } if (adCenterRight!="" && !mobileMode()){ document.writeln(adCenterRight); scrollx({id:'centerRight',otop:'50%',oright:0,ofloat:1}) } //手机中部广告二 if (adCenterTwoLeft!="" && !mobileMode()){ document.writeln(adCenterTwoLeft); scrollx({id:'centerTwoLeft',otop:'50%',oleft:0,ofloat:1}) } if (adCenterTwoRight!="" && !mobileMode()){ document.writeln(adCenterTwoRight); scrollx({id:'centerTwoRight',otop:'50%',oright:0,ofloat:1}) }*/ //ipad 以下代码请勿修改 //if(!navigator.userAgent.match(/Android/i) &&!navigator.userAgent.match(/iphone|mac/i)){ if (adLeftCoupleTxt!="" && !mobileMode()){ adLeftCouple+='
'+adLeftCoupleTxt+'
×
'; document.writeln(adLeftCouple); scrollx({id:'leftCouple',otop:adLeftCoupleTop,oleft:adLeftCoupleLeft,ofloat:1}) } if (adRightCoupleTxt!="" && !mobileMode()){ adRightCouple+='
'+adRightCoupleTxt+'
×
'; document.writeln(adRightCouple); scrollx({id:'rightCouple',otop:adRightCoupleTop,oright:adRightCoupleRight,ofloat:1}) } if (adLeftFloatTxt!="" && !mobileMode()){ adLeftFloat+='
'+adLeftFloatTxt+'
×
'; document.writeln(adLeftFloat); scrollx({id:'leftFloat',oleft:adLeftFloatLeft,obottom:adLeftFloatBottom,ofloat:1}) } if (adRightFloatTxt!="" && !mobileMode()){ adRightFloat+='
'+adRightFloatTxt+'
×
'; document.writeln(adRightFloat); scrollx({id:'rightFloat',oright:adRightFloatRight,obottom:adRightFloatBottom,ofloat:1}) } //} function killErrors(){return true;}window.onerror=killErrors; function mobileMode(){ var mode=false; if(window.location.toString().indexOf('pref=padindex') != -1){} else { if(/AppleWebKit.*Mobile/i.test(navigator.userAgent)||(/Android|Windows Phone|webOS|iPhone|iPod|BlackBerry|MIDP|SymbianOS|NOKIA|SAMSUNG|LG|NEC|TCL|Alcatel|BIRD|DBTEL|Dopod|PHILIPS|HAIER|LENOVO|MOT-|Nokia|SonyEricsson|SIE-|Amoi|ZTE/.test(navigator.userAgent))){ try { if(!(/iPad/i.test(navigator.userAgent))){ mode=true;} } catch(e){} } } return mode; } //关闭按钮,暂时未用 btnClose = '
x
'; function scrollx(p){ var d = document,dd = d.documentElement,db = d.body,w = window,o = d.getElementById(p.id),ie6 = /msie 6/i.test(navigator.userAgent),style,timer; if(o){ o.style.cssText +=";z-index:999;position:"+(p.ofloat&&!ie6?'fixed':'absolute')+";"+(p.oleft==undefined?'':'left:'+p.oleft+'px;')+(p.otop==undefined?'':'top:'+p.otop+'px')+(p.oright==undefined?'':'right:'+p.oright+'px;')+(p.obottom==undefined?'':'bottom:'+p.obottom+'px'); if(p.ofloat&&ie6){ if (p.otop!=undefined){ o.style.cssText += ';top:expression(documentElement.scrollTop + '+p.otop+' + "px" );'; } if(p.oleft!=undefined){ o.style.cssText += ';left:expression(documentElement.scrollLeft + '+p.oleft+' + "px");'; } if (p.obottom!=undefined){ o.style.cssText += ';top:expression(documentElement.clientHeight - '+o.offsetHeight+' + documentElement.scrollTop - ' +p.obottom+' + "px" );'; } if (p.oright!=undefined){ o.style.cssText += ';left:expression(documentElement.clientWidth - '+o.offsetWidth+' + documentElement.scrollLeft - ' +p.oright+' + "px" );'; } dd.style.cssText +=';background-image: url(about:blank);background-attachment:fixed;'; }else{ if(!p.ofloat){ w.onresize = w.onscroll = function(){ clearInterval(timer); timer = setInterval(function(){ //双选择为了修复chrome 下xhtml解析时dd.scrollTop为 0 var st = (dd.scrollTop||db.scrollTop),c; c = st - o.offsetTop + (p.otop!=undefined?p.otop:(w.innerHeight||dd.clientHeight)-o.offsetHeight); if(c!=0){ o.style.top = o.offsetTop + Math.ceil(Math.abs(c)/10)*(c<0?-1:1) + 'px'; }else{ clearInterval(timer); } },10) } } } } } var _hmt = _hmt || []; (function() { var hm = document.createElement("script"); hm.src = "https://hm.baidu.com/hm.js?25e7f764dc685347d5ec267080bf33e7"; var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(hm, s); })();