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 = "http://www.es9e.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_55 = new PCMSAD('cmsAD_55'); cmsAD_55.PosID = 11; cmsAD_55.ADID = 55; cmsAD_55.ADType = "images"; cmsAD_55.ADName = "尊崇宪法 学习宪法 遵守宪法 维护宪法 运用宪法"; cmsAD_55.ADContent = "{'ADImage':[ {'imgID':'55','imgADLinkUrl':'','imgADAlt':'尊崇宪法 学习宪法 遵守宪法 维护宪法 运用宪法','ImgPath':'http://www.es9e.com/uploadfile/2018/1206/20181206030804487.jpg','imgADLinkTarget':'New','showAlt':'Y'} , {'imgID':'48','imgADLinkUrl':'http%3A%2F%2Fwww.es9e.com%2F','imgADAlt':'深入贯彻学习党的十九大精神 努力开启新时代续写新的篇章','ImgPath':'http://www.es9e.com/uploadfile/2018/0507/20180507032031567.jpg','imgADLinkTarget':'New','showAlt':'Y'} , {'imgID':'20','imgADLinkUrl':'http%3A%2F%2Fwww.es9e.com%2F','imgADAlt':'','ImgPath':'http://www.es9e.com/uploadfile/2014/1226/20141226111619835.jpg','imgADLinkTarget':'New','showAlt':'Y'} , {'imgID':'17','imgADLinkUrl':'http%3A%2F%2Fwww.es9e.com%2Findex.html','imgADAlt':'','ImgPath':'http://www.es9e.com/uploadfile/2013/0613/20130613113049977.jpg','imgADLinkTarget':'New','showAlt':'Y'} , {'imgID':'11','imgADLinkUrl':'http%3A%2F%2Fwww.es9e.com%2Findex.html','imgADAlt':'武陵山医疗中心 恩施州亮丽名片','ImgPath':'http://www.es9e.com/uploadfile/2016/0907/20160907015847828.jpg','imgADLinkTarget':'New','showAlt':'Y'} ]}"; cmsAD_55.URL = "http://www.es9e.com/index.php?m=poster&c=index&a=poster_click"; cmsAD_55.SiteID = 1; cmsAD_55.Width = 728; cmsAD_55.Height = 185; cmsAD_55.UploadFilePath = ""; cmsAD_55.ShowAD();