﻿/*<![CDATA[*/
					 
// Create element rollovers for IE (primarily for IE6)
function activateHovers( elements, id )
{
	if (document.all&&document.getElementById)
	{
			navRoot = document.getElementById(id);
			for (i=0; i<navRoot.childNodes.length; i++)
			{
					node = navRoot.childNodes[i];
					if (node.nodeName==elements)
					{
							node.onmouseover=function()
							{
									this.className+=" hover";
							}
							node.onmouseout=function()
							{
									this.className=this.className.replace(" hover", "");
							}
					}
			}
	 }
} ;

// Popup windows
function pop_up( url, width, height )
{
	var left,top;
	if( window.screen )
	{
			left=(screen.width-width)/2 ;
			top=(screen.height-height)/2 ;
	} else {
			left=200 ;
			top=170 ;
	}
	params='height='+height+',width='+width+',status=no,toolbar=no,menubar=no,scrollbars=yes,top='+top+',left='+left;
	var newwin = window.open(url,'address', params);
	newwin.window.focus();
}

// Page load function calls
window.onload = function()
{
		activateHovers( "LI", "nav" );
}
/*]]>*/