<!--

function submitLogin() {
   	// Checking that all fields is sets
	if ((document.login.username.value!="") && (document.login.password.value!="")) {

		// Validation here
        return true;


	} else {
	   // Check if Username is empty
	   if (document.login.username.value == "") {
	      alert('You did not fill the username field. This is mandatory.');
	      document.login.username.setFocus();
	      return false;
	   }
	   // Check if Password is empty
	   if (document.login.password.value == "") {
	      alert('You did not fill the password field. This is mandatory.');
	      document.login.password.setFocus();
	      return false;
	   }
	}
}


-->