function ValidateLogin()
{
	if(document.frm1.UserName.value == "")
	{
		alert("Please enter a User Name.");
		document.frm1.UserName.focus();
		return false;
	}
	else if(document.frm1.Password.value == "")
	{
		alert("Please enter a Password.");
		document.frm1.Password.focus();
		return false;
	}
	else
	{
		return true;
	}
}

function ForgotDlg()
{	
	w = 550;
	h = 400;
	l = (screen.availWidth - w)/2;
	t = (screen.availHeight - h)/2;
	
	Instr = "left=" + l + ", top=" + t + ", width=" + w + ", height=" + h + ", resizable=1, scrollbars=1";
	
	window.open("forgot.dlg.php", "", Instr);
}

function SecurityNoteDlg()
{
	w = 550;
	h = 300;
	l = (screen.availWidth - w)/2;
	t = (screen.availHeight - h)/2;
	
	Instr = "left=" + l + ", top=" + t + ", width=" + w + ", height=" + h + ", resizable=1, scrollbars=1";
	
	window.open("security_note.dlg.html", "", Instr);
}

function SampleInstrDlg()
{
	w = 750;
	h = 500;
	l = (screen.availWidth - w)/2;
	t = (screen.availHeight - h)/2;
	
	Instr = "left=" + l + ", top=" + t + ", width=" + w + ", height=" + h + ", resizable=1, scrollbars=1";
	
	window.open("sample_instr.dlg.html", "", Instr);
}