Index: trunk/src/map/inc/overlay.js
===================================================================
--- trunk/src/map/inc/overlay.js	(revision 7758)
+++ trunk/src/map/inc/overlay.js	(revision 7759)
@@ -26,9 +26,13 @@
         });
 		
+		//mouseout listener that removes the cirkel once the user moves his mouse off the designated marker
 		        GEvent.addListener(marker, "mouseout", function() {
           map.removeOverlay(cirkel);
         });
-
-
+		
+		//adds a cirkel when the user clicks on the marker
+				        GEvent.addListener(marker, "click", function() {
+          map.addOverlay(cirkel1);
+        });
 	
 
@@ -68,19 +72,11 @@
 	  
 
-									// locatie, doorsnee (in meters), kleur omtrek, dikte omtrek, doorzichtigheid opvulling, kleur opvulling, doorzichtigheid.
+			// locatie, doorsnee (in meters), kleur omtrek, dikte omtrek, ??, kleur opvulling, doorzichtigheid.
 			map.addOverlay(marker);
-		cirkel = new GPolygon.Circle(marker.getLatLng(),range,"#000000",1,1,"#00ff00",0.5)
+		cirkel = new GPolygon.Circle(marker.getLatLng(),range,"#000000",0,1,"#00ff00",0.5)
+		cirkel1 = new GPolygon.Circle(marker.getLatLng(),range,"#000000",0,1,"#00ff00",0.5)
 		
 	  }
 	}
-	
-		//Our mouseover function
-	/*function mouseOver(dekking)
-	{
-		//For now we only post the id(We made ourself in kmlHandler) and the name of the node
-		      map.addOverlay(GPolygon.Circle(point,500,"#000000",1,1,"#00ff00",0.5));
-		//We will replace this function with a httprequest to a php file in the future
-	}
-	*/
 	
 	
