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.cb.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") { if (AD.Images[0].imgADLinkUrl) str += ""; str += ""; if (AD.Images[0].imgADLinkUrl) str += ""; }else if(this.ADType == "flash"){ str += ""; str += ""; str += ""; str += ""; str += ""; str += ""; } str += ""; document.write(str); } var cmsAD_102 = new PCMSAD('cmsAD_102'); cmsAD_102.PosID = 102; cmsAD_102.ADID = 155; cmsAD_102.ADType = "images"; cmsAD_102.ADName = "【右下部边栏广告位】俱乐部323"; cmsAD_102.ADContent = "{'Images':[{'imgADLinkUrl':'https%3A%2F%2Fmp.weixin.qq.com%2Fs%3F__biz%3DMjM5MDY2NTc2MA%3D%3D%26mid%3D2657510037%26idx%3D4%26sn%3D58868122fcd3b0717b654e1709a2e216%26scene%3D1%26srcid%3D0825P3kTaPfhjy9Vp4h1Tp6J%26pass_ticket%3DBqkqkkqBSGUNXrt72zviM9TCIq8Cs34b90b8OHB3or4bH0UNN5S0lkG75806yA78%23rd','imgADAlt':'','ImgPath':'http://www.cb.com.cn/uploadfile/2016/0831/20160831075653329.jpg'}],'imgADLinkTarget':'New','Count':'1','showAlt':'Y'}"; cmsAD_102.URL = "http://www.cb.com.cn/index.php?m=poster&c=index"; cmsAD_102.SiteID = 1; cmsAD_102.Width = 323; cmsAD_102.Height = 271; cmsAD_102.UploadFilePath = ''; cmsAD_102.ShowAD(); var isIE=!!window.ActiveXObject; if (isIE){ if (document.readyState=="complete"){ cmsAD_102.Stat(); } else { document.onreadystatechange=function(){ if(document.readyState=="complete") cmsAD_102.Stat(); } } } else { cmsAD_102.Stat(); }