




/*
     FILE ARCHIVED ON 3:00:20 Mar 4, 2011 AND RETRIEVED FROM THE
     INTERNET ARCHIVE ON 11:29:46 Oct 7, 2011.
     JAVASCRIPT APPENDED BY WAYBACK MACHINE, COPYRIGHT INTERNET ARCHIVE.

     ALL OTHER CONTENT MAY ALSO BE PROTECTED BY COPYRIGHT (17 U.S.C.
     SECTION 108(a)(3)).
*/
function clearText(thefield){
	if (thefield.defaultValue==thefield.value)
	thefield.value = ""
}

function checkEMSform ( form )
{
    // ** START **
    if (form.nameFirst.value == "First name") {
        alert( "You forgot to enter your first name." );
        form.nameFirst.focus();
        return false ;
    }
    if (form.nameFirst.value == "") {
        alert( "You forgot to enter your first name." );
        form.nameFirst.focus();
        return false ;
    }
    if (form.nameLast.value == "") {
        alert( "You forgot to enter your last name." );
        form.nameLast.focus();
        return false ;
    }
    if (form.nameLast.value == "Last name") {
        alert( "You forgot to enter your last name." );
        form.nameLast.focus();
        return false ;
    }
    if (form.organization.value == "") {
        alert( "Please provide the name of your organization" );
        form.organization.focus();
        return false ;
    }
    if (form.email.value == "") {
        alert( "You forgot to enter your email address." );
        form.email.focus();
        return false ;
    }
    // ** END **
        return true ;
}

function checkinquireform ( form )
{
    // ** START **
/*
	if (document.inquire.00N80000002XxJB.checked == false &&
        document.inquire.00N80000002XxJC.checked == false &&
        document.inquire.00N80000002XxJD.checked == false &&
	    document.inquire.00N80000002XxJE.checked == false) {
	  
	 alert("Please tell us which Walk Softly service you are considering.\n");
     form.N80000002XxJB.focus();
	 return false;
     }
*/
    if (form.first_name.value == "First name") {
        alert( "You forgot to enter your first name." );
        form.nameFirst.focus();
        return false ;
    }
    if (form.first_name.value == "") {
        alert( "You forgot to enter your first name." );
        form.nameFirst.focus();
        return false ;
    }
    if (form.last_name.value == "") {
        alert( "You forgot to enter your last name." );
        form.nameLast.focus();
        return false ;
    }
    if (form.last_name.value == "Last name") {
        alert( "You forgot to enter your last name." );
        form.nameLast.focus();
        return false ;
    }
	/*
    if (form.00N80000002XxJm.value == "") {
        alert( "You forgot the name of your organization." );
        form.00N80000002XxJm.focus();
        return false ;
    }
	*/
    if (form.email.value == "") {
        alert( "You forgot to enter your email address." );
        form.email.focus();
        return false ;
    }
    if (form.zip.value == "") {
        alert( "You forgot to enter your zip/postal code." );
        form.zip.focus();
        return false ;
    }
    // ** END **
        return true ;
}

