function hideVideo(){
	var videoWin = document.getElementById("video-content");
	if (videoWin){
		videoWin.style.display = "none";
	}
}	
function showVideo(){
	var videoWin = document.getElementById("video-content");
	if (videoWin){
		videoWin.style.display = "block";
	}
}	

//dynamic navigation
initNav = function() {
	if (document.all && document.getElementById) 
	{
		var navRoot = document.getElementById("top-nav");
		var lis = navRoot.getElementsByTagName("li");
		for (var i=0; i<lis.length; i++)
		{
			lis[i].onmouseover = function()
			{
				this.className += " hover";
//				hideVideo();
			}
			lis[i].onmouseout = function()
			{
				this.className = this.className.replace(" hover", "");
//				hideVideo();
			}
		}
	}
}
if (window.addEventListener)
	window.addEventListener("load", initNav, false);
else if (window.attachEvent)
	window.attachEvent("onload", initNav);