function PCMSAD(PID) { this.ID = PID; this.PosID = 0; this.ADID = 0; this.ADType = ""; this.ADName = ""; this.ADContent = ""; this.PaddingLeft = 0; this.PaddingTop = 0; this.Width = 0; this.Height = 0; this.IsHitCount = "N"; this.UploadFilePath = ""; this.URL = ""; this.SiteID = 0; this.ShowAD = showADContent; this.Stat = statAD; } function contains(arr, str) { var i = arr.length; while (i--) { if (arr[i] === str) { return true; } } return false; } function statAD(id) { var sp = document.createElement("SCRIPT"); sp.type = "text/javascript"; sp.src = "http://www.ntsjjf.com/index.php?m=poster&c=index&a=show&siteid="+this.SiteID+"&id="+id+"&spaceid="+this.PosID; //document.body.appendChild(sp); document.body.insertBefore(sp, document.body.childNodes[0]); } //随机数组 function randomsort(a, b) { return Math.random()>.5 ? -1 : 1; } var count = 0; function showADContent() { var content = this.ADContent; var module = 'content'; var app_path = 'http://www.ntsjjf.com/'; var isIE=!!window.ActiveXObject; var AD = eval('('+content+')'); var newADImage=[]; var cUrl=window.location.href; if(AD.ADImage.length){ count = AD.ADImage.length; } var pageName=cUrl.substring(cUrl.indexOf("ntsjjf.com")+14); if(pageName!="/" && pageName!="/index.html"){ } str ='
'; // var listr=[]; // for(var i=0;i< count;i++){ // this.Stat(AD.ADImage[i].imgID); // var categoryArr = AD.ADImage[i].showCategory.split(','); // if(document.URL==app_path || document.URL==app_path+'?fr=pc'){ // if(AD.ADImage[i].indexShow=='1'){ // listr.push("
  • "); // } // } // else if((catid==''||!contains(categoryArr ,catid)) && (AD.ADImage[i].showModule.indexOf(module)==-1)){ // listr.push("
  • "); // } // } // str =str + listr[Math.floor(listr.length*Math.random())] + ''; document.write(str); } var cmsAD_107 = new PCMSAD('cmsAD_107'); cmsAD_107.PosID = 41; cmsAD_107.ADID = 107; cmsAD_107.ADType = "images"; cmsAD_107.ADName = "韩游网送护照夹韩国地图"; cmsAD_107.ADContent = "{'ADImage':[ {'imgID':'107','imgADLinkUrl':'http%3A%2F%2Fwww.ntsjjf.com%2Fa%2Fspecial%2Ftmoney%2F','imgADAlt':'韩游网送护照夹韩国地图','ImgPath':'http://img.ntsjjf.com/2018/0930/20180930055010288.jpg','imgADLinkTarget':'New','showAlt':'Y','showCategory':'','showModule':'','indexShow':'1'} ]}"; cmsAD_107.URL = "http://www.ntsjjf.com/index.php?m=poster&c=index&a=poster_click"; cmsAD_107.SiteID = 1; cmsAD_107.Width = 700; cmsAD_107.Height = 60; cmsAD_107.UploadFilePath = ""; cmsAD_107.ShowAD(); $(function(){ $(".hbanner").hyworslide({ theme:"hostheme_0" }); });