// SHOW/HIDE the Sub Navigation

Menu = {timer : null, current : null};
Menu.getStyle = function(name){
	if(document.getElementById) return document.getElementById(name).style;
	else if(document.all) return document.all[name].style;
	else if(document.layers) return document.layers[name];
}
Menu.show = function(name){
	if(this.timer) clearTimeout(this.timer);
	this.getStyle(name).display = "inline";
	this.current = name;
	this.main_change(name.substring(0,name.length-2)+'mn');
}
Menu.pose = function(name){
	if(this.timer) clearTimeout(this.timer);
	this.getStyle(name).display = "inline";
	this.current = name;
	this.main_change(name.substring(0,name.length-2)+'mn');
}
Menu.hide = function(){
	this.timer = setTimeout("Menu.doHide()",1750);
}
Menu.doHide = function(){
	if(this.current){
		this.getStyle(this.current).display = "none";
		this.main_changeback(this.current.substring(0,this.current.length-2)+'mn');
		this.current = null;
	}
}
Menu.main_change =function(name){
	document.getElementById(name).style.color = "#b9b9bb";
	
}
Menu.main_changeback =function(name){
	document.getElementById(name).style.color = "#ffffff";
}
