//==========================================================================
// Function: validateSubscriptionCareForm(this)
// Description : Validates email form to make sure required fields entered
// usage: <form action="/cgi-bin/dbform.cgi" method="POST" onsubmit="return checkform(this);">
// note: June 30, 2001
// Author: Ivan Svetic - D.J.'s Micro-Info Inc. (www.deejays.com)


function checkform ( form )
{
   			
	if (form.Name.value == "") {
        alert( "Name is a required field.  Please re-submit the form including your name." );
        form.Name.focus();
        return false ;
    }	
	
	if (form.Email.value == "") {
        alert( "Email is a required field.  Please re-submit the form including your Email Address." );
        form.Email.focus();
        return false ;
    }			
	
	if (form.comments_or_questions.value == "" || form.comments_or_questions.value == null || form.comments_or_questions.value == "Type your message here...") {
        alert( "Comments or Questions is a required field.  Please re-submit the form including this information." );
        form.comments_or_questions.focus();
        return false ;
    }		
		    
	return true ;
}

//===========================================================================

