	function findFaculty (sFacultyL, sFacultyF)
	{
		//alert(sFacultyL);
		//alert(sFacultyF);
		var bFound = 0;
		for (var x=0; x<_account.length; x++)
		{
			if(_account[x][3] == sFacultyL)
			{
				//alert(String(_account[x][2]).substring(0,1));
				if (String(_account[x][2]) == sFacultyF)
				{
					//alert(_account[x][0]);
					bFound = 1;
					// build window contents
					var _buf = "<table width='95%'>"
					for (i = 2; i < 12; i++)
					{
						_buf += "<tr><td align='right' valign='top'>" + _column[i]
						_buf += ":</td><td><tt>&nbsp;</tt></td><td align='left' valign='top'><b>"
						// check for email (7) or bio page (11)
						if (_account[x][i] == "") _buf += "&nbsp;"
						else if (i == 7) _buf += "<a href='mailto:" + _account[x][i] + "'>" + _account[x][i] + "</a>"
						else if (i == 11) _buf += "<a href='/biopage/" + _account[x][i] + "'>http://www.dvc.edu/biopage/" + _account[x][i] + "/</a>"
						else _buf += _account[x][i]
						_buf += "</b></td></tr>"
					}
					_buf += "</table><br/>"
					var _caption = "<center>" + _account[x][0] + "</center>"
					// display window -- requires <div id='overDiv' style='position:absolute; visibility:hidden; z-index:1000;'></div>
					overlib(_buf, AUTOSTATUSCAP, STICKY, CLOSECLICK, CENTERPOPUP, CLOSETEXT, 'x',
						TEXTFONTCLASS, "popupCKnox", CAPTIONFONTCLASS, "captionCKnox", CLOSEFONTCLASS, "captionCKnox",
						BGCOLOR, "#007550", FGCOLOR, "#ECE8B5", TEXTCOLOR, "#000000", BORDER, 3, 
						CAPTION, _caption, WIDTH, 400)				
					return '';
				}
			}
		}
		if (bFound == 0)
		{
			var _buf = "<table width='95%'>"
			_buf += "<tr><td align='left' valign='top' colspan='2'>We did not find " + sFacultyL + ", " + sFacultyF + ". We found the following matches: </td></tr>"
			for (var x=0; x<_account.length; x++)
			{
				if(_account[x][3] == sFacultyL)
				{
					bFound = 1;
					
					//if (_account[x][11] != "") _buf += "<tr><td align='left' valign='top'>&nbsp;</td><td align='left'><a href='/biopage/" + _account[x][11] + "'>" + _account[x][0] + "</a></td></tr>"
					//else if (_account[x][7] != "") _buf += "<tr><td align='left' valign='top'>&nbsp;</td><td align='left'><a href='mailto:" + _account[x][7] + "'>" + _account[x][0] + "</a></td></tr>"
					//else _buf += "<tr><td align='left' valign='top'>&nbsp;</td><td align='left'>" + _account[x][0] + ", " + _account[x][1] + "</td></tr>"
					_buf += "<tr><td align='left' valign='top'>&nbsp;</td><td align='left'><a href=javascript:; onclick=showFaculty('" + _account[x][1] + "');>" + _account[x][0] + "</a></td></tr>"
				}
			}
			_buf += "</table><br/>"
			var _caption = "<center>" + sFacultyL + "</center>"
			if (bFound == 1)
			{
				// display window -- requires <div id='overDiv' style='position:absolute; visibility:hidden; z-index:1000;'></div>
				overlib(_buf, AUTOSTATUSCAP, STICKY, CLOSECLICK, CENTERPOPUP, CLOSETEXT, 'x',
					TEXTFONTCLASS, "popupCKnox", CAPTIONFONTCLASS, "captionCKnox", CLOSEFONTCLASS, "captionCKnox",
					BGCOLOR, "#007550", FGCOLOR, "#ECE8B5", TEXTCOLOR, "#000000", BORDER, 3, 
					CAPTION, _caption, WIDTH, 400)				
				return '';
			}
		}
		if (bFound == 0)
		{
			var _buf = "Please contact the appropriate Division Office for the instructor's information. Thank you.";
			var _caption = "<center>" + sFacultyL + ", " + sFacultyF + "</center>"
			// display window -- requires <div id='overDiv' style='position:absolute; visibility:hidden; z-index:1000;'></div>
			overlib(_buf, AUTOSTATUSCAP, STICKY, CLOSECLICK, CENTERPOPUP, CLOSETEXT, 'x',
				TEXTFONTCLASS, "popupCKnox", CAPTIONFONTCLASS, "captionCKnox", CLOSEFONTCLASS, "captionCKnox",
				BGCOLOR, "#007550", FGCOLOR, "#ECE8B5", TEXTCOLOR, "#000000", BORDER, 3, 
				CAPTION, _caption, WIDTH, 400)				
			return '';
		}
	}
	
	function showFaculty (sFacultyL)
	{

		var bFound = 0;
		for (var x=0; x<_account.length; x++)
		{
			if(_account[x][1] == sFacultyL)
			{
					//alert(_account[x][0]);
					bFound = 1;
					// build window contents
					var _buf = "<table width='95%'>"
					for (i = 2; i < 12; i++)
					{
						_buf += "<tr><td align='right' valign='top'>" + _column[i]
						_buf += ":</td><td><tt>&nbsp;</tt></td><td align='left' valign='top'><b>"
						// check for email (7) or bio page (11)
						if (_account[x][i] == "") _buf += "&nbsp;"
						else if (i == 7) _buf += "<a href='mailto:" + _account[x][i] + "'>" + _account[x][i] + "</a>"
						else if (i == 11) _buf += "<a href='/biopage/" + _account[x][i] + "'>http://www.dvc.edu/biopage/" + _account[x][i] + "/</a>"
						else _buf += _account[x][i]
						_buf += "</b></td></tr>"
					}
					_buf += "</table><br/>"
					var _caption = "<center>" + _account[x][0] + "</center>"
					// display window -- requires <div id='overDiv' style='position:absolute; visibility:hidden; z-index:1000;'></div>
					overlib(_buf, AUTOSTATUSCAP, STICKY, CLOSECLICK, CENTERPOPUP, CLOSETEXT, 'x',
						TEXTFONTCLASS, "popupCKnox", CAPTIONFONTCLASS, "captionCKnox", CLOSEFONTCLASS, "captionCKnox",
						BGCOLOR, "#007550", FGCOLOR, "#ECE8B5", TEXTCOLOR, "#000000", BORDER, 3, 
						CAPTION, _caption, WIDTH, 400)				
					return '';
			}
		}
	}
	
	function showContact (sUser)
	{

		var bFound = 0;
		for (var x=0; x<_account.length; x++)
		{
			if(_account[x][1] == sUser)
			{
					//alert(_account[x][0]);
					bFound = 1;
					// build window contents
					var _buf = "<table width='95%'>"
					for (i = 2; i < 12; i++)
					{
						_buf += "<tr><td align='right' valign='top'>" + _column[i]
						_buf += ":</td><td><tt>&nbsp;</tt></td><td align='left' valign='top'><b>"
						// check for email (7) or bio page (11)
						if (_account[x][i] == "") _buf += "&nbsp;"
						else if (i == 7) _buf += "<a href='mailto:" + _account[x][i] + "'>" + _account[x][i] + "</a>"
						else if (i == 11) _buf += "<a href='/biopage/" + _account[x][i] + "'>http://www.dvc.edu/biopage/" + _account[x][i] + "/</a>"
						else _buf += _account[x][i]
						_buf += "</b></td></tr>"
					}
					_buf += "</table><br/>"
					var _caption = "<center>" + _account[x][0] + "</center>"
					// display window -- requires <div id='overDiv' style='position:absolute; visibility:hidden; z-index:1000;'></div>
					overlib(_buf, AUTOSTATUSCAP, STICKY, CLOSECLICK, CENTERPOPUP, CLOSETEXT, 'x',
						TEXTFONTCLASS, "popupCKnox", CAPTIONFONTCLASS, "captionCKnox", CLOSEFONTCLASS, "captionCKnox",
						BGCOLOR, "#007550", FGCOLOR, "#ECE8B5", TEXTCOLOR, "#000000", BORDER, 3, 
						CAPTION, _caption, WIDTH, 400)				
					return '';
			}
		}
	}
	
