function loginWindow(file,window)
{
	width = 140;
	height = 130;
	
	x = (screen.width/2) - (width/2)
	y = (screen.height/2) - (height/2)
	
	msgWindow=open(file,window,'scrollbars=no,resizable=yes,width=' + width + ',height=' + height + ',left=' + x + ',top=' + y);
	if (msgWindow.opener == null) msgWindow.opener = self;
}