var DidReadToc = false;
function HasReadToc() {	DidReadToc = true; }
function DidRead() {
	if (!DidReadToc) { 
		alert("Error!\r\n\r\nPlease READ the Terms of Use first. Click on the 'Terms of use' link.");
	//	getid('toc').checked = false;
		return false;
	}
}
function checkform(id) {
	if (id==1) {
		var toc = document.getElementById('agree');
	
		if (toc.value == '') {
			alert("Error!\r\n\r\nUsername is a required field.");
			uid.focus();
			return false;
		} else if (!toc.checked) {
			alert("Error!\r\n\r\nYou must carefully read, and agree to the Terms and Conditions before you can continue.");
			toc.focus();
			return false;
}

function getid(id) {
	return document.getElementById(id);
}