var startZoom = 15;

var map;

$(document).ready(function(){
    if (GBrowserIsCompatible()) {
		map = new GMap2(document.getElementById('map'));
		map.addControl(new GSmallMapControl());
		var location = new GLatLng(centerLatitude, centerLongitude);
		map.setCenter(location, startZoom);
		
		var marker = new GMarker(location);
		map.addOverlay(marker);
	}
});

/* On document unload, clean unload Google API*/
$(document).unload(function(){ GUnload(); });


