function validate ()
{
	if (document.forms.registration.RegName.value == "") {
		alert("The following required field was not completed: Name")
		return false;}

	if (document.forms.registration.RegAddress.value == "") {
		alert("The following required field was not completed: Address")
		return false;}
		
	if (document.forms.registration.RegCity.value == "") {
		alert("The following required field was not completed: City")
		return false;}

	if (document.forms.registration.RegState.value == "") {
		alert("The following required field was not completed: State")
		return false;}
		
	if (document.forms.registration.RegZip.value == "") {
		alert("The following required field was not completed: Zip Code")
		return false;}
		
	if (document.forms.registration.RegEmail.value == "") {
		alert("The following required field was not completed: Email")
		return false;}
	
	if (document.forms.registration.RegPhone.value == "") {
		alert("The following required field was not completed: Phone")
		return false;}
		
	if (document.forms.registration.RegAlum.value == "") {
		alert("The following required field was not completed: NLU Alum")
		return false;}
	
	if (checkDropdown(document.registration.RegType.selectedIndex)) {
		alert("The following required field was not completed: Registration Type")
		return false;}
	
	if (   !(document.forms.registration.Conf_All.checked 
			|| document.registration.Conf_Tuesday.checked 
			|| document.registration.Conf_Wednesday.checked 
			|| document.registration.Conf_Thursday.checked 
			|| document.registration.Conf_CPDU.checked 
		  )
	) {
		alert("Please select your registration options (Full Conference or Conference Sessions).")
		return false;
	}
	
	
	return true;
	
}

function checkDropdown(choice) {
	if (choice == 0) {
	return true;
	} 
}
			
function fixHeight() {
	if(!document.getElementById('column-a')) {
		return false;
	}
	var objColumnA = document.getElementById('column-a');
	var objColumnB = document.getElementById('column-b');
	var maxHeight = objColumnA.offsetHeight;
	if(objColumnB.offsetHeight > maxHeight) {
		maxHeight = objColumnB.offsetHeight;
	}
	
	objColumnA.style.height = maxHeight + "px";
	objColumnB.style.height = maxHeight + "px";
}

function Main() {
	fixHeight();
}

window.onload = Main;