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://en.china-kids-expo.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.ADText.length){ count = AD.ADText.length; } for(var i=0;i"+AD.ADText[i].textContent+""; } str += "
"; document.write(str); } var cmsAD_11 = new PCMSAD('cmsAD_11'); cmsAD_11.PosID = 11; cmsAD_11.ADID = 11; cmsAD_11.ADType = "text"; cmsAD_11.ADName = "广告倒计时时间"; cmsAD_11.ADContent = "{'ADText':[ {'textID':'11','textContent':'2018-10-16','textLinkUrl':''} ]}"; cmsAD_11.URL = "http://en.china-kids-expo.com/index.php?m=poster&c=index"; cmsAD_11.SiteID = 1; cmsAD_11.Width = 0; cmsAD_11.Height = 0; cmsAD_11.UploadFilePath = ""; cmsAD_11.ShowAD();