PageSourceSearch

https://www.segabg.com/sites/all/themes/sega/js/jquery.header.js?tli4qp

js segabg.com collected 2026-09-24 17:15:07 UTC 4,180 bytes, 123 lines download raw bytes

1jQuery(document).ready(function(){
2	/* Each input type checkbox */
3	var inputs = document.getElementsByTagName('input');
4	for (a = 0; a < inputs.length; a++){
5		if (inputs[a].type == "checkbox"){
6			var id = inputs[a].getAttribute("id");
7			if (id==null){
8				id=  "checkbox" +a;
9			}
10			inputs[a].setAttribute("id",id);
11			var container = document.createElement('div');
12			container.setAttribute("class", "mw_checkbox");
13			var label = document.createElement('label');
14			label.setAttribute("for", id);
15			jQuery(inputs[a]).wrap(container).after(label);
16		}
17	}
18	/* Each input type radio */
19	var inputs = document.getElementsByTagName('input');
20	for (a = 0; a < inputs.length; a++){
21		if (inputs[a].type == "radio"){
22			var id = inputs[a].getAttribute("id");
23			if (id==null){
24				id=  "radio" +a;
25			}
26			inputs[a].setAttribute("id",id);
27			var container = document.createElement('div');
28			container.setAttribute("class", "mw_radio");
29			var label = document.createElement('label');
30			label.setAttribute("for", id);
31			jQuery(inputs[a]).wrap(container).after(label);
32		}
33	}
34	/* */
35	var window_height =  Math.max(document.documentElement.clientHeight, window.innerHeight || 0);
36	var body_height = jQuery(document.body).height();
37	var content = jQuery("#mw_content_and_sidebar_container");
38	if(body_height < window_height){
39		differ = (window_height - body_height);
40		content_height = content.height() + differ;
41		jQuery("#mw_content_and_sidebar_container").css("min-height", content_height+"px");
42	}
43	/* */
44	jQuery('#nav-expander').on('click',function(e){
45		e.preventDefault();
46		jQuery('body').toggleClass('nav-expanded');
47	});
48	/* */
49	jQuery('ul.mw_menu_items.nav li [data-toggle=dropdown]').on('click', function() {
50		var window_width =  Math.max(document.documentElement.clientWidth, window.innerWidth || 0)
51		if(window_width > 1025){
52			window.location.href = jQuery(this).attr('href'); 
53		}
54	});
55	/* */
56	jQuery('ul.mw_vmenu_items.nav li [data-toggle=dropdown]').on('click', function() {
57		var window_width =  Math.max(document.documentElement.clientWidth, window.innerWidth || 0)
58		if(window_width > 1025){
59			window.location.href = jQuery(this).attr('href'); 
60		}
61	});
62	/* */
63	jQuery('.mw_menu_items ul.dropdown-menu [data-toggle=dropdown]').on('click', function(event) { 
64		var window_width =  Math.max(document.documentElement.clientWidth, window.innerWidth || 0);
65		if(window_width < 1025){
66			event.preventDefault();
67			event.stopPropagation();
68			jQuery(this).parent().siblings().removeClass('open');
69			jQuery(this).parent().toggleClass(function() {
70				if (jQuery(this).is(".open") ) {
71					window.location.href = jQuery(this).children("[data-toggle=dropdown]").attr('href'); 
72					return "";
73				} else {
74					return "open";
75				}
76			});
77		}
78	});
79	/* */
80	jQuery('.mw_vmenu_items ul.dropdown-menu [data-toggle=dropdown]').on('click', function(event) { 
81		var window_width =  Math.max(document.documentElement.clientWidth, window.innerWidth || 0);
82		if(window_width < 1025){
83			event.preventDefault();
84			event.stopPropagation();
85			jQuery(this).parent().siblings().removeClass('open');
86			jQuery(this).parent().toggleClass(function() {
87				if (jQuery(this).is(".open") ) {
88					window.location.href = jQuery(this).children("[data-toggle=dropdown]").attr('href'); 
89					return "";
90				} else {
91					return "open";
92				}
93			});
94		}
95	});
96	/* */
97	/*
98	var objects = ['iframe', 'video','object'];
99	var sel;
100
101	for ( var i = 0 ; i < objects.length ; i++ ) {
102		sel = jQuery( objects[i] ).not( '.mwAds ' + objects[i] )
103		
104		if ( sel.length > 0 ) {
105			sel.addClass('embed-responsive-item');
106			sel.parent().addClass('embed-responsive embed-responsive-16by9');
107			// jQuery(".embed-responsive-16by9").css("padding-bottom","56.25%");
108		}
109	}*/
110});
111/* Google Fonts 
112WebFontConfig = {
113	google: { families: [ 'Roboto','Roboto+Condensed'] }
114};
115(function() {
116	var wf = document.createElement('script');
117	wf.src = ('https:' == document.location.protocol ? 'https' : 'http') + '://ajax.googleapis.com/ajax/libs/webfont/1.0.31/webfont.js';
118	wf.type = 'text/javascript';
119	wf.async = 'true';
120	var s = document.getElementsByTagName('script')[0];
121	s.parentNode.insertBefore(wf, s);
122})();
123*/

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.