<!--

var menuDelay = 1000;


	function getObj(name)
	{
		
	  if (document.getElementById)
	  {
		this.obj = document.getElementById(name);
		this.style = document.getElementById(name).style;
	  }
	  else if (document.all)
	  {
		this.obj = document.all[name];
		this.style = document.all[name].style;
	  }
	  else if (document.layers)
	  {
		this.obj = document.layers[name];
		this.style = document.layers[name];
	  }
	}

	function goHome()
	{
		window.location = "index.php";	
	}
	function over(what)
	{
		showMenu();
		switch(what)
		{
			case "preparations":
				keepOut[what] = true;
				//parent.menu.bringIn();
				//alert(parent.frames[0].document);
				frames[0].bringIn();
				//menu.document.bringIn()
			break;
			default:
				keepOut["preparations"] = false;
				out_helper("preparations");
			break;
		}
	}
	var keepOut = new Array();
	keepOut["preparations"] = false;
	function mouseOut(what)
	{
		switch(what)
		{
			case "preparations":
				keepOut[what] = false;
				self.setTimeout('out_helper("'+what+'")', menuDelay);
			break;
			
			
		}
	}
	function keepMenuIn(what)
	{
		switch(what)
		{
			case "preparations":
				keepOut["preparations"] = true;
			break;
			
		}
	}

	function in_helper(what)
	{
		switch(what)
		{
			case "preparations":
				if(!keepOut[what])
					frames[0].out()
					//parent.menu.out();
			break;
			
		}
	}
	function out_helper(what)
	{
		//hide on in
		switch(what)
		{
			case "preparations":
				if(!keepOut[what])
					frames[0].out();
					//parent.menu.out();
			break;
		}
	}
	function showMenu()
	{
		var myiframe = new getObj('menu');
 		myiframe.style.display = 'inline';
	}
	function hideMenu()
	{
		var myiframe = new getObj('menu');
 		myiframe.style.display = 'none';
	}
	
	-->
