window.onError=null;

function hilite(link)
{
	link.style.backgroundColor='f0f1f3';
}

function lolite(link)
{
	link.style.backgroundColor='ffffff';
}

function toggle(image, id)
{
	var element = document.getElementById(id);

	if (element.style.display == 'none')
	{
		element.style.display = '';
	}
	else
	{
		element.style.display = 'none';
	}

	if (image.className == 'plus')
	{
		image.className = 'minus';
	}
	else
	{
		image.className = 'plus';
	}

	return false;
}

function NewWindow(mypage, offset)
{
	w = screen.width - 100;
	h = screen.height - 150;

	l = 50 + offset;
	t = 30 + offset;

//	LeftPosition = (screen.width) ? (screen.width-600)/2 : 0;
//	TopPosition = (screen.height) ? (screen.height-400)/2 : 0;
	
	settings = 'height='+h+',width='+w+',top='+t+',left='+l+',scrollbars=yes,resizable=yes,status=yes';

	win = window.open(mypage,'_blank',settings);

	if(win.window.focus)
	{
		win.window.focus();
	}
}
