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_49 = new PCMSAD('cmsAD_49');
cmsAD_49.PosID = 29;
cmsAD_49.ADID = 49;
cmsAD_49.ADType = "images";
cmsAD_49.ADName = "详情页面广告2";
cmsAD_49.ADContent = "{'ADImage':[ {'imgID':'49','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/2018/0709/20180709101023842.gif','imgADLinkTarget':'New','showAlt':'Y'} , {'imgID':'48','imgADLinkUrl':'','imgADAlt':'','ImgPath':'http://www.wetmortar.com/uploadfile/2018/0704/20180704033912360.jpg','imgADLinkTarget':'New','showAlt':'Y'} ]}";
cmsAD_49.URL = "http://www.wetmortar.com/index.php?m=poster&c=index&a=poster_click";
cmsAD_49.SiteID = 1;
cmsAD_49.Width = 240;
cmsAD_49.Height = 80;
cmsAD_49.UploadFilePath = "";
cmsAD_49.ShowAD();