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.Width = 0;
this.Height = 0;
this.IsHitCount = "N";
this.UploadFilePath = "";
this.URL = "";
this.SiteID = 0;
this.ShowAD = showADContent;
this.Stat = statAD;
}
function statAD(id) {
var sp = document.createElement("SCRIPT");
sp.type = "text/javascript";
sp.src = "http://www.fadalawyer.com.cn/index.php?m=poster&c=index&a=show&siteid="+this.SiteID+"&id="+id+"&spaceid="+this.PosID;
document.body.appendChild(sp);
}
function showADContent() {
var content = this.ADContent;
var isIE=!!window.ActiveXObject;
var str = "
";
document.write(str);
}
var cmsAD_12 = new PCMSAD('cmsAD_12');
cmsAD_12.PosID = 12;
cmsAD_12.ADID = 12;
cmsAD_12.ADType = "images";
cmsAD_12.ADName = "BANNER广告一";
cmsAD_12.ADContent = "{'ADImage':[ {'imgID':'12','imgADLinkUrl':'','imgADAlt':'','ImgPath':'http://www.fadalawyer.com.cn/uploadfile/2014/1209/20141209015856242.jpg','imgADLinkTarget':'New','showAlt':'Y'} , {'imgID':'14','imgADLinkUrl':'','imgADAlt':'','ImgPath':'http://www.fadalawyer.com.cn/uploadfile/2014/1210/20141210111848873.png','imgADLinkTarget':'New','showAlt':'Y'} , {'imgID':'13','imgADLinkUrl':'','imgADAlt':'','ImgPath':'http://www.fadalawyer.com.cn/uploadfile/2014/1210/20141210112657763.png','imgADLinkTarget':'New','showAlt':'Y'} ]}";
cmsAD_12.URL = "http://www.fadalawyer.com.cn/index.php?m=poster&c=index&a=poster_click";
cmsAD_12.SiteID = 1;
cmsAD_12.Width = 1350;
cmsAD_12.Height = 350;
cmsAD_12.UploadFilePath = "";
cmsAD_12.ShowAD();