	var isDisplaying = false;

	function handleMouseMove(e)
	{
		if(!isDisplaying || !document.getElementById)
			return;

		var x, y;

		if(!e && window.event)
		{
			e = window.event;
			x = e.clientX + (document.body && (document.body.scrollLeft || !document.documentElement) ? document.body.scrollLeft : document.documentElement.scrollLeft);
			y = e.clientY + (document.body && (document.body.scrollTop || !document.documentElement) ? document.body.scrollTop : document.documentElement.scrollTop);
		}
		else
		{
			x = e.pageX;
			y = e.pageY;
		}
		
		if(e && x && y)
		{
			var tt = gTT();
			
			if(tt)
			{
				var windowX = (window.innerWidth ? window.innerWidth : (document.body.offsetWidth ? document.body.offsetWidth : 1200));

				if(x + 192 + 40 > windowX)
					x -= 204;

				tt.style.left = (x + 12) + "px";
				tt.style.top = (y + 15) + "px";

				tt.style.display = "block";
			}
		}
	}
	
	function gTT()
	{
		if(document.getElementById)
			return document.getElementById("tooltip");
		
		return null;
	}

	function min(section, min, resType)
	{
		var tt = gTT();
		
		if(tt)
		{
			var html = "<font class='def' style='color: #000;'><b>Section&nbsp;" + section + "</b><br/>";

			if(min !== false)
			{
				switch(resType)
				{
					case 1:
						html += "<em>General&nbsp;Seating</em>";
					break;
				}
			}
			else
			{
				switch(resType)
				{
					case 1:
						html += "<em>Player&nbsp;Guest</em>";
					break;

					case 2:
						html += "<em>General&nbsp;Seating</em>";
					break;

					case 3:
						html += "<em>General&nbsp;Admission</em>";
					break;
					
					case 4:
						html += "<em>Students</em>";
					break;
					
					case 5:
						html += "<em>Band</em>";
					break;
					
					case 6:
						html += "<em>Visitors</em>";
					break;
					
					case 7:
						html += "<em>Prospects/High&nbsp;School&nbsp;Coaches</em>";
					break;

					default:
						html += "<em>Reserved&nbsp;seating</em>";
					break;
				}
			}
				
			tt.innerHTML = html + "</font>";
			isDisplaying = true;
		}
	}

	function mout()
	{
		var tt = gTT();
		
		if(tt)
		{
			tt.style.display = "none";
			isDisplaying = false;
		}
	}


	if(document.getElementById)
	{
		if (window.captureEvents)
		{
			window.captureEvents(Event.MOUSEMOVE);
			window.onmousemove = handleMouseMove;
		}
		else
		{
			document.body.onmousemove = handleMouseMove;
		}
	}