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.Wspaceidth = 0; this.Height = 0; this.IsHitCount = "N"; this.UploadFilePath = ""; this.URL = ""; this.SiteID = 0; this.ShowAD = showADContent; this.Stat = statAD; } function statAD() { var new_element = document.createElement("script"); new_element.type = "text/javascript"; new_element.src="http://106.15.137.28/index.php?m=poster&c=index&a=show&siteid="+this.SiteID+"&spaceid="+this.ADID+"&id="+this.PosID; document.body.appendChild(new_element); } function showADContent() { var content = this.ADContent; var str = ""; var AD = eval('('+content+')'); if (this.ADType == "images") { str += "
"; if (AD.Images[0].imgADLinkUrl) str += ""; str += ""; if (AD.Images[0].imgADLinkUrl) str += ""; str+="广告
"; }else if(this.ADType == "flash"){ str += "
"; str += ""; str += ""; str += ""; str += ""; str += ""; str += ""; str+="广告
"; } str += ""; document.write(str); } var cmsAD_283 = new PCMSAD('cmsAD_283'); cmsAD_283.PosID = 283; cmsAD_283.ADID = 1176; cmsAD_283.ADType = "images"; cmsAD_283.ADName = "荣华 天悦凯莱酒店"; cmsAD_283.ADContent = "{'Images':[{'imgADLinkUrl':'http%3A%2F%2Fnewhouse.800j.com.cn%2Frank%2Fitem3261.html','imgADAlt':'荣华 天悦凯莱酒店','ImgPath':'http://fcdt.800j.com.cn/uploadfile/2017/0610/20170610095345701.gif'}],'imgADLinkTarget':'New','Count':'1','showAlt':'Y'}"; cmsAD_283.URL = "http://106.15.137.28/index.php?m=poster&c=index"; cmsAD_283.SiteID = 1; cmsAD_283.Width = 1200; cmsAD_283.Height = 55; cmsAD_283.UploadFilePath = ''; cmsAD_283.ShowAD(); var isIE=!!window.ActiveXObject; if (isIE){ if (document.readyState=="complete"){ cmsAD_283.Stat(); } else { document.onreadystatechange=function(){ if(document.readyState=="complete") cmsAD_283.Stat(); } } } else { cmsAD_283.Stat(); }