var _____WB$wombat$assign$function_____ = function(name) {return (self._wb_wombat && self._wb_wombat.local_init && self._wb_wombat.local_init(name)) || self[name]; };
if (!self.__WB_pmw) { self.__WB_pmw = function(obj) { this.__WB_source = obj; return this; } }
{
let window = _____WB$wombat$assign$function_____("window");
let self = _____WB$wombat$assign$function_____("self");
let document = _____WB$wombat$assign$function_____("document");
let location = _____WB$wombat$assign$function_____("location");
let top = _____WB$wombat$assign$function_____("top");
let parent = _____WB$wombat$assign$function_____("parent");
let frames = _____WB$wombat$assign$function_____("frames");
let opener = _____WB$wombat$assign$function_____("opener");
function ajaxSubmitCommentForm(){
"use strict";
var options = {
success: function(){
$j("#commentform textarea").val("");
$j("#commentform .success p").text("Comment has been sent!");
}
};
$j('#commentform').submit(function() {
$j(this).find('input[type="submit"]').next('.success').remove();
$j(this).find('input[type="submit"]').after('
');
$j(this).ajaxSubmit(options);
return false;
});
}
var header_height = 60;
var min_header_height = 40;
var geocoder;
var map;
function initialize() {
"use strict";
// Create an array of styles.
var mapStyles = [
{
stylers: [
{hue: "#324156" },
{saturation: -60},
{lightness: -20},
{gamma: 1.51}
]
}
];
var qodeMapType = new google.maps.StyledMapType(mapStyles,
{name: "Qode Map"});
geocoder = new google.maps.Geocoder();
var latlng = new google.maps.LatLng(-34.397, 150.644);
var myOptions = {
zoom: 12,
scrollwheel: false,
center: latlng,
zoomControl: true,
zoomControlOptions: {
style: google.maps.ZoomControlStyle.SMALL,
position: google.maps.ControlPosition.RIGHT_CENTER
},
scaleControl: false,
scaleControlOptions: {
position: google.maps.ControlPosition.LEFT_CENTER
},
streetViewControl: false,
streetViewControlOptions: {
position: google.maps.ControlPosition.LEFT_CENTER
},
panControl: false,
panControlOptions: {
position: google.maps.ControlPosition.LEFT_CENTER
},
mapTypeControl: false,
mapTypeControlOptions: {
mapTypeIds: [google.maps.MapTypeId.ROADMAP, 'qode_style'],
style: google.maps.MapTypeControlStyle.HORIZONTAL_BAR,
position: google.maps.ControlPosition.LEFT_CENTER
},
mapTypeId: 'qode_style'
};
map = new google.maps.Map(document.getElementById("map_canvas"), myOptions);
map.mapTypes.set('qode_style', qodeMapType);
}
function codeAddress(data) {
"use strict";
if (data === '')
return;
var contentString = '';
var infowindow = new google.maps.InfoWindow({
content: contentString
});
geocoder.geocode( { 'address': data}, function(results, status) {
if (status === google.maps.GeocoderStatus.OK) {
map.setCenter(results[0].geometry.location);
var marker = new google.maps.Marker({
map: map,
position: results[0].geometry.location,
title: data['store_title']
});
google.maps.event.addListener(marker, 'click', function() {
infowindow.open(map,marker);
});
//infowindow.open(map,marker);
}
});
}
var $j = jQuery.noConflict();
$j(document).ready(function() {
"use strict";
showContactMap();
});
function showContactMap() {
"use strict";
if($j("#map_canvas").length > 0){
initialize();
codeAddress('');
codeAddress('');
codeAddress('');
codeAddress('');
codeAddress('');
}
}
var no_ajax_pages = [];
var root = 'http://web.archive.orghttps://likemedia.by/';
var theme_root = 'http://web.archive.orghttps://likemedia.by/wp-content/themes/subway/';
var parallax_speed = 1;
no_ajax_pages.push('');
}
/*
playback timings (ms):
captures_list: 0.756
exclusion.robots: 0.027
exclusion.robots.policy: 0.011
esindex: 0.017
cdx.remote: 6.479
LoadShardBlock: 48.005 (3)
PetaboxLoader3.datanode: 54.697 (4)
load_resource: 211.0
PetaboxLoader3.resolve: 200.183
*/