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://www.wetmortar.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 = "
";
document.write(str);
}
var cmsAD_22 = new PCMSAD('cmsAD_22');
cmsAD_22.PosID = 12;
cmsAD_22.ADID = 22;
cmsAD_22.ADType = "images";
cmsAD_22.ADName = "首页右侧";
cmsAD_22.ADContent = "{'ADImage':[ {'imgID':'22','imgADLinkUrl':'http%3A%2F%2Fwww.wetmortar.com%2Findex.php%3Fm%3Dcontent%26c%3Dindex%26a%3Dshow%26catid%3D23%26id%3D346','imgADAlt':'','ImgPath':'http://www.wetmortar.com/uploadfile/2020/0106/20200106023527631.gif','imgADLinkTarget':'New','showAlt':'Y'} , {'imgID':'16','imgADLinkUrl':'http%3A%2F%2Fwww.wetmortar.com%2Findex.php%3Fm%3Dcontent%26c%3Dindex%26a%3Dshow%26catid%3D23%26id%3D350','imgADAlt':'','ImgPath':'http://www.wetmortar.com/uploadfile/2023/0228/20230228035936692.gif','imgADLinkTarget':'New','showAlt':'Y'} , {'imgID':'18','imgADLinkUrl':'http%3A%2F%2Fwww.huijtec.com','imgADAlt':'','ImgPath':'http://www.wetmortar.com/uploadfile/2023/0228/20230228040021270.jpg','imgADLinkTarget':'New','showAlt':'Y'} ]}";
cmsAD_22.URL = "http://www.wetmortar.com/index.php?m=poster&c=index&a=poster_click";
cmsAD_22.SiteID = 1;
cmsAD_22.Width = 300;
cmsAD_22.Height = 80;
cmsAD_22.UploadFilePath = "";
cmsAD_22.ShowAD();