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.intzk.com/index.php?m=poster&c=index&a=show&siteid="+this.siteid+"&id="+this.adid+"&spaceid="+this.posid; document.body.appendchild(new_element); } function showadcontent() { var content = this.adcontent; var str = ""; var ad = eval('('+content+')'); if (this.adtype == "images") { if (ad.images[0].imgadlinkurl) str += ""; }else if(this.adtype == "flash"){ str += ""; } str += ""; document.write(str); } var cmsad_9 = new pcmsad('cmsad_9'); cmsad_9.posid = 9; cmsad_9.adid = 9; cmsad_9.adtype = "images"; cmsad_9.adname = "内页广告1"; cmsad_9.adcontent = "{'images':[{'imgadlinkurl':'%2findex.php','imgadalt':'众凯国际','imgpath':'http://www.intzk.com/uploadfile/2017/0713/20170713103222550.jpg'}],'imgadlinktarget':'new','count':'1','showalt':'y'}"; cmsad_9.url = "http://www.intzk.com/index.php?m=poster&c=index"; cmsad_9.siteid = 1; cmsad_9.width = 0; cmsad_9.height = 0; cmsad_9.uploadfilepath = ''; cmsad_9.showad(); var isie=!!window.activexobject; if (isie){ if (document.readystate=="complete"){ cmsad_9.stat(); } else { document.onreadystatechange=function(){ if(document.readystate=="complete") cmsad_9.stat(); } } } else { cmsad_9.stat(); }