function thumbWin( dest )
{
    win=window.open(dest, "_blank", "width=230,height=400,status=0,menubar=0,resizable=1,alwaysraised=1,toolbar=0,scrollbars=0");
    // Set the window position just off the right edge of the screen
    position=newWidth+40;
    win.moveTo(screen.width-position,screen.height/2-newHeight/2);
}

function mainWin( dest )
{
	// get the screen width and height

	width = screen.width;
	height = screen.height;

	win=window.open(dest, "_blank", "width="+width+",height="+height+",status=0,menubar=0,resizable=1,alwaysraised=1,toolbar=0,scrollbars=0");
	win.moveTo(0,0);
}

