// JavaScript Document

function validate()
	{
		// name
		var password = document.frmaccountLogin.password;
		var username = document.frmaccountLogin.username;
		
		if (username.value.length < 1)
			{
				alert ('You must enter a username!');
				return false;
			}
		else
			{
				
				if (password.value.length < 1)
				{
					alert ('You must enter your password!');
					return false;
				}
			
			}
		
		
	}