PageSourceSearch

https://redrocketrealty.com.au/wp-content/themes/bridge/js/default_dynamic_callback.php?ver=7.1.3

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

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.