Index: trunk/webapps/common/js/displayutils.js
===================================================================
--- trunk/webapps/common/js/displayutils.js	(revision 373)
+++ trunk/webapps/common/js/displayutils.js	(revision 373)
@@ -0,0 +1,8 @@
+/** Hide an html element given its id */
+function hideElementById(id)
+{
+    // hide the element by setting css attribute
+    document.getElementById(id).style.display = 'none'
+}
+
+
