

			jQuery(document).ready(function(){
			
			
			
			  $('#map').jmap('init',
			  	{'mapType':'map','mapCenter':[40.996808,17.219696],'mapZoom':8}); 
				
				
				
					
				
					jQuery('#map').jmap('SearchAddress', {
						'query': 'via Fattoi 9, Polignano a Mare',
						'returnType': 'getLocations'
					}, function(result, options) {
						
						var valid = Mapifies.SearchCode(result.Status.code);
						if (valid.success) {
						jQuery.each(result.Placemark, function(i, point){
							jQuery('#map').jmap('AddMarker',{
									'pointLatLng':[point.Point.coordinates[1], point.Point.coordinates[0]],
									'pointHTML':'Beb &amp; Breakfast Nel Sole',
									'pointIcon':
										{image: "http://www.google.com/mapfiles/marker.png",
										shadow: "http://www.google.com/mapfiles/shadow50.png",
										iconSize : new GSize(20, 34),
										shadowSize : new GSize(37, 34),
										iconAnchor : new GPoint(9, 34),
										infoWindowAnchor : new GPoint(9, 2),
										infoShadowAnchor : new GPoint(18, 25)}
		
								});
							});
						} else {
							
						}
					});
					
					
					jQuery('#map').jmap('SearchAddress', {
						'query': 'Aeroporto di Bari-Palese, 70128 Bari Bari, Puglia',
						'returnType': 'getLocations'
					}, function(result, options) {
						
						var valid = Mapifies.SearchCode(result.Status.code);
						if (valid.success) {
						jQuery.each(result.Placemark, function(i, point){
							jQuery('#map').jmap('AddMarker',{
									'pointLatLng':[point.Point.coordinates[1], point.Point.coordinates[0]],
									'pointHTML':'Aereoporto di Bari-Palese',
									'pointIcon':
										{image: "img/aereoportopng.png",
										/*shadow: "http://www.google.com/mapfiles/shadow50.png",*/
										iconSize : new GSize(25, 24),
										/*shadowSize : new GSize(37, 34),*/
										iconAnchor : new GPoint(1, 24),
										infoWindowAnchor : new GPoint(9, 2)
										/*infoShadowAnchor : new GPoint(18, 25)*/
										}
		
								});
							});
						} else {
							
						}
					});
					
					
					jQuery('#map').jmap('SearchAddress', {
						'query': 'Aeroporto internazionale del Salento, 72100 Brindisi Brindisi, Puglia',
						'returnType': 'getLocations'
					}, function(result, options) {
						
						var valid = Mapifies.SearchCode(result.Status.code);
						if (valid.success) {
						jQuery.each(result.Placemark, function(i, point){
							jQuery('#map').jmap('AddMarker',{
									'pointLatLng':[point.Point.coordinates[1], point.Point.coordinates[0]],
									'pointHTML':'Aereoporto di Brindisi',
									'pointIcon':
										{image: "img/aereoportopng.png",
										/*shadow: "http://www.google.com/mapfiles/shadow50.png",*/
										iconSize : new GSize(25, 24),
										/*shadowSize : new GSize(37, 34),*/
										iconAnchor : new GPoint(1, 24),
										infoWindowAnchor : new GPoint(9, 2)
										/*infoShadowAnchor : new GPoint(18, 25)*/
										}
		
								});
							});
						} else {
							
						}
					});

				
			 
			});