// JavaScript Documentvar navSelected = "";var navWaitToClose = 500;var timeoutID;var timeout;function navHideAll (except) {	for (var i=0;i<8;i++) {		if ((String(i)) != except) {			$("div.nav"+i+" > table").hide();		}	}}function navFade () {	// alert("Fade: "+navSelected);	navHideAll(navSelected);	// $('div.nav-list').removeClass('nav-drop-shadow-bottom-left');	if (jQuery.support.opacity) {		$("div.nav"+navSelected+" > table").fadeIn("slow", function () {			// $('div.nav-list').addClass('nav-drop-shadow-bottom-left');		});	} else {		//$('div.nav-list').removeClass('nav-drop-shadow-bottom-left');		//$('td.nav-list').removeClass('nav-drop-shadow-bottom-right');		$("div.nav"+navSelected+" > table").show();				/*		$("div.nav"+navSelected+" > table").fadeIn("fast", function () {			$('div.nav-list').addClass('nav-drop-shadow-bottom-left');			$('td.nav-list').addClass('nav-drop-shadow-bottom-right');		});		*/	}}function navCheckTimeout () {	if (timeout) {		navHideAll("");		timeout = false;	}}for (var i=0;i<8;i++) {	$('div.nav-title'+i).click(function () {		//navSelected = this.className.substr(9);		//navFade();	});	$('div.nav-title'+i).mouseenter(function () {		navSelected = this.className.substr(9);		navFade();		timeout = false;	});	$('div.nav-title'+i).mouseleave(function () {		timeout = true;		window.clearTimeout(timeoutID);		timeoutID = window.setTimeout(navCheckTimeout, navWaitToClose);	});}$('div.nav-item').mouseover(function () {	timeout = false;});$('div.nav-item').mouseleave(function () {	timeout = true;	window.clearTimeout(timeoutID);	timeoutID = window.setTimeout(navCheckTimeout, navWaitToClose);});