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://www.fentijs.com/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 += ""; str += ""; str += ""; }else if(this.ADType == "flash"){ str += ""; str += ""; str += ""; str += ""; str += ""; str += ""; } str += ""; document.write(str); } var cmsAD_530 = new PCMSAD('cmsAD_530'); cmsAD_530.PosID = 530; cmsAD_530.ADID = 787; cmsAD_530.ADType = "images"; cmsAD_530.ADName = "矿物精细加工与应用"; cmsAD_530.ADContent = "{'Images':[{'imgADLinkUrl':'http%3A%2F%2Fwww.fentijs.com%2F2021%2Fgnhz_1214%2F77564.html','imgADAlt':'矿物精细加工与应用','ImgPath':'http://www.fentijs.com/uploadfile/2017/0727/20170727113231565.jpg'}],'imgADLinkTarget':'New','Count':'1','showAlt':'Y'}"; cmsAD_530.URL = "http://www.fentijs.com/index.php?m=poster&c=index"; cmsAD_530.SiteID = 1; cmsAD_530.Width = 980; cmsAD_530.Height = 70; cmsAD_530.UploadFilePath = ''; cmsAD_530.ShowAD(); var isIE=!!window.ActiveXObject; if (isIE){ if (document.readyState=="complete"){ cmsAD_530.Stat(); } else { document.onreadystatechange=function(){ if(document.readyState=="complete") cmsAD_530.Stat(); } } } else { cmsAD_530.Stat(); }