1; /* Start:"a:4:{s:4:"full";s:37:"/js/iepngfix_tilebg.js?13458109714275";s:6:"source";s:22:"/js/iepngfix_tilebg.js";s:3:"min";s:0:"";s:3:"map";s:0:"";}"*/ 2// IE5.5+ PNG Alpha Fix v2.0 Alpha: Background Tiling Support 3// (c) 2008 Angus Turnbull http://www.twinhelix.com 4 5// This is licensed under the GNU LGPL, version 2.1 or later. 6// For details, see: http://creativecommons.org/licenses/LGPL/2.1/ 7 8var IEPNGFix = window.IEPNGFix || {}; 9 10IEPNGFix.tileBG = function(elm, pngSrc, ready) { 11 // Params: A reference to a DOM element, the PNG src file pathname, and a 12 // hidden "ready-to-run" passed when called back after image preloading. 13 14 var data = this.data[elm.uniqueID], 15 elmW = Math.max(elm.clientWidth, elm.scrollWidth), 16 elmH = Math.max(elm.clientHeight, elm.scrollHeight), 17 bgX = elm.currentStyle.backgroundPositionX, 18 bgY = elm.currentStyle.backgroundPositionY, 19 bgR = elm.currentStyle.backgroundRepeat; 20 21 // Cache of DIVs created per element, and image preloader/data. 22 if (!data.tiles) { 23 data.tiles = { 24 elm: elm, 25 src: '', 26 cache: [], 27 img: new Image(), 28 old: {} 29 }; 30 } 31 var tiles = data.tiles, 32 pngW = tiles.img.width, 33 pngH = tiles.img.height; 34 35 if (pngSrc) { 36 if (!ready && pngSrc != tiles.src) { 37 // New image? Preload it with a callback to detect dimensions. 38 tiles.img.onload = function() { 39 this.onload = null; 40 IEPNGFix.tileBG(elm, pngSrc, 1); 41 }; 42 return tiles.img.src = pngSrc; 43 } 44 } else { 45 // No image? 46 if (tiles.src) ready = 1; 47 pngW = pngH = 0; 48 } 49 tiles.src = pngSrc; 50 51 if (!ready && elmW == tiles.old.w && elmH == tiles.old.h && 52 bgX == tiles.old.x && bgY == tiles.old.y && bgR == tiles.old.r) { 53 return; 54 } 55 56 // Convert English and percentage positions to pixels. 57 var pos = { 58 top: '0%', 59 left: '0%', 60 center: '50%', 61 bottom: '100%', 62 right: '100%' 63 }, 64 x, 65 y, 66 pc; 67 x = pos[bgX] || bgX; 68 y = pos[bgY] || bgY; 69 if (pc = x.match(/(\d+)%/)) { 70 x = Math.round((elmW - pngW) * (parseInt(pc[1]) / 100)); 71 } 72 if (pc = y.match(/(\d+)%/)) { 73 y = Math.round((elmH - pngH) * (parseInt(pc[1]) / 100)); 74 } 75 x = parseInt(x); 76 y = parseInt(y); 77 78 // Handle backgroundRepeat. 79 var repeatX = { 'repeat': 1, 'repeat-x': 1 }[bgR], 80 repeatY = { 'repeat': 1, 'repeat-y': 1 }[bgR]; 81 if (repeatX) { 82 x %= pngW; 83 if (x > 0) x -= pngW; 84 } 85 if (repeatY) { 86 y %= pngH; 87 if (y > 0) y -= pngH; 88 } 89 90 // Go! 91 this.hook.enabled = 0; 92 if (!({ relative: 1, absolute: 1 }[elm.currentStyle.position])) { 93 elm.style.position = 'relative'; 94 } 95 var count = 0, 96 xPos, 97 maxX = repeatX ? elmW : x + 0.1, 98 yPos, 99 maxY = repeatY ? elmH : y + 0.1, 100 d, 101 s, 102 isNew; 103 if (pngW && pngH) { 104 for (xPos = x; xPos < maxX; xPos += pngW) { 105 for (yPos = y; yPos < maxY; yPos += pngH) { 106 isNew = 0; 107 if (!tiles.cache[count]) { 108 tiles.cache[count] = document.createElement('div'); 109 isNew = 1; 110 } 111 var clipR = (xPos + pngW > elmW ? elmW - xPos : pngW), 112 clipB = (yPos + pngH > elmH ? elmH - yPos : pngH); 113 d = tiles.cache[count]; 114 s = d.style; 115 s.behavior = 'none'; 116 s.left = xPos + 'px'; 117 s.top = yPos + 'px'; 118 s.width = clipR + 'px'; 119 s.height = clipB + 'px'; 120 s.clip = 'rect(' + 121 (yPos < 0 ? 0 - yPos : 0) + 'px,' + 122 clipR + 'px,' + 123 clipB + 'px,' + 124 (xPos < 0 ? 0 - xPos : 0) + 'px)'; 125 s.display = 'block'; 126 if (isNew) { 127 s.position = 'absolute'; 128 s.zIndex = -999; 129 if (elm.firstChild) { 130 elm.insertBefore(d, elm.firstChild); 131 } else { 132 elm.appendChild(d); 133 } 134 } 135 this.fix(d, pngSrc, 0); 136 count++; 137 } 138 } 139 } 140 while (count < tiles.cache.length) { 141 this.fix(tiles.cache[count], '', 0); 142 tiles.cache[count++].style.display = 'none'; 143 } 144 145 this.hook.enabled = 1; 146 147 // Cache so updates are infrequent. 148 tiles.old = { 149 w: elmW, 150 h: elmH, 151 x: bgX, 152 y: bgY, 153 r: bgR 154 }; 155}; 156 157 158IEPNGFix.update = function() { 159 // Update all PNG backgrounds. 160 for (var i in IEPNGFix.data) { 161 var t = IEPNGFix.data[i].tiles; 162 if (t && t.elm && t.src) { 163 IEPNGFix.tileBG(t.elm, t.src); 164 } 165 } 166}; 167IEPNGFix.update.timer = 0; 168 169if (window.attachEvent && !window.opera) { 170 window.attachEvent('onresize', function() { 171 clearTimeout(IEPNGFix.update.timer); 172 IEPNGFix.update.timer = setTimeout(IEPNGFix.update, 100); 173 }); 174} 175 176/* End */ 177; 178; /* Start:"a:4:{s:4:"full";s:29:"/js/tooltip.js?13982591387075";s:6:"source";s:14:"/js/tooltip.js";s:3:"min";s:0:"";s:3:"map";s:0:"";}"*/ 179var tooltip = { 180 options: { 181 attr_name: "tooltip", 182 blank_text: "", 183 newline_entity: " ", 184 max_width: 0, 185 delay: 100, 186 skip_tags: ["link", "style"] 187 }, 188 189 t: document.createElement("DIV"), 190 c: null, 191 g: false, 192 canvas: null, 193 194 m: function(e){ 195 if (tooltip.g){ 196 var x = window.event ? event.clientX + (tooltip.canvas.scrollLeft || document.body.scrollLeft) : e.pageX; 197 var y = window.event ? event.clientY + (tooltip.canvas.scrollTop || document.body.scrollTop) : e.pageY; 198 tooltip.a(x, y); 199 } 200 }, 201 202 d: function(){ 203 tooltip.canvas = document.getElementsByTagName(document.compatMode && document.compatMode == "CSS1Compat" ? "HTML" : "BODY")[0]; 204 tooltip.t.setAttribute("id", "tooltip"); 205 document.body.appendChild(tooltip.t); 206 if (tooltip.options.max_width) tooltip.t.style.maxWidth = tooltip.options.max_width + "px"; // all but ie 207 var a = document.all && !window.opera ? document.all : document.getElementsByTagName("*"); // in opera 9 document.all produces type mismatch error 208 var l = a.length; 209 for (var i = 0; i < l; i++){ 210 211 if (!a[i] || tooltip.options.skip_tags.in_array(a[i].tagName.toLowerCase())) continue; 212 213 var tooltip_title = a[i].getAttribute("title"); // returns form object if IE & name="title"; then IE crashes; so... 214 if (tooltip_title && typeof tooltip_title != "string") tooltip_title = ""; 215 216 var tooltip_alt = a[i].getAttribute("alt"); 217 var tooltip_blank = a[i].getAttribute("target") && a[i].getAttribute("target") == "_blank" && tooltip.options.blank_text; 218 if (tooltip_title || tooltip_blank){ 219 a[i].setAttribute(tooltip.options.attr_name, tooltip_blank ? (tooltip_title ? tooltip_title + " " + tooltip.options.blank_text : tooltip.options.blank_text) : tooltip_title); 220 if (a[i].getAttribute(tooltip.options.attr_name)){ 221 a[i].removeAttribute("title"); 222 if (tooltip_alt && a[i].complete) a[i].removeAttribute("alt"); 223 tooltip.l(a[i], "mouseover", tooltip.s); 224 tooltip.l(a[i], "mouseout", tooltip.h); 225 } 226 }else if (tooltip_alt && a[i].complete){ 227 a[i].setAttribute(tooltip.options.attr_name, tooltip_alt); 228 if (a[i].getAttribute(tooltip.options.attr_name)){ 229 a[i].removeAttribute("alt"); 230 tooltip.l(a[i], "mouseover", tooltip.s); 231 tooltip.l(a[i], "mouseout", tooltip.h); 232 } 233 } 234 if (!a[i].getAttribute(tooltip.options.attr_name) && tooltip_blank){ 235 // 236 } 237 } 238 document.onmousemove = tooltip.m; 239 window.onscroll = tooltip.h; 240 tooltip.a(-99, -99); 241 }, 242 243 _: function(s){ 244 s = s.replace(/\&/g,"&"); 245 s = s.replace(/\</g,"<"); 246 s = s.replace(/\>/g,">"); 247 return s; 248 }, 249 250 s: function(e){ 251 if (typeof tooltip == "undefined") return; 252 var d = window.event ? window.event.srcElement : e.target; 253 if (!d.getAttribute(tooltip.options.attr_name)) return; 254 var s = d.getAttribute(tooltip.options.attr_name); 255 if (tooltip.options.newline_entity){ 256 var s = tooltip._(s); 257 s = s.replace(eval("/" + tooltip._(tooltip.options.newline_entity) + "/g"), "<br />"); 258 tooltip.t.innerHTML = s; 259 }else{ 260 if (tooltip.t.firstChild) tooltip.t.removeChild(tooltip.t.firstChild); 261 tooltip.t.appendChild(document.createTextNode(s)); 262 } 263 tooltip.c = setTimeout(function(){ 264 tooltip.t.style.visibility = 'visible'; 265 }, tooltip.options.delay); 266 tooltip.g = true; 267 }, 268 269 h: function(e){ 270 if (typeof tooltip == "undefined") return; 271 tooltip.t.style.visibility = "hidden"; 272 if (!tooltip.options.newline_entity && tooltip.t.firstChild) tooltip.t.removeChild(tooltip.t.firstChild); 273 clearTimeout(tooltip.c); 274 tooltip.g = false;
275 tooltip.a(-99, -99); 276 }, 277 278 l: function(o, e, a){ 279 if (o.addEventListener) o.addEventListener(e, a, false); // was true--Opera 7b workaround! 280 else if (o.attachEvent) o.attachEvent("on" + e, a); 281 else return null; 282 }, 283 284 a: function(x, y){ 285 var w_width = tooltip.canvas.clientWidth ? tooltip.canvas.clientWidth + (tooltip.canvas.scrollLeft || document.body.scrollLeft) : window.innerWidth + window.pageXOffset; 286 var w_height = window.innerHeight ? window.innerHeight + window.pageYOffset : tooltip.canvas.clientHeight + (tooltip.canvas.scrollTop || document.body.scrollTop); // should be vice verca since Opera 7 is crazy! 287 288 if (document.all && document.all.item && !window.opera) tooltip.t.style.width = tooltip.options.max_width && tooltip.t.offsetWidth > tooltip.options.max_width ? tooltip.options.max_width + "px" : "auto"; 289 290 var t_width = tooltip.t.offsetWidth; 291 var t_height = tooltip.t.offsetHeight; 292 293 tooltip.t.style.left = x + 8 + "px"; 294 tooltip.t.style.top = y + 8 + "px"; 295 296 if (x + t_width > w_width) tooltip.t.style.left = w_width - t_width + "px"; 297 if (y + t_height > w_height) tooltip.t.style.top = w_height - t_height + "px"; 298 } 299} 300 301Array.prototype.in_array = function(value){ 302 var l = this.length; 303 for (var i = 0; i < l; i++) 304 if (this[i] === value) return true; 305 return false; 306}; 307 308var root = window.addEventListener || window.attachEvent ? window : document.addEventListener ? document : null; 309if (root){ 310 if (root.addEventListener) root.addEventListener("load", tooltip.d, false); 311 else if (root.attachEvent) root.attachEvent("onload", tooltip.d); 312} 313 314 315$(document).ready(function(){ 316 317 $(".hov").hover( 318 function () { 319 $('#district').addClass('hov'); 320 }, 321 function () { 322 $('#district').removeClass("hov"); 323 } 324 ); 325 $(".hov1").hover( 326 function () { 327 $('#district1').addClass('hov'); 328 }, 329 function () { 330 $('#district1').removeClass("hov"); 331 } 332 ); 333 $(".hov2").hover( 334 function () { 335 $('#district2').addClass('hov'); 336 }, 337 function () { 338 $('#district2').removeClass("hov"); 339 } 340 ); 341 $(".hov3").hover( 342 function () { 343 $('#district4').addClass('hov'); 344 }, 345 function () { 346 $('#district4').removeClass("hov"); 347 } 348 ); 349 $(".hov4").hover( 350 function () { 351 $('#district3').addClass('hov'); 352 }, 353 function () { 354 $('#district3').removeClass("hov"); 355 } 356 ); 357 $(".hov5").hover( 358 function () { 359 $('#district5').addClass('hov'); 360 }, 361 function () { 362 $('#district5').removeClass("hov"); 363 } 364 ); 365 $(".hov6").hover( 366 function () { 367 $('#district6').addClass('hov'); 368 }, 369 function () { 370 $('#district6').removeClass("hov"); 371 } 372 ); 373 $(".hov7").hover( 374 function () { 375 $('#district7').addClass('hov'); 376 }, 377 function () { 378 $('#district7').removeClass("hov"); 379 } 380 ); 381 $(".hov8").hover( 382 function () { 383 $('#district8').addClass('hov'); 384 }, 385 function () { 386 $('#district8').removeClass("hov"); 387 } 388 ); 389 $(".hov9").hover( 390 function () { 391 $('#district9').addClass('hov'); 392 }, 393 function () { 394 $('#district9').removeClass("hov"); 395 } 396 ); 397 $(".hov10").hover( 398 function () { 399 $('#district10').addClass('hov'); 400 }, 401 function () { 402 $('#district10').removeClass("hov"); 403 } 404 ); 405 406 $("#district,#district1,#district2,#district3,#district4,#district5,#district6,#district7,#district8,#district9,#district10").hover(function(){ 407 $(this).addClass("hov"); 408 },function(){ 409 $(this).removeClass("hov"); 410 });; 411}); 412/* End */ 413; 414; /* Start:"a:4:{s:4:"full";s:34:"/js/sliderScript.js?13963592051104";s:6:"source";s:19:"/js/sliderScript.js";s:3:"min";s:0:"";s:3:"map";s:0:"";}"*/ 415//òåëåâèçîð 416var m=0; var speed=3000; 417$(document).ready(function(){ 418
419var slist=$("#content_banner_text").children("ul"); 420slist.children("li").eq(m).addClass("selli2"); 421 422slide(); 423function slide(){ 424//$(".content_main_news").fadeOut(1, function(){ 425//$(".content_main_news").html(slist.children("li").eq(m).children(".intro-hide").html()); 426//$(".content_banners").css("background", "url("+"/upload/iblock/bcf/bcfdb8deaed4610cefd68c8ef29ffc3d.jpg"+") no-repeat scroll left top transparent"); 427 428$(".content_banners").css("background", "url("+slist.children("li").eq(m).children(".pic-hide").children("img").attr("src")+") no-repeat scroll left top transparent"); 429$(".linkFoto").attr('href', slist.children("li").eq(m).children(".pic-hide").children("a").attr("href")); 430 431//$(".content_main_news").fadeIn(1); 432//}); 433 434} 435slist.children("li").hover(function(){ 436$(".selli2").removeClass("selli2"); 437m=$(this).index(); 438$(this).addClass("selli2"); 439slide(); 440//alert($(this).children(".linkNews").attr("href")); 441}, 442function(){ 443}); 444}); 445//google.load("jquery", "1.7.0"); 446//google.load("jqueryui", "1.8.16"); 447//END-òåëåâèçîð 448/* End */ 449; 450; /* Start:"a:4:{s:4:"full";s:86:"/bitrix/templates/.default/components/mkrf/menu/scrolling_main/script.js?1418134109469";s:6:"source";s:72:"/bitrix/templates/.default/components/mkrf/menu/scrolling_main/script.js";s:3:"min";s:0:"";s:3:"map";s:0:"";}"*/ 451var jshover = function() 452{ 453 var menuDiv = document.getElementById("horizontal-multilevel-menu") 454 if (!menuDiv) 455 return; 456 457 var sfEls = menuDiv.getElementsByTagName("li"); 458 for (var i=0; i<sfEls.length; i++) 459 { 460 sfEls[i].onmouseover=function() 461 { 462 this.className+=" jshover"; 463 } 464 sfEls[i].onmouseout=function() 465 { 466 this.className=this.className.replace(new RegExp(" jshover\\b"), ""); 467 } 468 } 469} 470 471if (window.attachEvent) 472 window.attachEvent("onload", jshover); 473/* End */ 474;; /* /js/jquery-1.7.2.min.js?134460296594840*/ 475; /* /js/iepngfix_tilebg.js?13458109714275*/ 476; /* /js/tooltip.js?13982591387075*/ 477; /* /js/sliderScript.js?13963592051104*/ 478; /* /bitrix/templates/.default/components/mkrf/menu/scrolling_main/script.js?1418134109469*/
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.