function HideMe() {
	var imgInvisible = document.getElementById('imgInvisible');
	
	imgInvisible.style.visibility = 'hidden';
}

menu_status = new Array(); 
function showHide(theid,theid2,theid3){
    if (document.getElementById) {
		
    var switch_id = document.getElementById(theid);
	var switch_id2 = document.getElementById(theid2);
	var switch_id3 = document.getElementById(theid3);
	var imgInvisible = document.getElementById('imgInvisible');
	
	if (theid2.click = true) {
		
		//alert (switch_id);
		
	imgInvisible.style.visibility = "visible";
	switch_id.className = 'show';
	switch_id2.className ='hide';
	switch_id3.className ='show';
	
	//alert (switch_id.className);
}
	}
}

	
	//if(menu_status[theid] != 'hide') {
	   //switch_id.className = 'show';
	   //switch_id2.className = 'hide';
	   
	  // menu_status[theid] = 'show';
	  // menu_status[theid] = 'hide';
	
	//}else{
		
	  // switch_id.className = 'hide';
	  // menu_status[theid] = 'show';
	   
	  // switch_id2.className = 'hide';
	  // menu_status[theid2] = 'show';
	   //imgInvisible.style.display = "block";
	   
	  //  switch_id.className = 'show';
	 //  menu_status[theid] = 'hide';
	//}
		
  //  }
//}

var disappeardelay=250  //menu disappear speed onMouseout (in miliseconds)

function hide(theid) {
	if (document.getElementById) {
	var hide_id = document.getElementById(theid);
			if (hide_id.mouseOut = true) {
			hide_id.className = 'hide';
			}else{
			hide_id.className = 'show';
			}
	}
}

function delayhidemenu(theid,theid2,theid3)
{
    if (document.getElementById) 
	{
		var switch_id = document.getElementById(theid);
		var switch_id2 = document.getElementById(theid2);
		var switch_id3 = document.getElementById(theid3);
	
      if(menu_status[theid] != 'show') 
	  {
          switch_id.className = 'hide';
		  switch_id2.className = 'hide';
		  switch_id3.className = 'hide';
		  
		//  alert(theid.style);
		  
		  //if ((event.type=="click" || event.type=="mouseout") && (theid).visibility==hidden)
		  //{}
		 // 	(theid).visibility=visible
			//else if (event.type=="mouseover")
			//(theid).visibility=hidden
		}
	}
}


			