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="/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_51 = new PCMSAD('cmsAD_51');
cmsAD_51.PosID = 51;
cmsAD_51.ADID = 55;
cmsAD_51.ADType = "images";
cmsAD_51.ADName = "概率大法官";
cmsAD_51.ADContent = "{'Images':[{'imgADLinkUrl':'https%3A%2F%2Fxy.niupuxing.com%2Flist-6-1.html','imgADAlt':'','ImgPath':'uploadfile/2021/0326/20210326055837515.jpg'}],'imgADLinkTarget':'New','Count':'1','showAlt':'Y'}";
cmsAD_51.URL = "/index.php?m=poster&c=index";
cmsAD_51.SiteID = 1;
cmsAD_51.Width = 1200;
cmsAD_51.Height = 80;
cmsAD_51.UploadFilePath = '';
cmsAD_51.ShowAD();
var isIE=!!window.ActiveXObject;
if (isIE){
if (document.readyState=="complete"){
cmsAD_51.Stat();
} else {
document.onreadystatechange=function(){
if(document.readyState=="complete") cmsAD_51.Stat();
}
}
} else {
cmsAD_51.Stat();
}