<!--
var timerID;
// Size of screen
var winW, winH;
	
function showMenu(strVAlign) {
  var menuObj

  // Only do something if the selected menu has changed...
  if(typeof(currentMenuID) !== 'undefined')  {
	if(currentMenuID.value != oldMenuID.value) {
		window.clearInterval(timerID);
		// Hide the old menu if one existed
		if(oldMenuID.value != "") {
			eval(oldMenuID.value).style.display = "none";
		}
			
		// Show the selected menu if there is one
		if(currentMenuID.value != "") {
			menuObj = eval(currentMenuID.value);
			if (strVAlign == 'top') {
				menuObj.style.pixelTop = document.body.scrollTop - menuObj.clientHeight;
				menuObj.style.display	= "";
				menuObj.style.pixelTop = document.body.scrollTop - menuObj.clientHeight;
				timerID = window.setInterval("Glide(document.body.scrollTop, 'down')",2)
			} else {
				menuObj.style.pixelTop = document.body.clientHeight + document.body.scrollTop + menuObj.clientHeight - 2;
				menuObj.style.display = "";
				menuObj.style.pixelTop = document.body.clientHeight + document.body.scrollTop + menuObj.clientHeight - 2;
				timerID = window.setInterval("Glide(document.body.clientHeight + document.body.scrollTop - eval(currentMenuID.value).clientHeight, 'up')", 1);
			}
		}
	}
	oldMenuID.value = currentMenuID.value;
  }
}


function Glide(intTop, strType)
{
	if (strType == "up") {
		eval(currentMenuID.value).style.pixelTop -= 40;
		if (eval(currentMenuID.value).style.pixelTop <= intTop)	{
			eval(currentMenuID.value).style.pixelTop = intTop;
			window.clearInterval(timerID);
		}
	} else {
		eval(currentMenuID.value).style.pixelTop += 40;
		if (eval(currentMenuID.value).style.pixelTop >= intTop) {
			eval(currentMenuID.value).style.pixelTop = intTop;
			window.clearInterval(timerID);
		}
	}
}
	
function hide() {
	window.event.cancelMenu = true;
		
	if(typeof(currentMenuID) !== 'undefined') {
		currentMenuID.value = "";
	}
	showMenu();
	
		return true;
	}

function killMenu() {
	window.event.cancelMenu = true;
}

function resizeWindow(init) {  //reloads the window if Nav4 resized
  if (init==true) {
	if (parseInt(navigator.appVersion) > 3) {
	  if (navigator.appName.indexOf("Netscape") != -1) {
	    winW = window.innerWidth;
	    winH = window.innerHeight;
	  } 
	  if (navigator.appName.indexOf("Microsoft") != -1) {
	    winW = document.body.offsetWidth;
	    winH = document.body.offsetHeight;
	  }
	}
  }
  else
  { if ((navigator.appName.indexOf("Netscape") != -1) && (winW != window.innerWidth ||  winH != window.innerHeight)) location.reload();
	if ((navigator.appName.indexOf("Microsoft") != -1) && (winW != document.body.offsetWidth || winH != document.body.offsetHeight)) location.reload();
  }
}

resizeWindow(true);

var ContactPos = winW - 130;
var invisibleW = winW - 20;

-->
