function yell()
	{
	alert('You are not authorized to view this information!')
	}

function guardian(currentName,bootTo)
	{
	if (document.cookie == "")
		{
		alert('You have not logged in!')
		window.location="../mt.html"
		}
	else
		{
		if (document.cookie.split("=")[2] > 0)
			{
			if (document.cookie.split("=")[1] == currentName+"; secLev")
				{
				alert('Access Granted!')
				}
			else
				{
				if (document.cookie.split("=")[1] != "Drew; secLev")
					{
					yell()
					window.location=bootTo
					}
				else
					{

					}
				}
			}
		else
			{
			yell()
			window.location=bootTo
			}
		}
	}