// TO ADD MULTIPLE MAPS TO ONE WS SITE, WE NEED TO APPLY UNIQUE ID'S TO EACH MAP <DIV> - <DIVS> ARE SET WITHIN ACTUAL WS PAGES
// EACH <DIV> IS THEN SET TO A LOCATION IN THE CODE BELOW BY REFERENCING THE ID OF THE <DIV> AND APPLYING LONG AND LAT TO IT.

    function load() {
      if (GBrowserIsCompatible()) {

	if (document.getElementById("map1")!=null) {
	        var map1 = new GMap2(document.getElementById("map1"));
        	map1.setCenter(new GLatLng(57.19409,-3.82952), 13);

		create_Marker(57.19409,-3.82952,map1)

		add_Controls(map1)
	}

      }
    }



function create_Marker(Lat,Long,MapID){
	var marker = new GMarker(new GLatLng(Lat,Long));
	MapID.addOverlay(marker);
}

function add_Controls(MapID){
        MapID.addControl(new GLargeMapControl());
       	var mapControl = new GMapTypeControl();
        MapID.addControl(mapControl);
}

