function PasswordWindow()
{
	window.open ("res_id.htm", "", "height=130,width=300,scrollbars=no,resizable=no");
}

function Validate()
{

var strUserName;
var strTestUserName;
var strPassword;
var testPassword;

strUserName = "ovid";
strPassword = "elsie";

strTestUserName = document.forms[0].txtUserName.value;
strTestPassword = document.forms[0].txtPassword.value;


if ((strUserName == strTestUserName) && (strPassword == strTestPassword))
	{
		//opener.content.location . . . to specify a frame
		opener.location.href = "resources.htm";
		self.close();
	}
else
	{
		alert("Either the User Name or Password is incorrect.");
		window.close();		
	}
}
