PageSourceSearch

https://www.cbrand.com.cn/caches/poster_js/18.js

js cbrand.com.cn collected 2026-10-08 09:23:52 UTC 3,161 bytes, 74 lines download raw bytes

1function PCMSAD(PID) {
2  this.ID        = PID;
3  this.PosID  = 0; 
4  this.ADID		  = 0;
5  this.ADType	  = "";
6  this.ADName	  = "";
7  this.ADContent = "";
8  this.PaddingLeft = 0;
9  this.PaddingTop  = 0;
10  this.Wspaceidth = 0;
11  this.Height = 0;
12  this.IsHitCount = "N";
13  this.UploadFilePath = "";
14  this.URL = "";
15  this.SiteID = 0;
16  this.ShowAD  = showADContent;
17  this.Stat = statAD;
18}
19
20function statAD() {
21	var new_element = document.createElement("script"); 
22	new_element.type = "text/javascript";
23	new_element.src="http://www.cbrand.com.cn/index.php?m=poster&c=index&a=show&siteid="+this.SiteID+"&id="+this.ADID+"&spaceid="+this.PosID; 
24	document.body.appendChild(new_element);
25}
26
27function showADContent() {
28  var content = this.ADContent;
29  var str = "";
30  var AD = eval('('+content+')');
31  var adClass = '';
32  if (this.ADType == "images") {
33
34	  if (AD.Images[0].imgADLinkUrl) str += "<a href='"+this.URL+'&a=poster_click&sitespaceid='+this.SiteID+"&id="+this.ADID+"&url="+AD.Images[0].imgADLinkUrl+"' target='_blank' class='"+adClass+"'>";
35	  str += "<img title='"+AD.Images[0].imgADAlt+"' src='"+this.UploadFilePath+AD.Images[0].ImgPath+"' width='"+this.Width+"' height='"+this.Height+"' style='border:0px;'>";
36    if (AD.Images[0].imgADLinkUrl) str += "</a>";
37  }else if(this.ADType == "flash"){
38	  str += "<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' width='"+this.Width+"' height='"+this.Height+"' id='FlashAD_"+this.ADID+"' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0'>";
39	  str += "<param name='movie' value='"+this.UploadFilePath+AD.Images[0].ImgPath+"' />"; 
40      str += "<param name='quality' value='autohigh' />";
41      str += "<param name='wmode' value='opaque'/>";
42	  str += "<embed src='"+this.UploadFilePath+AD.Images[0].ImgPath+"' quality='autohigh' wmode='opaque' name='flashad' swliveconnect='TRUE' pluginspage='http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash' type='application/x-shockwave-flash' width='"+this.Width+"' height='"+this.Height+"'></embed>";
43      str += "</object>";	  
44  }
45  str += "";
46  document.write(str);
47}
48 
49var cmsAD_18 = new PCMSAD('cmsAD_18'); 
50cmsAD_18.PosID = 18; 
51cmsAD_18.ADID = 110; 
52cmsAD_18.ADType = "images"; 
53cmsAD_18.ADName = "市场监管总局优化营商环境政策专档"; 
54cmsAD_18.ADContent = "{'Images':[{'imgADLinkUrl':'https%3A%2F%2Fdj.samr.gov.cn%2Fdjfww%2Fzczl%2Findex.html','imgADAlt':'市场监管总局优化营商环境政策专档','ImgPath':'http://www.cbrand.com.cn/uploadfile/2025/0904/20250904053745325.jpg'}],'imgADLinkTarget':'New','Count':'1','showAlt':'Y'}"; 
55cmsAD_18.URL = "http://www.cbrand.com.cn/index.php?m=poster&c=index"; 
56cmsAD_18.SiteID = 1; 
57cmsAD_18.Width = 264; 
58cmsAD_18.Height = 120; 
59cmsAD_18.UploadFilePath = ''; 
60cmsAD_18.ShowAD();
61
62var isIE=!!window.ActiveXObject; 
63if (isIE){
64
65	if (document.readyState=="complete"){
66		cmsAD_18.Stat();
67	} else {
68		document.onreadystatechange=function(){
69			if(document.readyState=="complete") cmsAD_18.Stat();
70		}
71	}
72} else {
73	cmsAD_18.Stat();
74}

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.