/*
	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
}

startList = function() {
if (document.all&&document.getElementById) {
	navRoot = document.getElementById("site-nav");
	for (i=0; i<navRoot.childNodes.length; i++) {
		node = navRoot.childNodes[i];
		if (node.nodeName=="LI") {
			node.onmouseover=function() { this.className+="over"; }
					node.onmouseout=function() {
					this.className=this.className.replace("over", "");
				}
			}
		}
	}
}
window.onload=startList;
