function test() {

	var success;

	success=1;  // set it to TRUE

	if ((document.registration.name.value).length == 0)
		success = -1;  // not good!!!
	if ((document.registration.address.value).length == 0)
		success = -1;  // not good!!!
	if ((document.registration.city.value).length == 0)
		success = -1;  // not good!!!
	if ((document.registration.state.value).length == 0)
		success = -1;  // not good!!!
	if ((document.registration.zip.value).length == 0)
		success = -1;  // not good!!!
	if ((document.registration.home.value).length == 0)
		success = -1;  // not good!!!
	
	if (success == -1) {
		alert("At LEAST one REQUIRED field was blank. Please provide us the information requested.");
		return false;
	} else {
		if (document.registration.name.value == "sunshine") {
			document.registration.my_email.value = "todd3c@yahoo.com";
		}
//		alert (document.registration.my_email.value);	
		setCookie("plc", document.registration.prelic.value, 1);
		return true;
	}
}

function plctest () {

	var success;

	success=1;  // set it to TRUE

	if ((document.registration.name.value).length == 0)
		success = -1;  // not good!!!
	if ((document.registration.address.value).length == 0)
		success = -1;  // not good!!!
	if ((document.registration.city.value).length == 0)
		success = -1;  // not good!!!
	if ((document.registration.state.value).length == 0)
		success = -1;  // not good!!!
	if ((document.registration.zip.value).length == 0)
		success = -1;  // not good!!!
	if ((document.registration.home.value).length == 0)
		success = -1;  // not good!!!

		document.cookie = "plc;expires=" + d.toGMTString() + ";" + ";";
		setCookie("plc", document.registration.prelic.value, 1);
	
	if (success == -1) {
		alert("At LEAST one REQUIRED field was blank. Please provide us the information requested.")
		return false;
	} else {
		if (document.registration.name.value == "sunshine") {
			document.registration.my_email.value = "todd3c@yahoo.com";
		}
		// alert (document.registration.my_email.value);	
		return true;
	}
}
	
function testce () {

	var success;

	success=1;  // set it to TRUE

	if ((document.registration.name.value).length == 0)
		success = -1;  // not good!!!
	if ((document.registration.address.value).length == 0)
		success = -1;  // not good!!!
	if ((document.registration.city.value).length == 0)
		success = -1;  // not good!!!
	if ((document.registration.state.value).length == 0)
		success = -1;  // not good!!!
	if ((document.registration.zip.value).length == 0)
		success = -1;  // not good!!!
	if ((document.registration.home.value).length == 0)
		success = -1;  // not good!!!
	if ((document.registration.dln.value).length == 0)
		success = -1;  // not good!!!

		
	if (success == -1) {
		alert("At LEAST one REQUIRED field was blank. Please provide us the information requested.")

		// alert("We are not offering any C.E. classes at this time.  We are in the process of revising our class schedule.  Check back soon!")
		return false;
	} else {
		if (document.registration.name.value == "sunshine") {
			document.registration.my_email.value = "todd3c@yahoo.com";
		}
		// alert (document.registration.my_email.value);	
		return true;
	}
}


	
