<!-- Begin
	var blnAccountMouseOver = false;
	var blnRcMenuMouseOver = false;
	var intRcMenuMouseOver = null;
	
	function doTimeout()
	{
		location.href='/resource_center_login.asp?msg=ttimeout';
	}
	
	function openESImageViewer(intYear,intImg)
	{
		openWindow('/Seminars/' + intYear + '/ImageViewer.asp?ID=' + intImg, 'ESImg', 'resizable=yes,menubar=no,toolbar=no,location=no,directories=no,scrollbars=1,width=800,height=600');
	}
	
	function toggleAccountTable()
	{
		var acctTbl = document.getElementById('acct_tbl');
		var acctParent = document.getElementById('acct_name');
		
		if (acctTbl.style.display == 'none')
			showAccountTable();
		else
			hideAccountTable();
	}
	
	function showAccountTable()
	{
		var acctTbl = document.getElementById('acct_tbl');
		var acctParent = document.getElementById('acct_name');

		acctTbl.style.width = acctParent.offsetWidth;
		acctTbl.style.display = '';
		acctTbl.style.position = 'absolute';
		
		setAccountMouseOver(true);
	}
	
	function hideAccountTable()
	{
		setAccountMouseOver(false);
		setTimeout(hideAccountTable2,500);
	}
	
	function hideAccountTable2()
	{
		var acctTbl = document.getElementById('acct_tbl');

		if (!blnAccountMouseOver)
		{
			acctTbl.style.display = 'none';
			acctTbl.style.position = 'static';
			blnAccountMouseOver = false;
		}
		else
			setTimeout(hideAccountTable2,500);
	}
	
	function setAccountMouseOver(blnMouse)
	{
		blnAccountMouseOver = blnMouse;
	}
	
	function overAccountItem(td)
	{
		if (td)
			td.className = "acctTblHover";
	}
	
	function outAccountItem(td)
	{
		if (td)
			td.className = "acctTblNormal";
	}
	
	function gotoAccountItem(strSel)
	{
		switch (strSel.toLowerCase())
		{
			case 'account':
				location.href = '/Account';
				break;
			case 'logout':
				location.href = '/logout.asp';
				break;
			case 'admin':
				location.href = '/Survey/AdminHome.asp';
				break;
			default:
				break;
		}
	}
	
	function overMenuItem(td,intMenu)
	{
		if (td)
		{
			td.className = "rcMenuHover";
			window.status = td.innerHTML;
		}
		
		if (intMenu)
			setRcMenu(intMenu);
		
	}
	
	function outMenuItem(td)
	{
		if (td)
			td.className = "rcMenuNormal";
		
		setRcMenu(null);
		hideRcMenu();
		
		window.status = '';
	}
	
	
	function gotoMenuItem(strItem,blnCustom)
	{
		if (blnCustom)
		{
			location.href = strItem;
		}
		else
		{
			switch (strItem)
			{
				/*--------------*/
				case 'r1c1':
					location.href = '/Account';
					break;
				case 'r1c2':
					location.href = '/logout.asp';
					break;
				case 'r1c3':
					location.href = '/Survey/AdminHome.asp';
					break;
				/*--------------*/	
				case 'r2c1':
					location.href = '/HotTopics';
					break;
				case 'r2c2':
					location.href = '/Survey/benchmarking_login.asp?ID=11';
					break;
				case 'r2c3':
					location.href = '/Survey/benchmarking_login.asp?ID=9';
					break;
				case 'r2c4':
					location.href = '/Survey/benchmarking_login.asp?ID=4';
					break;
				case 'r2c5':
					location.href = '/Survey/benchmarking_login.asp?ID=3';
					break;
				case 'r2c6':
					location.href = '/Survey/benchmarking_login.asp?ID=1';
					break;
				case 'r2c7':
					location.href = '/Survey/benchmarking_login.asp?ID=2';
					break;
				case 'r2c8':
					location.href = '/Survey/benchmarking_login.asp?ID=12';
					break;
				/*--------------*/
				case 'r3c1':
					location.href = '/Reports';
					break;
				case 'r3c2':
					location.href = '/Dashboard';
					break;
				case 'r3c3':
					location.href = '/Scorecard';
					break;
				case 'r3c4':
					location.href = '/Tools';
					break;
				case 'r3c5':
					location.href = '/Survey/Utilities/Search.asp';
					break;
				case 'r3c6':
					location.href = '/Survey/Utilities/Filters.asp';
					break;
				/*--------------*/
				case 'r4c1':
					location.href = '/Seminars/';
					break;
				case 'r4c2':
					location.href = '/rc/connections.asp';
					break;
				case 'r4c3':
					location.href = '/PeerNet';
					break;
				case 'r4c4':
					location.href = '/Forum';
					break;
				case 'r4c5':
					location.href = '/rc/connections.asp';
					break;
				/*--------------*/
				case 'r5c1':
					location.href = '/News';
					break;
				case 'r5c2':
					location.href = '/rc/overview.asp';
					break;
				case 'r5c3':
					location.href = '/rc/members.asp';
					break;
				case 'r5c4':
					location.href = '/rc/information_gathering.asp';
					break;
				case 'r5c5':
					location.href = '/Framework';
					break;
				case 'r5c6':
					location.href = '/LSP';
					break;
				/*--------------*/
				case 'r6c1':
					location.href = '/Training';
					break;
				case 'r6c2':
					location.href = '/Support';
					break;
				case 'r6c3':
					location.href = '/Support';
					break;
				case 'r6c4':
					location.href = '/Support/calendar.asp';
					break;
				default:
					break;
			}
		}
	}
	function setRcMenu(intMenu)
	{
		intRcMenu = intMenu;
	}
	
	function showRcMenu(intMenu)
	{
		var rcMenu = document.getElementById('rcMenu' + intMenu);

		if (rcMenu)
		{
			rcMenu.style.display = '';
			rcMenu.style.position = 'absolute';
			
			setRcMenu(intMenu);
			hideRcMenu2();
		}
	}
	
	function hideRcMenu()
	{
		setRcMenu(null);
		setTimeout(hideRcMenu2,500);
	}
	
	function hideRcMenu2()
	{
		for (var i=1; i<=6; i++)
		{
			var rcMenu = document.getElementById('rcMenu' + i);

			if (intRcMenu != i)
			{
				rcMenu.style.display = 'none';
				rcMenu.style.position = 'static';
			}
			//else
			//	setTimeout(hideRcMenu2,500);
		}
	}
	
	function OnHelp() 
	{
		var width, height, left, top; 
		width=400; 
		height=400; 
		left=(screen.width-width)/2; 
		top=((screen.height-50)-height)/2; 
		window.open('search_help_ft.htm', 'win', 'width=' + width + ',height=' + height + ',alwaysLowered=1,alwaysRaised=0,channelmode=0,dependent=0,directories=0,fullscreen=0,hotkeys=0,location=0,menubar=0,resizable=0,scrollbars=1,status=0,titlebar=0,toolbar=0,left=' + left + ',top=' + top + ',z-lock=0');
		return false;
	}
	
	function OnSearch(form) 
	{ 
		var ok;
		ok = true; 
		
		if(form.yider.value.length == 0) 
		{
			alert('You must enter some text to search for!'); 
			form.yider.focus(); 
			ok = false;
		}
		else if(form.yider.value.search(/\*/) != -1 && form.yider.value.search(/\s/) != -1) 
		{
			alert('If you are using the * to generalize your search, you can only search for one word at a time!'); 
			form.yider.focus(); 
			ok = false;
		} 
		else if(form.yider.value.search(/^\S+\*\S+$/) != -1) 
		{ 
			alert('You can only use the * at the beginning or end of your search term'); 
			form.yider.focus(); 
			ok = false; 
		} 
		else if(form.yider.value == '*') 
		{
			alert('You cannot search for a general * character!\nSee the search Help'); 
			form.yider.focus(); 
			ok = false;
		} 
		
		if(ok)
		{
			form.submit();
		} 
	}
// End -->


