<!--
var mNavOn = null;

function initNavBehaviour()
{
	var navRoot;
	var i;
	var node;
	if(document.getElementById && document.createTextNode)
	{
		navRoot = document.getElementById("nav");
		for (i=0; i<navRoot.childNodes.length; i++)
		{
			node = navRoot.childNodes[i];
			if (node.nodeName=="LI")
			{
				if (node.className=='on') mNavOn = node;
				node.onmouseover=function() {
					showSubNav(this);
				}
				node.onmouseout=function() {
					hideSubNav(this);
				}
			}
		}

		navRoot = document.getElementById("topNavPU");
		for (i=0; i<navRoot.childNodes.length; i++)
		{
			node = navRoot.childNodes[i];
			if (node.nodeName=="LI")
			{
				if (node.className=='on') mNavOn = node;
				node.onmouseover=function() {
					showSubNav(this);
				}
				node.onmouseout=function() {
					hideSubNav(this);
				}
			}
		}

	 }
}

function startList()
{
	var navRoot;
	var i;
	var node;
	if (document.all && document.getElementById)
	{
		navRoot = document.getElementById("nav");
		for (i=0; i<navRoot.childNodes.length; i++)
		{
			node = navRoot.childNodes[i];
			if (node.nodeName=="LI")
			{
				node.onmouseover=function() {
					this.className+=" over";
				}
				node.onmouseout=function() {
					this.className=this.className.replace(" over", "");
				}
			}
		}
		navRoot = document.getElementById("topNavPU");
		for (i=0; i<navRoot.childNodes.length; i++)
		{
			node = navRoot.childNodes[i];
			if (node.nodeName=="LI")
			{
				node.onmouseover=function() {
					this.className+=" over";
				}
				node.onmouseout=function() {
					this.className=this.className.replace(" over", "");
				}
			}
		}
	 }
}

window.onload=function() {
	startList();
	initNavBehaviour();
}

function showSubNav(objNav)
{
	if (objNav != mNavOn)
	{
		if (mNavOn != null) mNavOn.className = 'off';
		objNav.className = 'on';
	}
}
function hideSubNav(objNav)
{
	if (objNav != mNavOn)
	{
		if (mNavOn != null) mNavOn.className = 'on';
		objNav.className = 'off';
	}
}
//-->
