function SubmitAuth()
{
	if (document.auth.eid.value == '') {
		alert( "You must supply an Employee ID" );
		exit;
	} else if (document.auth.clearpass.value == '') {
		alert( "You must supply a Password" );
		exit;
	}

	if (md5_vm_test() == true) {
		document.auth.pass.value = hex_md5( document.auth.clearpass.value.toUpperCase() );
		document.auth.clearpass.value = "";
		document.auth.submit();
	} else {
		document.write("Serious Error");
	}
}
