// JavaScript Document

function rt1()  {
document.getElementById('epost').value=0;
document.getElementById('ep').submit();
}
function rt2()  {
document.getElementById('epost').value=1;
document.getElementById('ep').submit();
}
function uLine(x)  {
	document.getElementById(x).style.cursor="pointer";
	document.getElementById(x).style.textDecoration="underline";
	}
function dLine(x)  {
	document.getElementById(x).style.textDecoration="none";
	}
	
	
function FrmCheck(x)  {

var chkErr = true;
if(!(x.last.value > ""))  {
	alert("The information you have entered is incomplete. You must enter a Last Name.");
	document.getElementById("Ln").focus();
	chkErr = false;
	} else {
if(!(x.first.value > ""))  {
	alert ("The information you entered is incomplete.  You must enter your First Name and (if applicable) your Middle Name or Initial.");
	document.getElementById("Fn").focus();
	chkErr = false;
	} else {
if(!(x.yob.value >""))  {
	alert("The infomation you entered is incomplete. You must enter your Year of Birth");
	document.getElementById("Yb").focus();
	chkErr = false;
	} else {
if(!(x.add1.value >""))  {
	alert("The infomation you entered is incomplete. You must a valid address-- Street Number and Street Name.");
	document.getElementById("Ad1").focus();
	chkErr = false;

	} } } }
if(chkErr)  {
	return true;
	} else { return false; }
}

function emph(x) {
document.getElementById(x).style.color="red";
}

function demph(x)  {
document.getElementById(x).style.color="#a5a5a5";
}