/*
	Submit Once
	
	Add the following onclick event to a button to only allow the first pressing of the button
	to send a request to the server.
		onclick="return submitOnce()"
	If your using a cfform you should add the following line to the form itself instead.
		onsubmit="return submitOnce()"
*/
formSubmitted	= 0
function submitOnce() {
	if(!formSubmitted)
		formSubmitted	= formSubmitted + 1
	else
		return false
}

function toggleSection(i,n){
	if(document.getElementById(i).style.display == "block"){
		document.getElementById(i).style.display = "none";
		document.getElementById(n).className = "";
	}
	else{
		document.getElementById(i).style.display = "block";
		document.getElementById(n).className = "act";
	}
}
