PageSourceSearch

https://www.alorahealth.com/wp-content/themes/bridge/js/default_dynamic.js?ver=1775772482

js alorahealth.com collected 2026-10-01 13:53:40 UTC 4,267 bytes, 162 lines download raw bytes

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

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.