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;
}
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_1 = new PCMSAD('cmsAD_1');
cmsAD_1.PosID = 1;
cmsAD_1.ADID = 1;
cmsAD_1.ADType = "images";
cmsAD_1.ADName = "人民代表大会制度是我国的根本政治制度";
cmsAD_1.ADContent = "{'Images':[{'imgADLinkUrl':'javascript:;','imgADAlt':'','ImgPath':'/upload/download/575'}],'imgADLinkTarget':'New','Count':'1','showAlt':'Y'}";
cmsAD_1.URL = "javascript:;";
cmsAD_1.SiteID = 48;
cmsAD_1.Width = 1200;
cmsAD_1.Height = 115;
cmsAD_1.UploadFilePath = '';
cmsAD_1.ShowAD();