/* this is used to compare one value against another on form submition */
function ConfirmPassowrd(PassWord, ConfirmPassword)
{
    if (PassWord == '') 
    {
        alert('Oops... The password is a required field');
        return false;
    }
    
    if (ConfirmPassword == '') 
    {
        alert('Oops... The Confirm Password is a required field');
        return false;
    }
    
    if ( PassWord != ConfirmPassword )
    {
        alert('Oops... The passwords don\'t match, please check your input');
        return false;
    } else {
        return true;
    }
    
    return false;
}