Index: lams_tool_gmap/web/includes/jsp/mapFunctions.jsp =================================================================== RCS file: /usr/local/cvsroot/lams_tool_gmap/web/includes/jsp/mapFunctions.jsp,v diff -u -r1.16 -r1.17 --- lams_tool_gmap/web/includes/jsp/mapFunctions.jsp 22 Jul 2008 00:18:45 -0000 1.16 +++ lams_tool_gmap/web/includes/jsp/mapFunctions.jsp 22 Jul 2008 00:39:11 -0000 1.17 @@ -219,7 +219,7 @@ if (selectedMarker == -1 && markerSpanToSelect != null) { - document.getElementById("markerSpan" + id).style.backgroundColor = "orange"; + document.getElementById("markerSpan" + id).style.backgroundColor = "#FFFFCC"; selectedMarker = id; } else if (selectedMarker == id && selectedMarkerSpan!= null) @@ -230,7 +230,7 @@ else if (selectedMarkerSpan != null && markerSpanToSelect!= null) { document.getElementById("markerSpan" + selectedMarker).style.backgroundColor = ""; - document.getElementById("markerSpan" + id).style.backgroundColor = "orange"; + document.getElementById("markerSpan" + id).style.backgroundColor = "#FFFFCC"; selectedMarker = id; } } @@ -393,6 +393,31 @@ } } +// refreshes the page +function refresh() +{ + var i =0; + for (;i'); + if (ans) + { + location.reload(true); + return; + } + else + { + return; + } + } + } + location.reload(true); +} + + // Serialises the marker array into an xml string for processing on the back end function serialiseMarkers() {