// JavaScript Document

function validate_form ( )
{
	valid = true;
	
	document.contact_form.security.value=document.contact_form.security.value.toUpperCase();

        if ( document.contact_form.name.value == "" )
        {
                alert ( "Please fill in the 'Name' box." );
                valid = false;
        }
        
                if ( document.contact_form.email.value == "" )
        {
                alert ( "Please fill in the 'Email Address' box." );
                valid = false;
        }
        
                if ( document.contact_form.message.value == "" )
        {
                alert ( "Please enter a message in the 'Message' box." );
                valid = false;
        }
		
				if ( document.contact_form.security.value != document.contact_form.securityCode.value )
        {
                alert ( "The Validation Key entered is incorrect. Please Try Again." );
                valid = false;
        }

return valid; }
