function showelement(elmnt)
{
document.getElementById(elmnt).style.visibility="visible";
}
function hideelement(elmnt)
{
document.getElementById(elmnt).style.visibility="hidden";
}

var lastDiv = "";
function showDiv(divName) {
	// hide last div
	if (lastDiv) {
		hideelement(lastDiv);
	}
	//if value of the box is not nothing and an object with that name exists, then change the class
	if (divName && document.getElementById(divName)) {
		showelement(divName);
		lastDiv = divName;
	}
}


function menu_goto( menuform )
{
    // see http://www.thesitewizard.com/archive/navigation.shtml
    // for an explanation of this script and how to use it on your
    // own site

    var baseurl = "" ;
    selecteditem = menuform.newurl.selectedIndex ;
    newurl = menuform.newurl.options[ selecteditem ].value ;
    if (newurl.length != 0) {
      location.href = baseurl + newurl ;
    }
}
