var storeMap = null;
$(document).ready(function()
{
	if(GBrowserIsCompatible()) 
	{
		var storePoint = new GLatLng(document.getElementById('Latitude').value, document.getElementById('Longitude').value);
		
		// Initialise map, and center it.
		storeMap = new GMap2(document.getElementById('storeMap'));
		storeMap.setCenter(storePoint, 14);
		
		// Create new marker.
		storeMap.addOverlay(new GMarker(storePoint));
	}
});

$(document).unload(function()
{
	GUnload();
});
