//**SUBMENU from SQUIDFINGERS*********************************************/

subMenu = {timer : null, current : null};
subMenu.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];
}
subMenu.show = function(name){
	if(this.timer) clearTimeout(this.timer);
	this.getStyle(name).display = "block";
	this.current = name;
}
subMenu.hide = function(){
	this.timer = setTimeout("subMenu.doHide()",50);
}
subMenu.doHide = function(){
	if(this.current){
		this.getStyle(this.current).display = "none";
		this.current = null;
	}
}