	 /*
	  * This is the core of the map code
	  * It is where the map is drawn and
	  * the points are ploted :D
	  * currently static :-(
	  */
	 function load() {
	    if (GBrowserIsCompatible()) {
	       var map_1 = new GMap2(document.getElementById("map_1"));
	       var melton = new GLatLng(52.764700, -0.884191); // Pearces
	       map_1.setCenter(melton, 16);
               map_1.addControl(new GLargeMapControl());
	       map_1.addControl(new GMapTypeControl());
	       map_1.addOverlay(createMarker(melton, "Pearces (Melton)", "29 Sherrard Street<br />Melton Mowbray<br />Leicestershire<br />LE13 1XH"));
		var map_2 = new GMap2(document.getElementById("map_2"));
               var oakham = new GLatLng(52.66905, -0.727119); // Pearces
               map_2.setCenter(oakham, 16);
               map_2.addControl(new GLargeMapControl());
               map_2.addControl(new GMapTypeControl());
               map_2.addOverlay(createMarker(oakham, "Pearces (Oakham)", "11 Mill Street<br />Oakham<br />LE15 6EA"));
            }
         }


	 /*
	  * This creates a marker given a point
	  * and the building name and address
	  */
	 function createMarker(point, building_name, address) {
	    var marker = new GMarker(point);
	    GEvent.addListener(marker, "click", function() {
	       marker.openInfoWindowHtml("<b>" + building_name + "</b><br />" + address);
	    });
	    return marker;
	 }

