1 jQuery(function($) {'use strict',
3 var form = $('.contact-form');
4 form.submit(function () {'use strict',
6 $.post("sendemail.php", $(".contact-form").serialize(),function(result){
7 if(result.type == 'success'){
8 $this.prev().text(result.message).fadeIn().delay(3000).fadeOut();
16 // Google Map Customization
29 streetViewControl : false,
30 mapTypeControl: false,
31 overviewMapControl: false,
35 var image = 'images/map-icon.png';
40 animation: google.maps.Animation.DROP,
41 verticalAlign: 'bottom',
42 horizontalAlign: 'center',
43 backgroundColor: '#ffffff',
49 "featureType": "road",
54 "featureType": "water",
56 { "color": "#A2DAF2" }
59 "featureType": "landscape",
61 { "color": "#ABCE83" }
64 "elementType": "labels.text.fill",
66 { "color": "#000000" }
71 { "color": "#2ECC71" }
74 "elementType": "labels.text",
78 { "color": "#111111" }
85 styledMapName:"Styled Map",
87 mapTypeId: "map_style"
90 map.setStyle("map_style");