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.agent-mp3.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_225 = new PCMSAD('cmsAD_225'); cmsAD_225.PosID = 19; cmsAD_225.ADID = 225; cmsAD_225.ADType = "images"; cmsAD_225.ADName = "蓝焰一周年"; cmsAD_225.ADContent = "{'ADImage':[ {'imgID':'225','imgADLinkUrl':'http%3A%2F%2Fzt.agent-mp3.com%2F2019blue%2F','imgADAlt':'','ImgPath':'https://www.agent-mp3.com/uploadfile/2019/1108/20191108101851625.jpg','imgADLinkTarget':'New','showAlt':'Y'} , {'imgID':'213','imgADLinkUrl':'http%3A%2F%2Fzt.agent-mp3.com%2F2019jg70%2F','imgADAlt':'','ImgPath':'https://www.agent-mp3.com/uploadfile/2019/0830/20190830103316154.jpg','imgADLinkTarget':'New','showAlt':'Y'} , {'imgID':'207','imgADLinkUrl':'http%3A%2F%2Fzt.agent-mp3.com%2F2019bwcx%2F','imgADAlt':'','ImgPath':'https://www.agent-mp3.com/uploadfile/2019/0724/20190724111243328.jpg','imgADLinkTarget':'New','showAlt':'Y'} , {'imgID':'138','imgADLinkUrl':'http%3A%2F%2Fzt.agent-mp3.com%2Fkfq%2F','imgADAlt':'','ImgPath':'https://www.agent-mp3.com/uploadfile/2018/0830/20180830100354149.jpg','imgADLinkTarget':'New','showAlt':'Y'} ]}"; cmsAD_225.URL = "https://www.agent-mp3.com/index.php?m=poster&c=index&a=poster_click"; cmsAD_225.SiteID = 1; cmsAD_225.Width = 250; cmsAD_225.Height = 200; cmsAD_225.UploadFilePath = ""; cmsAD_225.ShowAD();