var contact = {

     map : null
    
};

$(function () {

	//load map
	if(GBrowserIsCompatible()) {
		contact.map = new GMap2(document.getElementById("map-canvas"));
		contact.map.setCenter(new GLatLng(52.238694, -0.882039), 14);	
		contact.map.setUIToDefault();
		
		//create set of co-ordinates
		var point = new GLatLng(52.238694, -0.882039);
		
		//make a marker using these co-ordinates (but it's not plotted on the map yet)
		var contactMarker = new GMarker(point);
		
		contactMarker.bindInfoWindowHtml("<h3>Northamptonshire Enterprise Limited</h3><p>Enterprise House<br />30 Billing Rd<br /> Northampton NN1 5DQ</p>");
		
		
		contact.map.addOverlay(contactMarker);
	
	}	
	

	

	//unbreak IE.
	$(window).unload(function () { GUnload(); });
	
	
});