PageSourceSearch

https://uvc-ekb.ru/js/script.js

js uvc-ekb.ru collected 2026-09-28 08:59:30 UTC 12,707 bytes, 264 lines download raw bytes

1if($.browser.mozilla||$.browser.opera){document.removeEventListener("DOMContentLoaded",$.ready,false);document.addEventListener("DOMContentLoaded",function(){$.ready()},false)}$.event.remove(window,"load",$.ready);$.event.add( window,"load",function(){$.ready()});$.extend({includeStates:{},include:function(url,callback,dependency){if(typeof callback!='function'&&!dependency){dependency=callback;callback=null}url=url.replace('\n','');$.includeStates[url]=false;var script=document.createElement('script');script.type='text/javascript';script.onload=function(){$.includeStates[url]=true;if(callback)callback.call(script)};script.onreadystatechange=function(){if(this.readyState!="complete"&&this.readyState!="loaded")return;$.includeStates[url]=true;if(callback)callback.call(script)};script.src=url;if(dependency){if(dependency.constructor!=Array)dependency=[dependency];setTimeout(function(){var valid=true;$.each(dependency,function(k,v){if(!v()){valid=false;return false}});if(valid)document.getElementsByTagName('head')[0].appendChild(script);else setTimeout(arguments.callee,10)},10)}else document.getElementsByTagName('head')[0].appendChild(script);return function(){return $.includeStates[url]}},readyOld:$.ready,ready:function(){if($.isReady) return;imReady=true;$.each($.includeStates,function(url,state){if(!state)return imReady=false});if(imReady){$.readyOld.apply($,arguments)}else{setTimeout(arguments.callee,10)}}});
2$.include('/js/superfish.js')
3$.include('/js/jquery.hoverIntent.minified.js')
4$.include('/js/FF-cash.js')
5$.include('/js/tms-0.4.1.js')
6$.include('/js/uCarousel.js')
7$.include('/js/jquery.easing.1.3.js')
8$.include('/js/jquery.tools.min.js')
9$.include('/js/jquery.jqtransform.js')
10$.include('/js/jquery.quicksand.js')
11$.include('/js/jquery.snippet.min.js')
12$.include('/js/jquery-ui-1.8.17.custom.min.js')
13$.include('/js/jquery.cycle.all.min.js')
14$.include('/js/jquery.cookie.js')
15$.include('/js/jquery.backgroundPosition.js')
16$(window).load(function(){
17})
18$(function(){
19	$('.carousel').uCarousel({show:5,buttonClass:'car_btn'})
20	$('header .links li a').append('<span></span>').hover(function(){$(this).stop().animate({backgroundPosition:'0 0',color:'#fff'},{duration:200,queue:false}).find('>span').animate({backgroundColor:'#77252d',marginLeft:0,width:0},{duration:100,queue:false,complete:function(){$(this).animate({backgroundColor:'#242323',marginLeft:-12,width:23},100)}})},function(){$(this).stop().animate({backgroundPosition:'0 -156px',color:'#3d1d24'},{duration:200,queue:false}).find('>span').animate({backgroundColor:'#77252d',marginLeft:0,width:0},{duration:100,queue:false,complete:function(){$(this).animate({backgroundColor:'#77252d',marginLeft:-12,width:23},100)}})})
21	$('.list-1 li').prepend('<span></span>').find('>a').wrap('<text></text>').hover(function(){$(this).parent().prev().animate({height:0,marginTop:10,backgroundColor:'#858585'},100,function(){$(this).animate({height:19,marginTop:0,backgroundColor:'#fff'},100)})},function(){$(this).parent().prev().stop().animate({height:0,marginTop:10,backgroundColor:'#858585'},100,function(){$(this).animate({height:19,marginTop:0,backgroundColor:'#fff'},100)})})
22	$('.banners a').hover(function(){$(this).find('>img').stop().animate({opacity:.5})},function(){$(this).find('>img').stop().animate({opacity:1})})
23	if($('#contact-form').length)$.include('js/forms.js');
24	if($('.pro_tweet').length)$.include('js/jquery.tweet.js');
25	if($('.lightbox-image').length)$.include('js/jquery.prettyPhoto.js');
26	if($('#pro_contact-form').length)$.include('js/forms.js');
27	if($('.pro_kwicks').length)$.include('js/kwicks-1.5.1.pack.js');
28	if($('#pro_counter').length)$.include('js/jquery.countdown.js');
29	if($('.fixedtip').length||$('.clicktip').length||$('.normaltip').length)$.include('js/jquery.atooltip.pack.js')
30// Code
31	$("pre.pro_htmlCode2").snippet("html",{style:"print",showNum:false,menu:false});
32	$("pre.pro_jsCode2").snippet("javascript",{style:"print",showNum:false,menu:false});
33// SlideDown
34	$(".pro_description-box dd").show()
35	$("pre.pro_htmlCode").snippet("html",{style:"print"});
36	$("pre.pro_cssCode").snippet("css",{style:"print"});
37	$("pre.pro_jsCode").snippet("javascript",{style:"print"});
38	$(".pro_description-box dd").hide()
39	$(".pro_description-box dt").click(function(){
40		$(this).toggleClass("active").parent(".pro_description-box").find("dd").slideToggle(400);
41	});
42	$(".pro_slide-down-box dt").click(function(){$(this).toggleClass("active").parent(".pro_slide-down-box").find("dd").slideToggle(200);});
43	$(".pro_slide-down-box2 dt").click(function(){$(this).toggleClass("active").parent(".pro_slide-down-box2").find("dd").slideToggle(200);});
44// Tabs
45	$(".pro_tabs1 ul").tabs(".pro_tabs1 .pro_tab-content");
46	$(".pro_tabs2 ul").tabs(".pro_tabs2 .pro_tab-content");
47	$(".pro_tabs3 ul").tabs(".pro_tabs3 .pro_tab-content");
48	$(".pro_tabs4 ul").tabs(".pro_tabs4 .pro_tab-content");
49	$(".pro_tabs5 ul").tabs(".pro_tabs5 .pro_tab-content");
50	$(".pro_tabs-horz-top ul.pro_tabs-nav").tabs(".pro_tabs-horz-top .pro_tab-content");
51	$(".pro_tabs-horz-bottom ul.pro_tabs-nav").tabs(".pro_tabs-horz-bottom .pro_tab-content");
52	$(".pro_tabs-horz-top2 ul.pro_tabs-nav").tabs(".pro_tabs-horz-top2 .pro_tab-content");
53	$(".pro_tabs-horz-bottom2 ul.pro_tabs-nav").tabs(".pro_tabs-horz-bottom2 .pro_tab-content");
54	$(".pro_tabs-vert-left ul.pro_tabs-nav").tabs(".pro_tabs-vert-left .pro_tab-content");
55	$(".pro_tabs-vert-right ul.pro_tabs-nav").tabs(".pro_tabs-vert-right .pro_tab-content");
56// Forms
57	$('#pro_form2').jqTransform({imgPath:'images/'});
58	if($('.order-visa *').is('.error-box')){
59		var destination = $('.order-visa').offset().top;
60        if ($.browser.safari) {
61            $('body').animate({ scrollTop: destination }, 1100); //1100 - скорость прокрутки
62        } else {
63            $('html').animate({ scrollTop: destination }, 1100);
64        }
65	}
66	if($('.feedback-form *').is('.error-box')){
67		var destination = $('.feedback-form').offset().top;
68        if ($.browser.safari) {
69            $('body').animate({ scrollTop: destination }, 1100); //1100 - скорость прокрутки
70        } else {
71            $('html').animate({ scrollTop: destination }, 1100);
72        }
73	}
74// Call-order
75/*	$("#call-order").click(function(){
76		$('#consultation-form').fadeIn();
77		return false;
78	});
79*/
80	$("#call-order").click(function(){
81		$('.call-order').fadeIn();
82		$("#antFORM1").val('');
83		return false;
84	});
85	$(".callback-btn-box .btn").click(function(){
86		$('#call-form').fadeIn();
87		$("#antFORM1").val('');
88		return false;
89	});
90	$('.call-order .cls').click(function(){
91		$('.call-order').fadeOut();
92	});
93	$(document).click(function(event) {
94		if ($(event.target).closest(".call-order > .box").length) return;
95		$(".call-order").fadeOut();
96		event.stopPropagation();
97	});
98/*	if($('.call-order *').is('.error-box')){
99		$(".call-order").fadeIn();
100	}
101*/
102	if(!$('.call-order .alert-success').hasClass('hidden') || !$('.call-order .alert-danger').hasClass('hidden')){
103		$(".call-order").fadeIn();
104	}
105// Carausel
106	$('.pro_list-car').uCarousel({show:4,buttonClass:'pro_car-button', pageStep:1, shift:false})
107	$('.pro_carousel').uCarousel({show:4,buttonClass:'pro_car-button'})
108// Slider
109	$('.slider')._TMS({
110		show:0,
111		pauseOnHover:false,
112		duration:1000,
113		preset:'simpleFade',
114		pagination:true,
115		paginationCl:'pagination2',
116		pagNums:false,
117		slideshow:7000,
118		banners:'fromLeft',// fromLeft, fromRight, fromTop, fromBottom
119		waitBannerAnimation:false})
120// Slider
121	$('.pro_slider')._TMS({
122		show:0,
123		pauseOnHover:false,
124		prevBu:'.pro_prev',
125		nextBu:'.pro_next',
126		playBu:'.pro_play',
127		items:'.pro_items>li',
128		duration:1000,
129		preset:'simpleFade',
130		bannerCl:'pro_banner',
131		numStatusCl:'pro_numStatus',
132		pauseCl:'pro_paused',
133		pagination:true,
134		paginationCl:'pro_pagination',
135		pagNums:false,
136		slideshow:7000,
137		numStatus:true,
138		banners:'fade',// fromLeft, fromRight, fromTop, fromBottom
139		waitBannerAnimation:false,
140		progressBar:'<div class="pro_progbar"></div>'})
141// Simple Gallery
142	$('.pro_simple_gallery')._TMS({
143			show:0,
144			pauseOnHover:true,
145			prevBu:false,
146			nextBu:false,
147			playBu:false,
148			pagNums:false,
149			numStatus:false,
150			duration:1000,
151			preset:'simpleFade',
152			items:'.pro_items>li',
153			bannerCl:'pro_banner',
154			pagination:$('.pro_img-pags').uCarousel({show:10,shift:0,buttonClass:'pro_btn'}),
155			paginationCl:'pro_gal-pags',
156			slideshow:5000,
157			banners:'fade',// fromLeft, fromRight, fromTop, fromBottom
158			waitBannerAnimation:false,
159			progressBar:'<div class="pro_progbar"></div>'})
160// Ranges
161$("#pro_font-size-slider").change(function(e) {$(".pro_icons.pro_basic li a").css("font-size", $(this).val() + "px");});
162$(".pro_color-slider").change(function(e) {$(".pro_icons.pro_basic li a").css("color", "hsla(" + $("#pro_color-slider-1").val() + ", " + $("#pro_color-slider-2").val() + "%, " + $("#pro_color-slider-3").val() + "%, 1)");	});
163$(".pro_shadow-slider").change(function(e) {	$(".pro_icons.pro_basic li a").css("text-shadow", $("#pro_shadow-slider-1").val() + "px " + $("#pro_shadow-slider-2").val() + "px " + $("#pro_shadow-slider-3").val() + "px black");	 });
164// Testimonials
165	$('#pro_testimonials').cycle({fx:'fade', height:'auto',timeout:0,next:'#pro_next_testim',prev:'#pro_prev_testim', after: onAfter });
166// Buttons
167	$(".pro_notClicked").click(function(event) {event.preventDefault();});
168//Colorbox
169	$("a.zoom").each(function(){
170		$(this).colorbox({
171			current: "Фото {current} из {total}",
172			returnFocus: false,
173			maxWidth: "90%",
174			maxHeight: "90%"
175		});
176	});
177//mobilyslider
178	$('.slider-info').each(function(){
179		$(this).mobilyslider({
180			transition: 'fade',
181			animationSpeed: 1000,
182			autoplay: false,
183			autoplaySpeed: 3000,
184			bullets: false,
185			arrows: true,
186			arrowsHide: false
187		});
188	});
189//ctrweb
190	$('.ctrweb a').hover(function(){
191		$('.ctrweb').toggleClass('hover');
192	});
193//menu mobile
194	$('.navbar-toggler').click(function(){
195		$('#navbarSupportedContent').toggleClass( "show" );
196	});
197//login
198	$("#enter-link").click(function(){
199		$(".login form.enter").fadeIn();
200		$(".wrapper-box").fadeIn();
201		return false;
202	});
203	$('form.enter .close').click(function(){
204		$('form.enter').fadeOut();
205		$(".wrapper-box").fadeOut();
206	});
207	$(document).click(function(event) {
208		if ($(event.target).closest("form.enter").length) return;
209		$("form.enter").fadeOut();
210		$(".wrapper-box").fadeOut();
211		event.stopPropagation();
212	});
213	if($('form.enter *').is('.error-fld')){
214		$(".login form.enter").fadeIn();
215		$(".wrapper-box").fadeIn();
216	}
217
218//vopros v profile anketa
219	$(".list_ank .vopros").click(function(){
220		$(".list_ank .hint").fadeIn();
221		return false;
222	});
223	$(document).click(function(event) {
224		if ($(event.target).closest(".list_ank .hint").length) return;
225		$(".list_ank .hint").fadeOut();
226		event.stopPropagation();
227	});
228
229})
230// Panel
231$(function(){
232	$(window).scroll(function(){if ($(this).scrollTop() > 0) {$("#advanced").css({position:'fixed'});} else {$("#advanced").css({position:'relative'});}});
233	$.cookie("panel");
234	$.cookie("panel2");
235	var strCookies = $.cookie("panel");
236	var strCookies2 = $.cookie("panel2");
237	if(strCookies=='boo')
238	{
239		if(strCookies2=='opened'){$("#advanced").css({marginTop:'0px'}).removeClass('closed')}else{$("#advanced").css({marginTop:'-40px'}).addClass('closed')}
240		$("#advanced .trigger").toggle(function(){
241			$(this).find('strong').animate({opacity:0}
241).parent().parent('#advanced').removeClass('closed').animate({marginTop:'0px'},"fast");
242			strCookies2=$.cookie("panel2",'opened');
243			strCookies=$.cookie("panel",null);},
244		function(){
245			$(this).find('strong').animate({opacity:1}).parent().parent('#advanced').addClass('closed').animate({marginTop:'-40px'},"fast")
246			strCookies2=$.cookie("panel2",null);
247			strCookies=$.cookie("panel",'boo');});
248		if ($(window).scrollTop() > 0) {$("#advanced").css({position:'fixed'});}else {$("#advanced").css({position:'relative'});}
249	}
250	else
251	{
252		$("#advanced").css({marginTop:'0px'}).removeClass('closed');
253		$("#advanced .trigger").toggle(function(){
254			$(this).find('strong').animate({opacity:1}).parent().parent('#advanced').addClass('closed').animate({marginTop:'-40px'},"fast");
255			strCookies2=$.cookie("panel2",null);
256			strCookies=$.cookie("panel",'boo');},
257		function(){
258			$(this).find('strong').animate({opacity:0}).parent().parent('#advanced').removeClass('closed').animate({marginTop:'0px'},"fast")
259			strCookies2=$.cookie("panel2",'opened');
260			strCookies=$.cookie("panel",null);});
261		if ($(window).scrollTop() > 0) {$("#advanced").css({position:'fixed'});} else {$("#advanced").css({position:'relative'});}
262	}
263});
264function onAfter(curr, next, opts, fwd){var $ht=$(this).height();$(this).parent().animate({height:$ht})}

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.