//This file will be used to validate the login controls where included
//We will start using it on /Customer pages:

function validateme(thisform)
	{	
		if (thisform.username)
		{
			if (thisform.username.value=="")
			{	alert("Please provide user login ID."); 
				thisform.username.focus();
				return false;
			}
		}
		
		if (thisform.Password)
		{
			if (thisform.Password.value=="")
			{alert("Please provide user login Password.");
				thisform.Password.focus(); 
				return false;
			}
		}
	}
	

function ValidateLogin(theLoginform)
{
   if (theLoginform.username)
   {
		if (theLoginform.username.value =="")
		{
			alert("Please provide the \"User Name\" field.");
			theLoginform.username.focus();
			return (false);
		}
   }
   
   if (theLoginform.password)
   {
		if (theLoginform.password.value =="")
		{
			alert("Please provide the \"Password\" field.");
			theLoginform.password.focus();
			return (false);
		}
   }
}

