/* The alertBox function displays a message. */
function alertBox (vField, vMessage, vType ) {
	/* If we pass a null message, we are doing a multiple validation test.  return so we can check other conditions. */
	if ( vMessage == "null" ) return;
	/* Otherwise, display the error message */
	alert ("Field Contains Incorrect Value:\n\n" + vMessage )
	/* Set focus (plus select the text if a text element) */
	if ( vType == "text" ) { 
		vField.focus(); 
		vField.select();
	} else { 
	// I found that the vField.focus() function produces an error message on a Radio button so I have commnetd out the line of code below. 
	// vField.focus(); 
	}
	return;
}