// AutoTab JavaScript Document

	// Function Name: tab
	// Parameters: Current Element ID, Next Element ID
	// Description: This function automatically tabs a users cursor from the 
	//		current element id to the next element id when the current element's 
	//		value is maxlength.
	// Usage Example: <input maxlength='1' onKeyUp="tab(this,'NextElementID')">
	function tab(element, nextElement) {
		if (element.value.length == element.maxLength && nextElement != null) {
			element.form.elements[nextElement].focus();
		}
	}