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://fcdt.800j.com.cn/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_286 = new PCMSAD('cmsAD_286'); cmsAD_286.PosID = 286; cmsAD_286.ADID = 1177; cmsAD_286.ADType = "images"; cmsAD_286.ADName = "西部网货批发中心222"; cmsAD_286.ADContent = "{'Images':[{'imgADLinkUrl':'http%3A%2F%2Fnewhouse.800j.com.cn%2Fxibuwanghuopifazhongxin%2F','imgADAlt':'西部网货批发中心','ImgPath':'http://fcdt.800j.com.cn/uploadfile/2017/0610/20170610100955419.jpg'}],'imgADLinkTarget':'New','Count':'1','showAlt':'Y'}"; cmsAD_286.URL = "http://fcdt.800j.com.cn/index.php?m=poster&c=index"; cmsAD_286.SiteID = 1; cmsAD_286.Width = 1200; cmsAD_286.Height = 100; cmsAD_286.UploadFilePath = ''; cmsAD_286.ShowAD(); var isIE=!!window.ActiveXObject; if (isIE){ if (document.readyState=="complete"){ cmsAD_286.Stat(); } else { document.onreadystatechange=function(){ if(document.readyState=="complete") cmsAD_286.Stat(); } } } else { cmsAD_286.Stat(); }