function load () {
		
			var w = 43.880379;
			var h = 11.105800;
			var map = document.getElementById("map");
			if (GBrowserIsCompatible()) {
			
				var map = new GMap2(document.getElementById("map"));
				map.setCenter(new GLatLng(w, h), 17);
				var point = new GLatLng(w,h);
				map.openInfoWindow(point,"<h3>Tessuti d\'Arte</h3>Via Buozzi, 56 - <strong>Prato</strong>");
				
				icona = new GIcon();    
				icona.image = "http://www.tessutiarte.it/css/images/marker.png";
				icona.iconSize = new GSize(35, 59);
				icona.iconAnchor = new GPoint(25, 59);
				icona.infoWindowAnchor = new GPoint(35, 59);
				map.addOverlay(new GMarker(point, icona));
				map.addControl(new GSmallMapControl());
				map.addControl(new GMapTypeControl());
								
			} else {
				alert("Sorry, your browser cannot handle the true power of Google Maps");
			}
		}
    window.onload = load;
    window.onunload = GUnload;/**/
	
$(document).ready(function(){
	
	$("input#invio").click(function(){
		//alert("nome=" + $("input#nome").val() + "&tel=" + $("input#tel").val() +"&mail=" + $("input#mail").val() + "&messaggio=" + $("textarea#messaggio").val());
		 $.ajax({
		   type: "POST",
		   url: "http://www.tessutiarte.it/page/modules/preventivo/index.php",
		   data: "nome=" + $("input#nome").val() + "&tel=" + $("input#tel").val() +"&mail=" + $("input#mail").val() + "&messaggio=" + $("textarea#messaggio").val(),
		   success: function(msg){
			 alert(msg);
		   }
		 });/**/
	});
});