function gotopic(dest)
{
	if (top.frames["nav"].document.forms["userinfo"].ingame.value == "0")
	{
		top.frames['info'].location=dest;
	}
	else
	{
		RefWindow=window.open('library.html','RefWindow');
		while (RefWindow.frames[1] == null) {};
		RefWindow.frames[1].location=dest;
	}
}