PageSourceSearch

https://www.krahejacorphomes.com/wp-content/themes/bridge/js/default_dynamic_callback.php?ver=7.1.2

js krahejacorphomes.com collected 2026-09-25 04:36:43 UTC 3,532 bytes, 144 lines download raw bytes

1
2var header_height = 100;
3var min_header_height_scroll = 57;
4var min_header_height_fixed_hidden = 50;
5var min_header_height_sticky = 60;
6var scroll_amount_for_sticky = 85;
7var content_line_height = 60;
8var header_bottom_border_weight = 1;
9var scroll_amount_for_fixed_hiding = 200;
10var paspartu_width_init = 0.02;
11var add_for_admin_bar = jQuery('body').hasClass('admin-bar') ? 32 : 0;
12
13	header_height = 100;
14	min_header_height_scroll = 80;
15
16var logo_height = 130; // proya logo height
17var logo_width = 280; // proya logo width
18		logo_height = 200;
19		logo_width = 153;
20
21	
22	header_top_height = 0;
23var loading_text  = 'Loading new posts...';
24var finished_text = 'No more posts';
25
26var piechartcolor;
27piechartcolor	= "#1abc9c";
28	piechartcolor = "#303030";
29
30var geocoder;
31var map;
32
33function initialize() {
34	"use strict";
35  // Create an array of styles.
36  var mapStyles = [
37    {
38      stylers: [
39				{hue: "#324156" },
40				{saturation: "-60"},
41				{lightness: "-20"},
42				{gamma: 1.51}
43			]
44    }
45  ];
46  var qodeMapType = new google.maps.StyledMapType(mapStyles,
47    {name: "Qode Map"});
48
49	geocoder = new google.maps.Geocoder();
50	var latlng = new google.maps.LatLng(-34.397, 150.644);
51	var myOptions = {
52		zoom: 12,
53				scrollwheel: false,
54				center: latlng,
55		zoomControl: true,
56		zoomControlOptions: {
57			style: google.maps.ZoomControlStyle.SMALL,
58			position: google.maps.ControlPosition.RIGHT_CENTER
59		},
60		scaleControl: false,
61			scaleControlOptions: {
62			position: google.maps.ControlPosition.LEFT_CENTER
63		},
64		streetViewControl: false,
65			streetViewControlOptions: {
66			position: google.maps.ControlPosition.LEFT_CENTER
67		},
68		panControl: false,
69		panControlOptions: {
70			position: google.maps.ControlPosition.LEFT_CENTER
71		},
72		mapTypeControl: false,
73		mapTypeControlOptions: {
74			mapTypeIds: [google.maps.MapTypeId.ROADMAP, 'qode_style'],
75			style: google.maps.MapTypeControlStyle.HORIZONTAL_BAR,
76			position: google.maps.ControlPosition.LEFT_CENTER
77		},
78				mapTypeId: 'qode_style'
79			};
80	map = new google.maps.Map(document.getElementById("map_canvas"), myOptions);
81	  map.mapTypes.set('qode_style', qodeMapType);
82	}
83
84function codeAddress(data) {
85	"use strict";
86	
87	if (data === '')
88		return;
89
90	var contentString = '<div id="content">'+
91	'<div id="siteNotice">'+
92	'</div>'+
93	'<div id="bodyContent">'+
94	'<p>'+data+'</p>'+
95	'</div>'+
96	'</div>';
97	var infowindow = new google.maps.InfoWindow({
98		content: contentString
99	});
100	geocoder.geocode( { 'address': data}, function(results, status) {
101		if (status === google.maps.GeocoderStatus.OK) {
102			map.setCenter(results[0].geometry.location);
103			var marker = new google.maps.Marker({
104				map: map, 
105				position: results[0].geometry.location,
106								icon:  'https://natbu.com/kraheja/wp-content/themes/bridge/img/pin.png',
107								title: data['store_title']
108			});
109			google.maps.event.addListener(marker, 'click', function() {
110				infowindow.open(map,marker);
111			});
112			//infowindow.open(map,marker);
113		}
114	});
115}
116
117var $j = jQuery.noConflict();
118
119$j(document).ready(function() {
120	"use strict";
121
122	showContactMap();
123});
124
125function showContactMap() {
126	"use strict";
127
128	if($j("#map_canvas").length > 0){
129		initialize();
130		codeAddress("");
131		codeAddress("");
132		codeAddress("");
133		codeAddress("");
134		codeAddress("");
135	}
136}
137
138var no_ajax_pages = [];
139var qode_root = 'https://www.krahejacorphomes.com/';
140var theme_root = 'https://www.krahejacorphomes.com/wp-content/themes/bridge/';
141var header_style_admin = "";
142if(typeof no_ajax_obj !== 'undefined') {
143	no_ajax_pages = no_ajax_obj.no_ajax_pages;
144}

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.