// JavaScript Document

<!-- Begin Toggle Script
function toggle(){
	var information = document.getElementById('information')
	if (information.style.display == 'none') {
		information.style.display = 'block'
	} else {
		information.style.display = 'none'
	}
}

function openit() {
	var information = document.getElementById('information')
	if (information.style.display == 'none') {
		information.style.display = 'block'
	}
}

function verify() {
	var themessage = "You are required to complete the following fields: ";
	if (document.information.name.value=="") {
		themessage = themessage + " - Name";
	} else if(document.information.email.value=="") {
		themessage = themessage + " - Email";
	}
	//alert if fields are empty and cancel form submit
	if (themessage == "You are required to complete the following fields: ") {
		document.information.submit();
	}
	else {
		alert(themessage);
		return false;
    }
}

