//Declaring some variables we will be using var map; var toggleState = 1; var marker_hash = {}; var markerArray = new Array(); var circleArray = new Array(); var xmlhttp; var targetDiv = "infotop"; var selected = false; var overNode; var markerSelected; //This function is called from index.php function initialize_map() { //We will only do this function if the browser is compatible if (GBrowserIsCompatible()) { //Adding the google map into the div called #mapcanvas map = new GMap2(document.getElementById("mapcanvas")); //Center the map on Leiden map.setCenter(new GLatLng(52.162687, 4.493294), 11); map.setUIToDefault(); //Go through the array 'markers' (Declared in index.php) and add a marker for each marker stored in the array using our addMarker function for (var i=0; i