      (function() {
        window.onload = function(){
       		
        // Creating a LatLng object containing the coordinate for the center of the map  
          var latlng = new google.maps.LatLng(54.906218, -1.380522);  

          // Creating an object literal containing the properties we want to pass to the map  
          var options = {  
          	zoom: 14,
          	center: latlng,
			disableDefaultUI: true,
			mapTypeId: google.maps.MapTypeId.ROADMAP
          };  

          // Calling the constructor, thereby initializing the map  
          var map = new google.maps.Map(document.getElementById('map'), options); 
					
					var contentString = '<div>'+
							'<h3>Sunderland Practice</h3>'+
							'<div>'+
							'<p>54 John Street ' +
							'Sunderland '+
							'SR1 1QH </p>'+
							'<p>Tel: 0191 565 8886</p>'+
							'</div>'+
							'</div>';
							
					var infowindow = new google.maps.InfoWindow({
							content: contentString
					});
					
					var marker = new google.maps.Marker({
							position: new google.maps.LatLng(54.906218, -1.380522), 
							map: map,
							title: 'How to find Sunderland Back Pain Centre',
							clickable: true,
					});
					
					
					google.maps.event.addListener(marker, 'click', function() {
						infowindow2.close();
						infowindow.open(map,marker);
					});
					
						
				google.maps.event.addListener(marker2, 'click', function() {
						infowindow.close();
						infowindow2.open(map,marker2);
					});
      	}
      })();
      
       
