	

		var displayJavaErrors = "false";
		var buttonType = ".gif"	//file type of the rollover images on the web site
		var pageButton = ""	//name of button to always stay on
		var banImgDir = "/" //default path to banner
		var banImgName = "cp.gif" //default banner
		var onExt = "_on"	//default on button extension
		var moExt = "_on"	//default mouseover button extension	
		var offExt = "_off"	//default off button extension
		var imagePath="/images/"	//path for buttons
				
		var names = new Array()						
		var buttonOff = new Array()
		var buttonMo = new Array()
		
		
		function flip(button, arr)
		{
			try
			{
				if(button.src == buttonOff[button.id].src)
					{//if its off

						button.src = buttonMo[button.id].src // turn it on
					}					
				else{		
						button.src = buttonOff[button.id].src // else turn it off
					}

				if(arr != null)
				{ 
					flip(document.getElementById(arr))
				}
			}
			catch(err)
			{
				if (displayJavaErrors == "true")
				{
					alert("Error caught flip:[" + button.id + "][" + err.description + "]");
				}
			}
			
		}
					
		function lightUp(currentWindow){
			try
			{
				var menu = getPageLightupButton(currentWindow.location.pathname);
				try
				{
				
					if(menu != ""){
						//document.getElementById(menu).src = imagePath + menu + onExt + buttonType;
						document.getElementById(menu).src = buttonMo[menu].src;
						document.getElementById(menu).onmouseover = null;
						document.getElementById(menu).onmouseout = null;
					}
				}
				catch(err)
				{
					if (displayJavaErrors == "true")
					{
						alert("Error caught autoInitRollovers menu:["+ menu + "][" + err.description + "]");
					}
				}				
			}
			catch(err)
			{
				if (displayJavaErrors == "true")
				{
					alert("Error caught autoInitRollovers path:["+ currentWindow.location.pathname + "][" + err.description + "]");
				}
			}		
		}
		
		function autoInitRollovers(currentWindow)
		{
			var allPageImages = currentWindow.document.images;
			var imgId = "";
			var imgPathName = "";
			var imgPath = "";
			var imgName = "";
			for (x = 0; x < allPageImages.length; x++){
				imgId = allPageImages[x].id;
				imgPathName = allPageImages[x].src;
				if ((imgId != "") && (imgPathName.indexOf('_off.gif') != -1))
				{
					var arrayOfImgPath = imgPathName.split("/");
					imgName = arrayOfImgPath[arrayOfImgPath.length - 1].replace("_off.gif", "");
					imgPath = imgPathName.replace(arrayOfImgPath[arrayOfImgPath.length - 1], "");
					//alert("image["+ x + "][" + imgId + "][" + imgPathName + "][" + imgPath + "][" + imgName + "]");
					try
					{
						addButton(imgId, imgName, imgPath);
					}
					catch(err)
					{
						if (displayJavaErrors == "true")
						{
							alert("Error caught autoInitRollovers:" + err.description);
						}
					}
				}
			}
		}
		
		function addButton(buttonId, sourceName, imagePathOverride){
		
			var usingImagePath = imagePath;
			if(imagePathOverride != null)
			{ 
				usingImagePath = imagePathOverride;
			}
			if(sourceName == "" || sourceName == null)
				sourceName = buttonId
				
			names[names.length] = buttonId
			
			buttonOff[buttonId] = new Image()
			buttonOff[buttonId].src = usingImagePath + sourceName + offExt + buttonType
						
			buttonMo[buttonId] = new Image()
			buttonMo[buttonId].src = usingImagePath + sourceName + moExt + buttonType
			//alert("addbutton:[" + buttonId + "][" + buttonOff[buttonId].src + "][" + buttonMo[buttonId].src + "]");
		}
		
		function load_win(lnk){
		//this function was used in the old site to load the pop up windows of the pdf dopcuments
		//this is no longer in use
			url = lnk.href

			win_ref = window.open(url,"pdf_win")

			win_ref.focus()

			return false

		}
		
		function openHelp(x, y, page){
			//loads a popup window with variable content and diemensions
			//suggest making a 'sticky' version that always stays on top via a modal window
			win_ref = window.open(page, 'tcsPopUp', 'height='+y+', width='+x);

			win_ref.focus();
			
			return;

		}
		