$(function(){ var adcon='';var jsadbox=document.getElementById("ad_27_16_2_1_3_js"); var style=document.createElement('style'); jsadbox.insertAdjacentHTML('afterEnd', adcon); style.type='text/css'; style.innerHTML='*{padding:0;margin:0;} .ad_117401{font-family:"微软雅黑";font-size:14px;width:100%;height:100%;margin:0px;overflow:hidden;position:relative;}.ad_117401 a {text-decoration: none;color: black;}.ad_box {width: 100%;height: 100%; overflow:hidden;}.ad_117401 .ad_box ul li{width: 100%;height: 100%;list-style: none;display: none;}.ad_117401 .ad_box ul {} .ad_117401 .ad_box ul {width: 100%;height: 100%;position: relative;overflow: hidden; cursor:pointer;} .ad_box ul li {width: 100%;height: 100%;position: relative;overflow: hidden; cursor:pointer;}.ad_117401 .ad_box ul li img {padding: 0;margin: 0;display:block;width: 100%;height: 100%;max-width: 100%; max-height: 100%;background-position: center center;background-repeat: no-repeat;background-size: cover;-webkit-background-size: cover;-moz-background-size: cover;}.ad_117401 .ad_box ul li h2 {position: absolute;left: 0;bottom: 0;height: 40px;width: 100%;background: rgba(125, 125, 120, .4);text-indent: 2em;padding-right: 500px;font-size: 15px;line-height: 40px;text-overflow: ellipsis;overflow: hidden;white-space: nowrap;font-weight: normal;color: ghostwhite;}.ad_117401 .ad_title {position: absolute;right: 10px;bottom: 14px;}.ad_117401 .ad_title ul li {float: left;width: 12px;height: 12px;overflow: hidden;margin: 0 5px;border-radius: 50%;background: rgba(0, 0, 0, 0.5);text-indent: 100px;cursor: pointer;}.ad_117401 .ad_title ul .on {background: rgba(255, 255, 255, 0.6);}.ad_117401 .adnext span {position: absolute;color: white;background: rgba(125, 125, 120, .3);width: 50px;height: 80px;top: 50%;line-height: 80px;font-size: 60px;margin-top: -40px;text-align: center;cursor: pointer;}.ad_117401 .adnext .prev {left: 10px;}.ad_117401 .adnext .next {right: 10px;}.ad_117401 .adnext span::selection {background: transparent;}.ad_117401 .adnext span:hover {background: rgba(125,125,120,.8);}'; document.getElementsByTagName('head').item(0).appendChild(style); function $(param){if(arguments[1]==true){return document.querySelectorAll(param)}else{return document.querySelector(param)}};var $box=$(".box"),$box1=$(".ad_117401 .ad_box ul li",true),$box2=$(".ad_117401 .ad_title ul"),$box3=$(".ad_117401 .adnext"),$length=$box1.length,str="",req=new XMLHttpRequest(),redsd=[];for(var i=0;i<$length;i++){if(i==0){str+="
  • "+(i+1)+"
  • "}else{str+="
  • "+(i+1)+"
  • "}};$box2.innerHTML=str;var current=0;var timer;timer=setInterval(go,3000);go();function go(){for(var j=0;j<$length;j++){$box1[j].style.display="none";$box2.children[j].className=""};if($length==current){current=0};$box1[current].style.display="block";$box2.children[current].className="on";current++;var bdom=$box1[current];if(bdom==undefined){bdom=$box1[0]};var surl=bdom.dataset.show;report(surl,"s")};for(var k=0;k<$length;k++){$box1[k].onmouseover=function(){clearInterval(timer)};$box1[k].onmouseout=function(){timer=setInterval(go,3000)};$box1[k].onclick=function(){var curl=this.dataset.click,lpg=this.dataset.lpg;report(curl,"c");window.open(lpg)}};for(var p=0;p<$box3.children.length;p++){$box3.children[p].onmouseover=function(){clearInterval(timer)};$box3.children[p].onmouseout=function(){timer=setInterval(go,3000)}};for(var u=0;u<$length;u++){$box2.children[u].index=u;$box2.children[u].onmouseover=function(){clearInterval(timer);for(var j=0;j<$length;j++){$box1[j].style.display="none";$box2.children[j].className=""};this.className="on";$box1[this.index].style.display="block";current=this.index+1};$box2.children[u].onmouseout=function(){timer=setInterval(go,3000)}};function back(){for(var j=0;j<$length;j++){$box1[j].style.display="none";$box2.children[j].className=""};if(current==0){current=$length};$box1[current-1].style.display="block";$box2.children[current-1].className="on";current--};function report(url,type){if(no_rcity){return false}if(type=="s"){if(redsd.indexOf(url)==-1){redsd.push(url)}else{return false}}url = url.replace(/%city/, adxua_city);req.open("GET",url,true);req.send()}; });