/*	Functions to handle case submittal form events */
//	Initialize event handlers
function initForm(){
	if (document.getElementById){
		
		// Get FORM element
		formObj								= document.getElementById("join").getElementsByTagName("form")[0];
		
		// Get INPUT Fields
		inputObj							= document.getElementsByTagName("input");
		
		// Loop Through All INPUT Fields
		for (i in inputObj){
			
			// If Field is a Text Field
			if (inputObj[i].className == "text"){
				
				// Set Text Field Event Handlers				
				inputObj[i].onblur			= onBlur;
				inputObj[i].onfocus			= onFocus;
				inputObj[i].onmouseover		= mouseOver;
				inputObj[i].onmouseout		= mouseOut;
			}
		}

		// Set onsubmit event handler
		formObj.onsubmit					= validate;
		
	} else {
		return false;
	}
}
