function findItem(id) {
	var id			= document.getElementById(id);
	
	id.submit();
}

function checkEmpty(f, id) {
	var id			= document.getElementById(id);
	
	id.className	= (f != '') ? 'title' : 'title-red';
}

//Run through all the fields in the form.  Check only the ones that have 'req' string in the id.
function checkForm(formId) {
	var form		= document.getElementById(formId);
	var theTruth	= true;
	
	for (var i=0; i<form.elements.length; i++) {
		switch (form.elements[i].type) {
			case 'checkbox':
				if ((!form.elements[i].checked) && (form.elements[i].id.indexOf('req') != -1)) {
					theTruth	= false;
				}
				break;
		}
	}
	
	if (!theTruth) {
		alert('You must Agree to the Terms and Termination of Agreement before submitting.');
	} else form.submit();
}
