// JavaScript Document
	function showHide(targetID,headerID,className)
	{
		if (document.getElementById)
		{
			var x = document.getElementById(targetID);
			var y = document.getElementById(headerID);
			if (x.className == "show")
			{
				x.className = "hide";
				y.innerHTML = y.innerHTML.replace("arrow_down.png","arrow_up.png");
			}
			else
			{
				x.className = "show";
				y.innerHTML = y.innerHTML.replace("arrow_up.png","arrow_down.png");
			}
		}
	}
	function popUp(URL)
	{
			day = new Date();
			id = day.getTime();
			eval("page" + id + " = window.open(URL, '" + id +
			"', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=1,width=400,height=350,left=300,top=200');");
	}
	function popupHelp(helpMessage)
	{
		var toolbar = 0;
		var scrollbars = 1;
		var location = 0;
		var statusbar = 0;
		var menubar = 0;
		var resizable = 1;
		var width = 400;
		var height = 200;
		var left = 0;
		var top = 0;
		var features;
		
		helpText = helpMessage;
		
		// The following features will position the window's top left corner at the cursor
		//	features = "toolbar=0,scrollbars=" + scrollbars + ",location=0,statusbar=0,menubar=0,resizable=1,width=" + width + ",height=" + height + ",left=" + LEFT + ",top=" + TOP;

		// The following features will center the window on the screen
			left = (screen.width / 2) - (width / 2);
			top = (screen.height / 2) - (height / 2);
			features = "toolbar=" + toolbar + ",scrollbars=" + scrollbars 
					 + ",location=" + location + ",statusbar=" + statusbar 
					 + ",menubar=" + menubar + ",resizable=" + resizable 
					 + ",width=" + width + ",height=" + height 
					 + ",left=" + left + ",top=" + top;

		helpWindow = window.open("tip.php", 'helpWindow1', features);
	}
