function initialize() {
	var houseAddress = document.getElementById('locationPara').innerHTML;
	var geocoder = new google.maps.Geocoder();
	geocoder.geocode({'address':houseAddress}, 
  		function(results, status){
  			if (status == google.maps.GeocoderStatus.OK){
        		var myOptions={
        			zoom: 15,
        			center: results[0].geometry.location,
        			mapTypeId: google.maps.MapTypeId.ROADMAP
        		}
        		var map = new google.maps.Map(document.getElementById("googleMaps"), myOptions);
        		var marker = new google.maps.Marker({
            		map: map,
            		position: results[0].geometry.location
        		});
        		var window = new google.maps.InfoWindow({
					content: '<p id="googleMapsAddress">Als Affordable Autos</p>'
				});
				window.open(map,marker);
				
				google.maps.event.addListener(marker, 'click', function(){
 					window.open(map,marker);
				});
      		}else{
        		alert("Geocode was not successful for the following reason: " + status);
      		}
		}
	);
}
  
function loadScript() {
   	var script = document.createElement("script");
    	script.type = "text/javascript";
    	script.src = "http://maps.google.com/maps/api/js?sensor=false&callback=initialize";
    	document.body.appendChild(script);
  	}

window.onload = loadScript;
