sfHover = function() {
	var sfEls = document.getElementById("nav").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\\b"), "");
		}
	}
}
if (window.attachEvent) window.attachEvent("onload", sfHover);

function Start(page) {
OpenWin = this.open(page, "menu", "height=400,width= 520,"+
"directories=no,location=no,menubar=no," +
"resizable,status=no,toolbar=no,history=no,scrollbars=yes");
if (window.focus) {OpenWin.focus()}
}
function Start2(page,x,y) 
{
  OpenWin = this.open(page, "menu", "height="+y+",width="+x+","+"directories=no,location=no,menubar=no,"+"resizable,status=no,toolbar=no,history=no,scrollbars=yes");
  if (window.focus)
  {
    OpenWin.focus();
  }
}
function doEcho1(text)
{

document.echo.category.value=text;
div2.style.visibility='hidden';
}

function showDiv(id) 
{
     if (document.getElementById)
     { // DOM3 = IE5, NS6
       if(document.getElementById(id).style.display == 'block')
       {document.getElementById(id).style.display = 'none';
	   document.getElementById(id).style.visibility= 'hidden';
	   }
       else
       {document.getElementById(id).style.display = 'block';
	   document.getElementById(id).style.visibility= 'visible';
	   }
     }
     else
     {
       if (document.layers)
       { // Netscape 4
         document.hideShow.display = 'block';
       }
       else 
       { // IE 4
           document.all.hideShow.style.display = 'block';
       }
     }
}
