<!--
	var winObj = new Array();
	var winRef = new Array();
	var winCount = 0;
	
	// open or set focus to a window
	function PopupOpen(sURL, sName, sID, sWidth, sHeight, sToolbar, sScrollbar) {
		var i
		if(sToolbar!='yes') sToolbar = 'no'
		// if(sScrollbar!='no') sScrollbar = 'no'
		var sProperties = 'scrollbars=' + sScrollbar + ',status=no,location=no,menubar=no,toolbar=' + sToolbar + ',resizable=no,width=' + sWidth + ',height=' + sHeight;
		var win=null;
		// search for an existing window of that name
		if (winCount>0) {
			for (i=0;i<winCount;i++) {
				if (winRef[i]==sName) {
					win=winObj[i];
					break;
				};
			};
		};
		if (sURL.search(/\?/) == -1)
			sURL += '?WindowMode=CONSOLE&Console=1'
		else
			sURL += '&WindowMode=CONSOLE&Console=1';
				
		// if found, show it or recreate it, otherwise add it to the list of popups and show it
		if (win) {
			if (!win.closed) {
				win.focus()
				win.location=sURL;
			}
			else {
				win=window.open(sURL, sName, sProperties);
				winObj[i]=win;
				win.focus()
			}
		}
		else {
			win = window.open(sURL, sName, sProperties);
			winObj[winCount]=win;
			winRef[winCount]=sName;
			winCount++;
			win.focus()
		};
		//return win;
	};
		
	// close the window sName, if any
	function PopupClose(sName) {
		var win=null;
		// search for an existing window of that name
		if (winCount>0) {
			for (i=0;i<winCount;i++) {
				if (winRef[i]==sName || sName=='') {
					win=winObj[i];
					win.close();
					if (sName!='') break;
				};
			};
		};
	};

	function PopupPosition(blnResize, intWidth, intHeight)
	{
		if (blnResize)
		{
			window.resizeTo(intWidth, intHeight);
		}
		window.moveTo((screen.width - intWidth) / 2, (screen.height - intHeight) / 2);
	}
	
	/* These are the general functions that are used in the visitor side of the application */
	var objItem = null;
	var strItem = "";
	var intPosn = 0;
	var blnMOut = false;
	var intIncr = 10;
	var intTOut = 2;
	
	function siteSearch()
	{
		if (document.mySearch.sWords.value.length > 0)
		{
			document.mySearch.submit();
		}
		else
		{
			alert("Please enter a criteria to search against.");
			placeFocus();
		}
	}
	
	function siteSearch2()
	{
		if (document.frmCriteria.sWords.value.length > 0)
		{
			document.frmCriteria.submit();
		}
		else
		{
			alert("Please enter a criteria to search against.");
			placeFocus();
		}
	}
	
	function ShowText(strDiv, intPos, intMax)
	{
		// Variable declarations...
		var intVal = intIncr;
		
		// Make sure this is the same item...
		if (strDiv.toUpperCase() != strItem)
		{
			// If we have an item already, hide it...
			if (strItem.length > 0)
			{
				HideText(strItem);
			}
			
			// Set the necessary variables...
			objItem = eval("document.getElementById(\"divText" + strDiv + "\");");
			strItem = strDiv.toUpperCase();
			intPosn = intPos;
			blnMOut = false;
		}
		
		// Make sure the DIV is visible...
		if (objItem.style.visibility == "hidden")
		{
			objItem.style.visibility	= "visible";
			objItem.style.display		= "inline";
		}
		
		// Move the item...
		objItem.style.width = intPos + "px";
		objItem.style.right = 38;
		
		// Check to see if we have an increment value...
		if ((intMax - (intPos + intIncr)) <= 0)
		{
			intVal = intMax - intPos;
		}
		else
		{
			intVal = intIncr;
		}
		
		if (!blnMOut)
		{
			setTimeout('ShowText(\'' + strDiv + '\', ' + (intPos + intVal) + ', ' + intMax + ');', intTOut);
		}
		else if (blnMOut)
		{
			HideText(strDiv);
			blnMOut = false;
		}
	}
	
	function HideText(strDiv)
	{
		var objDiv = eval("document.getElementById(\"divText" + strDiv + "\");");
		
		objDiv.style.visibility	= "hidden";
		objDiv.style.display	= "none";
		
		blnMOut = true;
	}
	
	function showIconText(strShow, blnShow, strHide, blnHide, intOpac, intTime, intFade)
	{
		var intVal;
		
		if (strHide.length > 0)
		{
			var arrHide = strHide.split('||');
			
			for (var i = 0; i < arrHide.length; i++)
			{
				var objHide = eval('document.getElementById(\'divIconText' + arrHide[i] + '\');');
				
				if (objHide)
				{
					objHide.style.filter		= 'alpha(opacity=0)';
					objHide.style.opacity		= 0;
					objHide.style.visibility	= "hidden";
					objHide.style.display		= "none";
					//objHide.style.-moz-opacity	= 0;
				}
			}
		}
		
		if (strShow.length > 0)
		{
			var objShow = eval('document.getElementById(\'divIconText' + strShow + '\');');
			
			objShow.style.visibility	= "visible";
			objShow.style.display		= "inline";
			
			if (objShow)
			{
				if (blnShow)
				{
					if ((intOpac + intFade) < 100)
					{
						intVal	= (intOpac + intFade);
					}
					else
					{
						intVal	= 100;
					}
				}
				else
				{
					if ((intOpac - intFade) > 0)
					{
						intVal	= (intOpac - intFade);
					}
					else
					{
						intVal	= 0;
					}
				}
				
				// Apply the new filter...
				objShow.style.filter		= 'alpha(opacity=' + intVal + ')';
				objShow.style.opacity		= (intVal / 100);
				//objShow.style.-moz-opacity	= (intVal / 100);
				
				if ((blnShow) && (intVal < 100))
				{
					setTimeout('showIconText(\'' + strShow + '\', true, \'\', false, ' + intVal + ', ' + intTime + ', ' + intFade + ')', intTime);
				}
				else if ((!blnShow) && (intVal > 0))
				{
					setTimeout('showIconText(\'' + strShow + '\', false, \'\', false, ' + intVal + ', ' + intTime + ', ' + intFade + ')', intTime);
				}
			}
		}
	}
	
	function NewsYearGo(strFld, intTab)
	{
		var objCnt = eval("document.getElementById(\"" + strFld + "Count\");");
		var intCnt = parseInt(objCnt.value);
		
		for (var i = 1; i <= intCnt; i++)
		{
			var objRow = eval("document.getElementById(\"" + strFld + i + "\");");
			var objDiv = eval("document.getElementById(\"divYear" + i + "\");");
			
			if (objDiv)
			{
				if (objRow.className == "newsYearActive")
				{
					objRow.className = "newsYear";
				}				
			if (objDiv)
				{
				objDiv.style.visibility = "hidden";
				objDiv.style.display = "none";
				}
			}
		}
		
		var objAct = eval("document.getElementById(\"" + strFld + intTab + "\");");
		objAct.className = "newsYearActive";
		
		var objDiv = eval("document.getElementById(\"divYear" + intTab + "\");");
		if (objDiv)
			{
			objDiv.style.visibility = "visible";
			objDiv.style.display = "inline";
			}
	}
	
	function NewsYearHighlight(objTab)
	{
		if (objTab.className == "newsYear")
		{
			objTab.className = "newsYearHL";
		}
		else if (objTab.className == "newsYearHL")
		{
			objTab.className = "newsYear";
		}
	}

	function Left(strIn, n)
	{
		if (n <= 0)
		{
			return "";
		}
		else if (n > String(strIn).length)
		{
			return str;
		}
		else
		{
			return String(strIn).substring(0, n);
		}
	}
	
	function Right(strIn, n)
	{
		if (n <= 0)
		{
		   return "";
		}
		else if (n > String(strIn).length)
		{
		   return strIn;
		}
		else
		{
		   var iLen = String(strIn).length;
		   return String(strIn).substring(iLen, iLen - n);
		}
	}
	
	function Trim(str)
	{
		return str.replace(/^\s*|\s*$/g,"");
	}
	
//-->