<!--
function CheckUpdate() {
	//firstname, lastname, address1, city, state, postalcode, country, email, password
	if(document.update.firstname.value=='') {
		alert("Please enter in a first name.")
		document.update.firstname.focus()
	} else {
	if(document.update.lastname.value=='') {
		alert("Please enter in a last name.")
		document.update.lastname.focus()
	} else {
	if(document.update.address1.value=='') {
		alert("Please enter in a address.")
		document.update.address1.focus()
	} else {
	if(document.update.city.value=='') {
		alert("Please enter in a city.")
		document.update.city.focus()
	} else {
	if(document.update.state.value=='') {
		alert("Please enter in a state.")
		document.update.state.focus()
	} else {
	if(document.update.postalcode.value=='') {
		alert("Please enter in a postal code.")
		document.update.postalcode.focus()
	} else {
	if(document.update.country.value=='') {
		alert("Please select a country.")
		document.update.country.focus()
	} else {
	if(!(validEmail(document.update.email.value))) {
		alert("Please enter in a valid email address.")
		document.update.email.focus()
	} else {
	if(document.update.password.value=='') {
		alert("Please enter in a password.")
		document.update.password.focus()
	} else {
		document.update.submit()
	}}}}}}}}}
}

function CheckRegister2(pStep) {
	//firstname, lastname, address1, city, state, postalcode, country, email, password
	
	if(document.register2.firstname.value=='') {
		alert("Please enter in a first name.")
		document.register2.firstname.focus()
	} else {
	if(document.register2.lastname.value=='') {
		alert("Please enter in a last name.")
		document.register2.lastname.focus()
	} else {
	if(document.register2.address1.value=='') {
		alert("Please enter in a address.")
		document.register2.address1.focus()
	} else {
	if(document.register2.city.value=='') {
		alert("Please enter in a city.")
		document.register2.city.focus()
	} else {
	if(document.register2.state.value=='') {
		alert("Please enter in a state.")
		document.register2.state.focus()
	} else {
	if(document.register2.postalcode.value=='') {
		alert("Please enter in a postal code.")
		document.register2.postalcode.focus()
	} else {
	if(document.register2.country.value=='') {
		alert("Please select a country.")
		document.register2.country.focus()
	} else {
	if(!(validEmail(document.register2.email.value))) {
		alert("Please enter in a valid email address.")
		document.register2.email.focus()
	} else {
	if(document.register2.password.value=='') {
		alert("Please enter in a password.")
		document.register2.password.focus()
	} else {
		document.register2.submit()
	}}}}}}}}}
}

function CheckRegister1(pStep) {
	if (pStep==1){ 
		if(document.register1.firstname.value=='') {
			alert("Please enter in a first name.")
			document.register1.firstname.focus()
		} else {
			if(document.register1.lastname.value=='') {
				alert("Please enter in a last name.")
				document.register1.lastname.focus()
			} else {
				document.register1.submit()
			}
		}
	} else {
		if(pStep==2){
			if(document.register1.email.value=='') {
				alert("Please enter in a email address.")
				document.register1.email.focus()
			} else {
				document.register1.submit()
			}
		} else {
			var bSubmit
			bSubmit = false
			if(document.register1.alumniid[0]){
				// Loop from zero to the one minus the number of radio button selections
				for (counter = 0; counter < document.register1.alumniid.length; counter++){
					// If a radio button has been selected it will return true
					// (If not it will return false)
					if (document.register1.alumniid[counter].checked) {
						bSubmit=true
					}
				} 
			} else {
				if(document.register1.alumniid.checked) {
					bSubmit=true
				}
			}
			
			if (bSubmit) {
				document.register1.submit()
			}
			else {
				alert("Please select a name.")
			}
		}
	}
}

var count

function WhatThisPopUp(sInput) {

  //Format the string for the window specs
  var specs
  var win
  //specs = 'width=500,height=100;'
  specs = 'left=200,top=200,width=350,height=200,toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0,copyhistory=0;'

  //Create a NEW window name (handle)
  var hwnd
  hwnd += count++;
  
  // Close the window if it is open
  if( win && !win.closed ) { 
    win.close();
  }
  
  win=window.open('whatsthis.asp?i=' + sInput, hwnd, specs)  
  
  // Make sure the window is ON TOP
  win.focus();  //NOT in ie
  
   //Reset the 'count' variable if it gets too big
  count = count > 500 ? 0 : count;

}

function AlumniPopUp(sInput) {

  //Format the string for the window specs
  var specs
  var win
  //specs = 'width=500,height=100;'
  specs = 'left=200,top=200,width=500,height=300,toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=0,copyhistory=0;'

  //Create a NEW window name (handle)
  var hwnd
  hwnd += count++;
  
  // Close the window if it is open
  if( win && !win.closed ) { 
    win.close();
  }
  
  win=window.open(sInput, hwnd, specs)  
  
  // Make sure the window is ON TOP
  win.focus();  //NOT in ie
  
   //Reset the 'count' variable if it gets too big
  count = count > 500 ? 0 : count;

}


function EchoPopup(sInput) {

  //Format the string for the window specs
  var specs
  var win
  //specs = 'width=500,height=100;'
  specs = 'left=50,top=50,width=650,height=600,toolbar=1,location=0,directories=0,status=0,menubar=1,scrollbars=10,resizable=1,copyhistory=0;'

  //Create a NEW window name (handle)
  var hwnd
  hwnd += count++;
  
  // Close the window if it is open
  if( win && !win.closed ) { 
    win.close();
  }
  
  win=window.open('EchoIssue.asp?' + sInput, hwnd, specs)  
  
  // Make sure the window is ON TOP
  win.focus();  //NOT in ie
  
   //Reset the 'count' variable if it gets too big
  count = count > 500 ? 0 : count;

}

function ReunionPopup(sInput) {

  //Format the string for the window specs
  var specs
  var win
  //specs = 'width=500,height=100;'
  specs = 'left=50,top=50,width=650,height=600,toolbar=1,location=0,directories=0,status=0,menubar=1,scrollbars=10,resizable=1,copyhistory=0;'

  //Create a NEW window name (handle)
  var hwnd
  hwnd += count++;
  
  // Close the window if it is open
  if( win && !win.closed ) { 
    win.close();
  }
  
  win=window.open(sInput, hwnd, specs)  
  
  // Make sure the window is ON TOP
  win.focus();  //NOT in ie
  
   //Reset the 'count' variable if it gets too big
  count = count > 500 ? 0 : count;

}

function CloseWindow() {
	window.close()
}

function validEmail(str){
	// check if EMAIL has _@_._ format
	var i = str.indexOf('@');
	var j = str.lastIndexOf('.');
	
	if ( i > j || i == -1 || j == -1 || i == j )
		{
		return false;
		}
	else
		{
		return true;
		}
}

<!--
function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->
