// Validates the given form to make sure the seeker's username/password are set
function validateSeekerLogin(form) 
    {
    if (form.email.value == "") 
        {
        alert("Please enter your email address.");
        form.email.focus();
        return false; 
        }
    if (form.password.value == "") 
        {
        alert("Please enter your password.");
        form.password.focus();
        return false; 
        }
    return true;
    }

// Validates the given form to make sure the employer's username/password are set
function validateEmployerLogin(form)
    {
    if (form.email.value == "") 
        {
        alert("Please enter your email address.");
        form.email.focus();
        return false; 
        }
    if (form.password.value == "") 
        {
        alert("Please enter your password.");
        form.password.focus();
        return false; 
        }
    return true;
    }
    
// Creates a popup window at the given URL and of the given size
function windowPop(p_url, p_width, p_height) 
    {
	popupzz = window.open(p_url,"popupzz","location=no,toolbar=yes,scrollbars=yes,resizable=yes,width=" + p_width + ",height=" + p_height);
	popupzz.focus();
    }
    
// Creates a second popup window at the given URL and of the given size
function windowPop2(p_url, p_width, p_height) 
    {
	popupzz = window.open(p_url,"popupzz2","location=no,toolbar=yes,scrollbars=yes,resizable=yes,width=" + p_width + ",height=" + p_height);
	popupzz.focus();
    }