1 2 var header_height = 100; 3 var min_header_height_scroll = 57; 4 var min_header_height_fixed_hidden = 50; 5 var min_header_height_sticky = 60; 6 var scroll_amount_for_sticky = 85; 7 var content_line_height = 60; 8 var header_bottom_border_weight = 1; 9 var scroll_amount_for_fixed_hiding = 200; 10 var paspartu_width_init = 0.02; 11 var add_for_admin_bar = jQuery('body').hasClass('admin-bar') ? 32 : 0; 12 13 header_height = 150; 14 scroll_amount_for_sticky = 675; 15 16 var logo_height = 130; // proya logo height 17 var logo_width = 280; // proya logo width 18 logo_height = 400; 19 logo_width = 1000; 20 21 header_top_height = 33; 22 var loading_text; 23 loading_text = 'Loading new posts...'; 24 var finished_text; 25 finished_text = 'No more posts'; 26 27 var piechartcolor; 28 piechartcolor = "#1abc9c"; 29 piechartcolor = "#f7c44c"; 30 31 var geocoder; 32 var map; 33 34 function initialize() { 35 "use strict"; 36 // Create an array of styles. 37 var mapStyles = [ 38 { 39 stylers: [ 40 {hue: "#324156" }, 41 {saturation: "-60"}, 42 {lightness: "-20"}, 43 {gamma: 1.51} 44 ] 45 } 46 ]; 47 var qodeMapType = new google.maps.StyledMapType(mapStyles, 48 {name: "Qode Map"}); 49 50 geocoder = new google.maps.Geocoder(); 51 var latlng = new google.maps.LatLng(-34.397, 150.644); 52 var myOptions = { 53 zoom: 12, 54 scrollwheel: false, 55 center: latlng, 56 zoomControl: true, 57 zoomControlOptions: { 58 style: google.maps.ZoomControlStyle.SMALL, 59 position: google.maps.ControlPosition.RIGHT_CENTER 60 }, 61 scaleControl: false, 62 scaleControlOptions: { 63 position: google.maps.ControlPosition.LEFT_CENTER 64 }, 65 streetViewControl: false, 66 streetViewControlOptions: { 67 position: google.maps.ControlPosition.LEFT_CENTER 68 }, 69 panControl: false, 70 panControlOptions: { 71 position: google.maps.ControlPosition.LEFT_CENTER 72 }, 73 mapTypeControl: false, 74 mapTypeControlOptions: { 75 mapTypeIds: [google.maps.MapTypeId.ROADMAP, 'qode_style'], 76 style: google.maps.MapTypeControlStyle.HORIZONTAL_BAR, 77 position: google.maps.ControlPosition.LEFT_CENTER 78 }, 79 mapTypeId: google.maps.MapTypeId.ROADMAP 80 }; 81 map = new google.maps.Map(document.getElementById("map_canvas"), myOptions); 82 } 83 84 function 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://www.europamedical.com.au/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 117 var $j = jQuery.noConflict(); 118 119 $j(document).ready(function() { 120 "use strict"; 121 122 showContactMap(); 123 }); 124 125 function showContactMap() { 126 "use strict"; 127 128 if($j("#map_canvas").length > 0){ 129 initialize(); 130 codeAddress(""); 131 codeAddress(""); 132 codeAddress(""); 133 codeAddress(""); 134 codeAddress("Museum of the City of New York, New York, USA"); 135 } 136 } 137 138 var no_ajax_pages = []; 139 var qode_root = 'https://www.europamedical.com.au/'; 140 var theme_root = 'https://www.europamedical.com.au/wp-content/themes/bridge/'; 141 var header_style_admin = ""; 142 if(typeof no_ajax_obj !== 'undefined') { 143 no_ajax_pages = no_ajax_obj.no_ajax_pages; 144 } 145 146
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.