Index: trunk/webapps/einotebook/scripts/Event.js
===================================================================
--- trunk/webapps/einotebook/scripts/Event.js	(revision 364)
+++ trunk/webapps/einotebook/scripts/Event.js	(revision 418)
@@ -33,4 +33,5 @@
 	this.highlight = highlight;
 	this.unhighlight = unhighlight;
+    this.normalize = normalize;
 	this.focus = focus;
 	
@@ -184,4 +185,7 @@
 		events.doc.getElementById(this.eventHeaderID).style.borderColor = "blue";
 		events.doc.getElementById(this.eventHeaderID).style.backgroundColor = "yellow";
+		events.doc.getElementById(this.eventHeaderID).style.color = "black";
+		events.doc.getElementById(this.dataID).style.color = "black";
+        events.doc.getElementById(this.dataID).style.backgroundColor = incidentColor[this.incident.number];
 		
 		// IF this event is expanded THEN
@@ -194,5 +198,5 @@
 			events.doc.getElementById(this.dataID).style.border = "none";
 		}
-		
+	
 	}
 	
@@ -211,4 +215,18 @@
 		events.doc.getElementById(this.dataID).style.color = "gray";
 	}
+	/**
+	 * Normalize this Event: provide normal background and text colors.
+	 */
+	function normalize()
+	{
+        var myColor = incidentColor[this.incident.number];
+		events.doc.getElementById(this.eventHeaderID).style.backgroundColor = "white";
+		events.doc.getElementById(this.eventHeaderID).style.borderColor = "black";
+		events.doc.getElementById(this.eventHeaderID).style.color = "black";
+		events.doc.getElementById(this.dataID).style.color = "black";
+        events.doc.getElementById(this.dataID).style.backgroundColor = myColor;
+		events.doc.getElementById(this.eventHeaderID).style.backgroundColor = myColor;
+    }		
+
 	
 	/**
