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.ctiforum.com/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 += "";
document.write(str);
}
var cmsAD_82 = new PCMSAD('cmsAD_82');
cmsAD_82.PosID = 82;
cmsAD_82.ADID = 321;
cmsAD_82.ADType = "images";
cmsAD_82.ADName = "呼叫中心顶部中间广告位华为";
cmsAD_82.ADContent = "{'Images':[{'imgADLinkUrl':'https%3A%2F%2Fwww.huaweicloud.com%2Fproduct%2Fcec.html','imgADAlt':'华为云客服呼叫中心免费试用','ImgPath':'http://www.ctiforum.com/uploadfile/2022/0111/20220111114703391.gif'}],'imgADLinkTarget':'New','Count':'1','showAlt':'Y'}";
cmsAD_82.URL = "http://www.ctiforum.com/index.php?m=poster&c=index";
cmsAD_82.SiteID = 1;
cmsAD_82.Width = 355;
cmsAD_82.Height = 100;
cmsAD_82.UploadFilePath = '';
cmsAD_82.ShowAD();
var isIE=!!window.ActiveXObject;
if (isIE){
if (document.readyState=="complete"){
cmsAD_82.Stat();
} else {
document.onreadystatechange=function(){
if(document.readyState=="complete") cmsAD_82.Stat();
}
}
} else {
cmsAD_82.Stat();
}