function frameGoto( where )
{
	parent.mainFrame.location = "" + where;
}
function Goto( where )
{
	//top.location = where;
	parent.mainFrame.location = where;
}
function popup(thepage,width,height)
{
	x = (640 - width)/2, y = (480 - height)/2;
	if (screen)
	{
		y = (screen.availHeight - height)/2;
		x = (screen.availWidth - width)/2;
	}
	window.open(thepage,"gallery", 'menubar=0,resizable=0,dependent=0,scrollbars=0,location=0,statusbar=0,screenX='+x+',screenY='+y+'width=' + width + ',height=' + height);
}

