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 = 85; var min_header_height_scroll = 57; var min_header_height_sticky = 60; var scroll_amount_for_sticky = 85; var content_line_height = 60; var add_for_admin_bar = 0; var logo_height = 130; // theme13 logo height var logo_width = 280; // theme13 logo width logo_height = 160; logo_width = 190; header_top_height = 33; 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 = '
'+ '
'+ '
'+ '
'+ '

'+data+'

'+ '
'+ '
'; 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://parisian-style.fr/'; var qode_root = 'http://parisian-style.fr/'; var theme_root = 'http://parisian-style.fr/wp-content/themes/strata/'; var parallax_speed = 1; var header_style_admin = ""; no_ajax_pages.push('http://parisian-style.fr/produit/relooking-aix-en-provence-marseille-nice/'); no_ajax_pages.push('http://parisian-style.fr/produit/formule-relooking-paris-aix-en-provence-nice/'); no_ajax_pages.push('http://parisian-style.fr/produit/formule-relooking-paris-marseille-nice/'); no_ajax_pages.push('http://parisian-style.fr/produit/formule-relooking-paris-marseille-aix-en-provence-champs-elysees/'); no_ajax_pages.push('http://parisian-style.fr/produit/atelier-realisation-de-coiffures-privatif/'); no_ajax_pages.push('http://parisian-style.fr/produit/mission-personal-shopping-formule/'); no_ajax_pages.push('http://parisian-style.fr/produit/mission-personal-shopping-2/'); no_ajax_pages.push('http://parisian-style.fr/produit/personal-shopping-chaussures/'); no_ajax_pages.push('http://parisian-style.fr/produit/cours-de-marche-en-talons-session-privee/'); no_ajax_pages.push('http://parisian-style.fr/produit/cours-de-marche-en-talons-individuel/'); no_ajax_pages.push('http://parisian-style.fr/produit/atelier-de-maquillage-pour-ado/'); no_ajax_pages.push('http://parisian-style.fr/produit/cours-de-maquillage-collectif-paris-marseille-aix/'); no_ajax_pages.push('http://parisian-style.fr/produit/journee-accompagnement-shopping/'); no_ajax_pages.push('http://parisian-style.fr/produit/accompagnement-shopping/'); no_ajax_pages.push('http://parisian-style.fr/produit/audit-de-penderie-paris-marseille-aix-en-provence/'); no_ajax_pages.push('http://parisian-style.fr/produit/morpho-style/'); no_ajax_pages.push('http://parisian-style.fr/produit/colorimetrie/'); no_ajax_pages.push('http://parisian-style.fr/produit/cours-de-maquillage-ado/'); no_ajax_pages.push('http://parisian-style.fr/produit/cours-de-maquillage-paris-nice-marseille/'); no_ajax_pages.push('http://parisian-style.fr/produit/apprendre-a-marcher-en-talons-paris/'); no_ajax_pages.push('http://parisian-style.fr/produit/apprendre-a-marcher-en-talons-marseille/'); no_ajax_pages.push('http://parisian-style.fr/produit/relooking-coiffure/'); no_ajax_pages.push('http://parisian-style.fr/produit/apprendre-a-marcher-en-talons/'); no_ajax_pages.push('http://parisian-style.fr/catalogue-prestations/'); no_ajax_pages.push('http://parisian-style.fr/panier/'); no_ajax_pages.push('http://parisian-style.fr/commande/'); no_ajax_pages.push(''); no_ajax_pages.push(''); no_ajax_pages.push('http://parisian-style.fr/mon-compte/'); no_ajax_pages.push(''); no_ajax_pages.push(''); no_ajax_pages.push('');