// JavaScript Document
function show_menu(){
	var argv = show_menu.arguments;
	var id = "";
	if ( typeof(argv[0]) != "undefined" ) {
		id = argv[0];
	}
	if ( id == "" )	{
		return;
	}
	var menu = document.getElementById( id );
	menu.style.display = "";
	var timeout = null;
	menu.onmouseover = function(){
		window.clearTimeout( timeout );
	}
	menu.onmouseout = function(){
		timeout = window.setTimeout(function(){hide_menu(id);}, 100);
	}
}
function hide_menu( id ) {
	var menu = document.getElementById( id );
	menu.style.display = "none";
}
function switch_menu( id ) {
	var menu = document.getElementById( id );
	if ( menu.style.display == "" ) {
		menu.style.display = "none";
	}
	else {
		menu.style.display = "";
	}
}