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 statAD(id) { var sp = document.createElement("SCRIPT"); sp.type = "text/javascript"; sp.src = "https://www.shyzjsxh.com/index.php?m=poster&c=index&a=show&siteid="+this.SiteID+"&id="+id+"&spaceid="+this.PosID; document.body.appendChild(sp); } function showADContent() { var content = this.ADContent; var isIE=!!window.ActiveXObject; var str = "
"; var AD = eval('('+content+')'); var count = 0; if(AD.ADImage.length){ count = AD.ADImage.length; } for(var i=0;i"+AD.ADImage[i].imgADAlt+"0){ sizeStr = " height='"+this.Height+"' "; }else if(this.Width>0&&this.Height==0){ sizeStr = " width='"+this.Width+"' "; }else{ sizeStr = (this.Width < this.Height) ? " width='"+this.Width+"' " : " height='"+this.Height+"' "; } str += sizeStr; str += " style='border:0px;'/>"; } str += "
"; document.write(str); } var cmsAD_45 = new PCMSAD('cmsAD_45'); cmsAD_45.PosID = 14; cmsAD_45.ADID = 45; cmsAD_45.ADType = "images"; cmsAD_45.ADName = "广告招租5"; cmsAD_45.ADContent = "{'ADImage':[ {'imgID':'45','imgADLinkUrl':'http%3A%2F%2Fwww.idrachina.com%2Fidrachina%2Fpc%2Findex.html','imgADAlt':'意德拉','ImgPath':'https://www.shyzjsxh.com/uploadfile/2023/1010/20231010162303639.png','imgADLinkTarget':'New','showAlt':'Y'} , {'imgID':'44','imgADLinkUrl':'http%3A%2F%2Fwww.wfjt.com%2F','imgADAlt':'万丰科技 ','ImgPath':'https://www.shyzjsxh.com/uploadfile/2023/1012/20231012142918834.jpg','imgADLinkTarget':'New','showAlt':'Y'} , {'imgID':'43','imgADLinkUrl':'http%3A%2F%2Fwww.gx-stove.com%2F','imgADAlt':'南通高新工业炉','ImgPath':'https://www.shyzjsxh.com/uploadfile/2023/1013/20231013114827286.png','imgADLinkTarget':'New','showAlt':'Y'} , {'imgID':'42','imgADLinkUrl':'','imgADAlt':'','ImgPath':'https://www.shyzjsxh.com/uploadfile/2023/1009/20231009153621602.jpeg','imgADLinkTarget':'New','showAlt':'Y'} , {'imgID':'41','imgADLinkUrl':'http%3A%2F%2Fwww.ksndt.com%2F','imgADAlt':'科述无损检测设备','ImgPath':'https://www.shyzjsxh.com/uploadfile/2023/1013/20231013125231807.png','imgADLinkTarget':'New','showAlt':'Y'} , {'imgID':'40','imgADLinkUrl':'','imgADAlt':'','ImgPath':'https://www.shyzjsxh.com/uploadfile/2023/1009/20231009153621602.jpeg','imgADLinkTarget':'New','showAlt':'Y'} ]}"; cmsAD_45.URL = "https://www.shyzjsxh.com/index.php?m=poster&c=index&a=poster_click"; cmsAD_45.SiteID = 1; cmsAD_45.Width = 188; cmsAD_45.Height = 150; cmsAD_45.UploadFilePath = ""; cmsAD_45.ShowAD();