//Javascript functions that will always be included, even if "NOJS" is set
//These are just the light no-ajax functions

function showHide(inID)
{
     if (document.getElementById(inID).style.display == 'none')
	 {
          document.getElementById(inID).style.display = 'block';
     } else
	 {
          document.getElementById(inID).style.display = 'none';
     }
}

sfHover = function()
{
	var sfEls = document.getElementById("dropdown").getElementsByTagName("LI");
	for (var i=0; i<sfEls.length; i++)
	{
		sfEls[i].onmouseover=function()
		{
			this.className+=" sfhover";
		}
		sfEls[i].onmouseout=function()
		{
			this.className=this.className.replace(new RegExp(" sfhover"), "");
		}
	}
}
if (window.attachEvent) window.attachEvent("onload", sfHover);