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.cnpbi.com/index.php?m=poster&c=index&a=show&siteid="+this.SiteID+"&id="+this.ADID+"&spaceid="+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_45 = new PCMSAD('cmsAD_45');
cmsAD_45.PosID = 45;
cmsAD_45.ADID = 52;
cmsAD_45.ADType = "images";
cmsAD_45.ADName = "θ£
ι
δΉζ";
cmsAD_45.ADContent = "{'Images':[{'imgADLinkUrl':'http%3A%2F%2Fcenter.cnpbi.com%2Fzxdt%2F6875.html','imgADAlt':'','ImgPath':'http://www.cnpbi.com/uploadfile/2023/1121/20231121092200325.jpg'}],'imgADLinkTarget':'New','Count':'1','showAlt':'Y'}";
cmsAD_45.URL = "http://www.cnpbi.com/index.php?m=poster&c=index";
cmsAD_45.SiteID = 1;
cmsAD_45.Width = 1200;
cmsAD_45.Height = 130;
cmsAD_45.UploadFilePath = '';
cmsAD_45.ShowAD();
var isIE=!!window.ActiveXObject;
if (isIE){
if (document.readyState=="complete"){
cmsAD_45.Stat();
} else {
document.onreadystatechange=function(){
if(document.readyState=="complete") cmsAD_45.Stat();
}
}
} else {
cmsAD_45.Stat();
}