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.cd-pa.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") {
str += "";
str += "";
str += "";
}else if(this.ADType == "flash"){
str += "";
}
str += "";
document.write(str);
}
var cmsAD_157 = new PCMSAD('cmsAD_157');
cmsAD_157.PosID = 157;
cmsAD_157.ADID = 1036;
cmsAD_157.ADType = "images";
cmsAD_157.ADName = "新疆天鹅泉";
if(cmsAD_157.ADType == "flash"){
cmsAD_157.fileUrl = "";
}else{
cmsAD_157.fileUrl = "http://www.cd-pa.com/uploadfile/2023/1017/20231017081237528.png";
}
cmsAD_157.ADContent = "{'Images':[{'imgADLinkUrl':'http%3A%2F%2Fwww.cd-pa.com%2Fshow-734-2579-1.html','imgADAlt':'2023第二届成都国际摄影周','ImgPath':'"+cmsAD_157.fileUrl+"'}],'imgADLinkTarget':'New','Count':'1','showAlt':'Y'}";
cmsAD_157.URL = "http://www.cd-pa.com/index.php?m=poster&c=index";
cmsAD_157.SiteID = 1;
cmsAD_157.Width = 293;
cmsAD_157.Height = 222;
cmsAD_157.UploadFilePath = '';
cmsAD_157.ShowAD();
var isIE=!!window.ActiveXObject;
if (isIE){
if (document.readyState=="complete"){
cmsAD_157.Stat();
} else {
document.onreadystatechange=function(){
if(document.readyState=="complete") cmsAD_157.Stat();
}
}
} else {
cmsAD_157.Stat();
}