function checkRegistration() {

	if (document.forms["registration"].organization.value=="") {
	
		alert ("Please enter your organization.")
		return(false);
	
	}
	if (document.forms["registration"].firstname.value=="") {
	
		alert ("Please enter your first name.")
		return(false);
	
	}
	if (document.forms["registration"].lastname.value=="") {
	
		alert ("Please enter your last name.")
		return(false);
	
	}
	if (document.forms["registration"].email.value=="") {
	
		alert ("Please enter your email address.")
		return(false);
	
	}
	if (document.forms["registration"].password.value=="") {
	
		alert ("Please enter your password.")
		return(false);
	
	}

	if (document.forms["registration"].confirmation.value=="") {
	
		alert ("Please confirm your password.")
		return(false);
	
	}

	if (document.forms["registration"].confirmation.value!=document.forms["registration"].password.value) {
	
		alert ("Your password and confirmation do not match.")
		document.forms["registration"].password.value =""
		document.forms["registration"].confirmation.value =""
		return(false);
	
	}





}


/*
function containsNN6 (container, containee) {
  var isParent = false;
  while (containee != null) {
    if ((isParent = container == containee))
      break;
    containee = containee.parentNode;
  } return isParent;
}
*/

var select =false;
var hackclrIn;

function mOvr(src, clrOver, clrIn,netscapeEvent) {
hackclrIn = clrIn

	if (typeof(event) !="undefined") {
		if (!src.contains(event.fromElement))
		{
			src.style.cursor = 'hand';
			src.bgColor = clrOver;
			src.borderColor = clrOver;
			src.style.fontStyle ="italic";
			
			if (select && select !=src) {
				select.style.cursor = 'default';
				select.bgColor = clrIn;
				select.borderColor = clrIn;
				select.style.fontStyle ="normal";

			}
			
			select = src
		}
 	}
	 
	else if (typeof(netscapeEvent) !="undefined" ) {
	
			src.bgColor = clrOver;
			src.borderColor = clrOver;
			if (select && select !=src) {
				select.bgColor = clrIn;
				select.borderColor = clrIn;
			}

			select = src

			
	
	}
	 

	return(false);
	
}
	
function mOut(src, clrIn,netscapeEvent) {
	
}


function mnuMouseover(item) {

	if (window.event) {
	
	if (!document.all[item].contains(window.event.fromElement)) {
		gnDivFilterOn(document,item)
		gnDivShow(item);
		gnDivFilterPlay(document,item)

		return(false);
	}
	}
	else {
	
		gnDivShow(item);
	
	}
	
}


function mnuMouseout(item) {
	if (window.event) {

	
		if (window.event.toElement && !document.all[item].contains(window.event.toElement)) {
			gnDivFilterOn(document,item)
			gnDivHide(item);
			gnDivFilterPlay(document,item)
			return(false);
		}
	}
	else {
	
		gnDivHide(item);
		if (select) {
			select.bgColor = hackclrIn;
			select = false;
		}
	
	}

	
}
