function init()
{
document[activeImg].src = 'pictures/' + activeImg + '-active_se.gif';

if (activeMenu)
	{

	if (activeParent)
		{
		eval(activeParent + "Menu.style.display='block'");
		eval(activeParent + ".className='menuOver'");
		eval(activeMenu + ".className='menuOverSub'");
		}
	else
		{
		if (activeMenu.indexOf('shortcuts') >= 0)
			{
			eval(activeMenu + ".className='menuOverShortcuts'");
			}
			else
			{
			eval(activeMenu + ".className='menuOver'");
			}
			
		}
	
	if (activeMenu.substr(activeMenu.length-3,activeMenu.length) == 'Sub')
		{
		eval(activeMenu + "Menu.style.display='block'");
		}
	}
}

if (activeImg == '')
	activeImg = 'nav-menu0';

var activeMenu;

function mouseOver(imgName)
	{
	if (activeImg != imgName)
		document[imgName].src = 'pictures/' + imgName + '-over_se.gif';
	}

function mouseOut(imgName)
	{
	if (activeImg != imgName)
		document[imgName].src = 'pictures/' + imgName + '_se.gif';
	}
	
function openPopup(URL, window_width, window_height)
	{
	var h,w
	h = screen.height //height of screen, not just the parent window
	w = screen.width //width of the screen, not just the parent window
	var l,t
	l = parseInt((w-window_width)/2)
	t = parseInt((h-window_height)/2)
	popupWin = window.open(URL,'open_window','status,dependent,width='+window_width+',height='+window_height+',left='+(l-20)+',top='+t)
}

