/* SOURCE FILE: alumni.js 

	// Converted to Coldfusion: January 6, 2006 by TCA

	// Created: July 15, 2002 by Michelle Kim
	//  - 	JavaScript file for alumni
*/


function openWindow(url, name) {
	popupWin =window.open(url, name, "menubar=no,toolbar=no,location=no,resizable,dependent=yes,scrollbars,width=470,height=640,left=250,top=50");
	if(window.focus) {
		popupWin.focus();
	}	
	  return this;
}

function openReunionWindow(url, name) {
	popupWin =window.open(url, name, "menubar=no,toolbar=no,location=no,resizable,dependent=yes,scrollbars,width=600,height=400,left=250,top=50");
	if(window.focus) {
		popupWin.focus();
	}
}

function removeLeadingAndTrailingChar (inputString, removeChar) 
{
	var returnString = inputString;
	if (removeChar.length)
	{
	  while(''+returnString.charAt(0)==removeChar)
		{
		  returnString=returnString.substring(1,returnString.length);
		}
		while(''+returnString.charAt(returnString.length-1)==removeChar)
	  {
	    returnString=returnString.substring(0,returnString.length-1);
	  }
	}
	return returnString;
}
