function addEmail() {
	if (confirm("You have not entered your e-mail address yet. Do you want to enter it now?"))
		location.href="/dpec/shared/stu_utility/addemail.htm";
}

function badKey() {
	alert("Your system key has expired.\nPlease contact your administrator.");
	document.form1.userid.focus();
}

function enterID() {
	alert("You must enter an ID.");
	document.form1.userid.focus();
}

function badID() {
	alert("ID not found.  Please enter a valid ID.");
	document.form1.userid.focus();
	document.form1.userid.select();
}

function doubleSignon() {
	alert("This student ID is being used by another user.\nSharing ID's is not permitted by your license.");
	document.form1.userid.focus();
	document.form1.userid.select();
}

function invalidID() {
	alert("You've entered an ID that contains special characters that are not allowed, such as a blank, a comma, or an asterisk.  Please try again.");
	document.form1.userid.focus();
	document.form1.userid.select();
}

function enterPassword() {
	alert("You must enter a password.");
	document.form1.password.focus();
}

function badPassword() {
	alert("Invalid password.  Please enter the correct password.");
	document.form1.password.focus();
	document.form1.password.select();
}

function invalidPassword() {
	alert("Password contains invalid characters.");
	document.form1.password.focus();
	document.form1.password.select();
}

function noMatchPassword() {
	alert("The second attempt did not match the first.  Please start again.");
	document.form1.password.value = "";
	document.form1.password.focus();
}

function verifyPassword() {
	alert("Please verify your new password by entering it again.");
	document.form1.password.focus();
}

function noSites() {
	alert("No sites have been defined. Please contact your administrator.");
	document.form1.userid.focus();
}

function badSite() {
	alert("The site ID assigned to you is invalid. Please contact your administrator.");
	document.form1.userid.focus();
}

function suspended() {
	document.location = "../Suspended.htm";
}

function TMSOnly() {
	alert("You must access this courseware through \nyour Training Management System.");
	document.form1.userid.focus();
	document.form1.userid.select();
}

