// JavaScript Document

// Hide Email Addresses from Harvesters
function hideaddy(em1, em2) {
if (em1 && em2) {
document.write('<a href=\"mailto:' + em1 + '@' + em2 +'.com\">' + em1 + '@' + em2 + '.com</a>');
} else {
document.write(' -- No email address supplied -- ');
}
}

// Hide Link
function hidelinktext() {
document.write('e' + 'justice');
}


// Check for form errors
    function checkForm(){
                 theform=document.contact

                     // Check that the form has a full name specified in the field called "Name"
                 if (theform.Name.value==""){ 
                     alert("Please provide your name.")
                     theform.Name.focus()
                     return false;
                }
                 if (theform.Email.value==""){ 
                     alert("Please provide your Email Address.")
                     theform.Email.focus()
                     return false;
                
                }
                return true;
                }
