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_159 = new PCMSAD('cmsAD_159');
cmsAD_159.PosID = 159;
cmsAD_159.ADID = 1067;
cmsAD_159.ADType = "images";
cmsAD_159.ADName = "后期速成2021";
if(cmsAD_159.ADType == "flash"){
cmsAD_159.fileUrl = "";
}else{
cmsAD_159.fileUrl = "http://www.cd-pa.com/uploadfile/2021/1014/20211014081015817.jpg";
}
cmsAD_159.ADContent = "{'Images':[{'imgADLinkUrl':'https%3A%2F%2Fweidian.com%2Fitem.html%3FitemID%3D2130078396','imgADAlt':'摄影后期','ImgPath':'"+cmsAD_159.fileUrl+"'}],'imgADLinkTarget':'New','Count':'1','showAlt':'Y'}";
cmsAD_159.URL = "http://www.cd-pa.com/index.php?m=poster&c=index";
cmsAD_159.SiteID = 1;
cmsAD_159.Width = 905;
cmsAD_159.Height = 75;
cmsAD_159.UploadFilePath = '';
cmsAD_159.ShowAD();
var isIE=!!window.ActiveXObject;
if (isIE){
if (document.readyState=="complete"){
cmsAD_159.Stat();
} else {
document.onreadystatechange=function(){
if(document.readyState=="complete") cmsAD_159.Stat();
}
}
} else {
cmsAD_159.Stat();
}