// JavaScript Document

// Login validation.

function validateStandard () 
 {

// from the name field  
if (document.input_form.user_name.value == "") 
{
// If null display and alert box
alert("Please fill in the user name field.");
// Place the cursor on the field for revision
document.input_form.user_name.focus();
// return false to stop further processing
return (false);
}

// for width field
if (document.input_form.password.value == "")
{
alert("Please fill in the password field.");
document.input_form.password.focus();
return (false);
}

return (true);
 }

