function showMessage(id)
	{
      var j;
      var str;

		//hide all objects other than the current:
      for (j = 0; j < document.all.length; j++)
      {
         if (document.all[j].id){
	         str = document.all[j].id
	         //Search for objects that start with submenu:
				if ( str.substr(0,7) == 'submenu' )
				{
					if (document.all[j].style.display == "block"){
						//if it's not the current object, hide the content:
						if (document.all[j].id != document.all(id).id)
							document.all[j].style.display = "none";
					}
				}
			}
      }

		//toggle between hide and show of the current object:
		if (document.all(id).style.display == "block")
			document.all(id).style.display = "none";
		else

		document.all(id).style.display = "block";
	}