
// js\Login.aspx.js

	function window_onload()
		{
		// SCT requested addition
		window.focus();
		if (document.forms[0].elements["ClientPopup"] != null)
		{
		   var szAlert = document.forms[0].elements["ClientPopup"].value;
		   if (szAlert.length > 0)
			   alert(szAlert)
	   }

      //Took a short cut and hard coded the field name below.  It would have been better to dynamically
      //do this via server side java-script insertion.
		document.forms[0].elements["LoginForm:txtUserName"].select();
		document.forms[0].elements["LoginForm:txtUserName"].focus();
		

		}
		
	function OnAbout()
		{
		window.open("About.asp", "About", "height=542,width=513,status=no,toolbar=no,menubar=no," + 
					"resizable=yes,location=no,scrollbars=yes,top=10,left=150");       
		}