var activeChild;

if (activeImg == '')
	activeImg = 'gui-nav_option1';

function init()
	{
	document[activeImg].src = 'pictures/' + activeImg + '_active.gif';
	}

function mouseOver(imgName)
	{
	if (activeImg != imgName)
		document[imgName].src = 'pictures/' + imgName + '-over.gif';
	}

function mouseOut(imgName)
	{
	if (activeImg != imgName)
		document[imgName].src = 'pictures/' + imgName + '.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)
}
