// JavaScript Document

var nav = {};

nav.mouseOver = function(obj) {
	if (obj != this.activeObj) { this.hide(); }
	clearTimeout(this.timeoutId);
	if (!this.activeObj) obj.className = "hover";
	this.activeObj = obj;
} 

nav.mouseOut = function() {
	var obj = this;
	hide = function() { obj.hide(); }
	this.timeoutId = setTimeout('hide()', 150);
}

nav.hide = function() {
	clearTimeout(this.timeoutId);
	if (this.activeObj) {
		this.activeObj.className = '';
		this.activeObj = null;
	}
}
