Deprecated: Optional parameter $name declared before required parameter $keys is implicitly treated as a required parameter in /home/anemcr/public_html/wp-content/plugins/LayerSlider/classes/class.ls.config.php on line 71
Warning: The magic method Vc_Manager::__wakeup() must have public visibility in /home/anemcr/public_html/wp-content/plugins/js_composer/include/classes/core/class-vc-manager.php on line 203
Deprecated: Optional parameter $attach_id declared before required parameter $height is implicitly treated as a required parameter in /home/anemcr/public_html/wp-content/plugins/js_composer/include/helpers/helpers.php on line 366
Deprecated: Optional parameter $img_url declared before required parameter $height is implicitly treated as a required parameter in /home/anemcr/public_html/wp-content/plugins/js_composer/include/helpers/helpers.php on line 366
Deprecated: Optional parameter $blank declared before required parameter $slider is implicitly treated as a required parameter in /home/anemcr/public_html/wp-content/plugins/revslider/admin/includes/plugin-update.class.php on line 2805
Deprecated: Optional parameter $item_count declared before required parameter $access_token is implicitly treated as a required parameter in /home/anemcr/public_html/wp-content/plugins/revslider/includes/external-sources.class.php on line 68
Deprecated: Optional parameter $item_count declared before required parameter $access_token is implicitly treated as a required parameter in /home/anemcr/public_html/wp-content/plugins/revslider/includes/external-sources.class.php on line 85
Deprecated: Optional parameter $item_count declared before required parameter $current_photoset is implicitly treated as a required parameter in /home/anemcr/public_html/wp-content/plugins/revslider/includes/external-sources.class.php on line 1363
Warning: The magic method StockholmQodeInstagramApi::__wakeup() must have public visibility in /home/anemcr/public_html/wp-content/plugins/select-instagram-feed/lib/qode-instagram-api.php on line 90
Warning: The magic method StockholmQodeRestaurant\Lib\ShortcodeLoader::__wakeup() must have public visibility in /home/anemcr/public_html/wp-content/plugins/select-restaurant/lib/shortcode-loader.php on line 28
Warning: The magic method StockholmQodeRestaurant\CPT\PostTypesRegister::__wakeup() must have public visibility in /home/anemcr/public_html/wp-content/plugins/select-restaurant/post-types/post-types-register.php on line 28
Warning: The magic method StockholmQodeTwitterApi::__wakeup() must have public visibility in /home/anemcr/public_html/wp-content/plugins/select-twitter-feed/lib/qode-twitter-api.php on line 95
Warning: The magic method StockholmQodeMembership\Lib\ShortcodeLoader::__wakeup() must have public visibility in /home/anemcr/public_html/wp-content/plugins/select-membership/lib/shortcode-loader.php on line 27
Warning: Cannot modify header information - headers already sent by (output started at /home/anemcr/public_html/wp-content/plugins/LayerSlider/classes/class.ls.config.php:71) in /home/anemcr/public_html/wp-content/themes/stockholm/js/default_dynamic_callback.php on line 11
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 = 100;
var min_header_height_scroll = 57;
var min_header_height_fixed_hidden = 50;
var min_header_height_sticky = 60;
var scroll_amount_for_sticky = 85;
var content_line_height = 60;
var header_bottom_border_weight = 1;
var scroll_amount_for_fixed_hiding = 200;
var paspartu_width_init = 0.02;
var search_header_height = 50;
header_height = 120;
min_header_height_scroll = 120;
var logo_height = 130; // stockholm logo height
var logo_width = 280; // stockholm logo width
logo_height = 130;
logo_width = 220;
header_top_height = 0;
var loading_text;
loading_text = 'Loading new posts...';
var finished_text;
finished_text = 'No more posts';
var piechartcolor;
piechartcolor = "#e6ae48";
var geocoder;
var map;
function initialize() {
"use strict";
// Create an array of styles.
var mapStyles = [
{
stylers: [
{hue: "#393939" },
{saturation: "-100"},
{lightness: "-60"},
{gamma: 1}
]
}
];
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,
icon: 'http://anemcr.com/wp-content/themes/stockholm/img/pin.png',
title: data['store_title']
});
google.maps.event.addListener(marker, 'click', function() {
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 && typeof google === 'object'){
initialize();
codeAddress("");
codeAddress("");
codeAddress("");
codeAddress("");
codeAddress("Anem Ingenieria, Guadalupe, San José,, Costa Rica");
}
}
var no_ajax_pages = [];
var qode_root = 'https://anemcr.com/';
var theme_root = 'https://anemcr.com/wp-content/themes/stockholm';
var header_style_admin = "light";
if(typeof no_ajax_obj !== 'undefined') {
no_ajax_pages = no_ajax_obj.no_ajax_pages;
}