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 = "https://www.chinatrucks.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 = 13;
cmsAD_22.ADID = 22;
cmsAD_22.ADType = "images";
cmsAD_22.ADName = "测试广告8";
cmsAD_22.ADContent = "{'ADImage':[ {'imgID':'22','imgADLinkUrl':'http%3A%2F%2Fwww.chinabuses.org%2Fvisit%2F','imgADAlt':'','ImgPath':'http://www.chinatrucks.com/uploadfile/2016/1122/20161122043930658.gif','imgADLinkTarget':'New','showAlt':'Y'} , {'imgID':'20','imgADLinkUrl':'http%3A%2F%2Fwww.chinatrucks.com%2Fmanufacturers%2Fmanufacturer_4.html','imgADAlt':'','ImgPath':'http://www.chinatrucks.com/uploadfile/2016/1122/20161122043823196.gif','imgADLinkTarget':'New','showAlt':'Y'} , {'imgID':'18','imgADLinkUrl':'http%3A%2F%2Fwww.chinatrucks.com%2Fmanufacturers%2Fmanufacturer_5.html','imgADAlt':'','ImgPath':'http://www.chinatrucks.com/uploadfile/2017/0717/20170717023117586.gif','imgADLinkTarget':'New','showAlt':'Y'} ]}";
cmsAD_22.URL = "https://www.chinatrucks.com/index.php?m=poster&c=index&a=poster_click";
cmsAD_22.SiteID = 1;
cmsAD_22.Width = 240;
cmsAD_22.Height = 68;
cmsAD_22.UploadFilePath = "";
cmsAD_22.ShowAD();