<!--
var curX, curY;

function Move(evt) {
	var e = evt ? evt : event;
	
	curX = (screenLeft + e.x);
	curY = (screenTop + e.y);
}

if (document.layers)
	document.captureEvents(Event.MOUSEMOVE); 

document.onmousemove = Move;

function getbrowserwidth() {
	var bWidth;
	if (navigator.userAgent.indexOf("MSIE") > 0) {
		bWidth = document.body.clientWidth;
	} else {                                                
		bWidth = window.outerWidth;
	}
	return bWidth;   
}

function getbrowserheight() {
	var bheight;
	if (navigator.userAgent.indexOf("MSIE") > 0) {
		bheight = document.body.clientHeight;
	} else {                                                
		bheight = window.outerHeight;
	}
	return bheight;
}

function printScreen() {
	var agt = navigator.userAgent.toLowerCase();
	if (window.print) {
		window.print();
	}
	else if (agt.indexOf("mac") != -1) {
		alert("Press 'Cmd+p' on your keyboard to print.");
	}
	else {
		alert("Press 'Ctrl+p' on your keyboard to print.")
	}
}

var preloadFlag = false;

function newImage(arg) {
	if (document.images) {
		rslt = new Image();
		rslt.src = arg;
		return rslt;
	}
}

function changeImages() {
	if (document.images && (preloadFlag == true)) {
		for (var i=0; i<changeImages.arguments.length; i+=2) {
			document[changeImages.arguments[i]].src = changeImages.arguments[i+1];
		}
	}
}

var preloadFlag = false;
function preloadImages() {
	if (document.images) {
		Nav01 = newImage("images/navigation/alumni-over.jpg");
		Nav02 = newImage("images/navigation/announcements-over.jpg");
		Nav03 = newImage("images/navigation/club-forms-over.jpg");
		Nav04 = newImage("images/navigation/college-bound-over.jpg");
		Nav05 = newImage("images/navigation/concession-over.jpg");
		Nav06 = newImage("images/navigation/director-corner-over.jpg");
		Nav07 = newImage("images/navigation/events-over.jpg");
		Nav08 = newImage("images/navigation/field-schedule-over.jpg");
		Nav09 = newImage("images/navigation/home-over.jpg");
		Nav10 = newImage("images/navigation/programs-over.jpg");
		Nav11 = newImage("images/navigation/sponsors-over.jpg");
		Nav12 = newImage("images/navigation/teams-over.jpg");
		Rdm01 = newImage("images/random/home/home-1.gif");
		Rdm02 = newImage("images/random/home/home-2.gif");
		Rdm03 = newImage("images/random/home/home-3.gif");
		Rdm04 = newImage("images/random/home/home-4.gif");
		Rdm05 = newImage("images/random/home/home-5.gif");
		preloadFlag = true;
	}
}

var winLegal = null;
function goPrivacy() {
	var windowWidth = 500;
	var windowHeight = 500;
	var locX = (screen.width - windowWidth) / 2;
	var locY = (screen.height - windowHeight) / 2;
	var windowFeatures = 'width='+ windowWidth
										 + ',height=' + windowHeight
										 + ',screenX=' + locX
										 + ',screenY=' + locY
										 + ',left=' + locX
										 + ',top=' + locY
										 + ',scrollbars=1';
	
	if ((winLegal != null) && !winLegal.closed) {
		winLegal.close();
	};
	
	winLegal = open('privacy.aspx', 'winLegal', windowFeatures);
	winLegal.focus();
}

var winLegal = null;
function goNotices() {
	var windowWidth = 500;
	var windowHeight = 500;
	var locX = (screen.width - windowWidth) / 2;
	var locY = (screen.height - windowHeight) / 2;
	var windowFeatures = 'width='+ windowWidth
										 + ',height=' + windowHeight
										 + ',screenX=' + locX
										 + ',screenY=' + locY
										 + ',left=' + locX
										 + ',top=' + locY
										 + ',scrollbars=1';
	
	if ((winLegal != null) && !winLegal.closed) {
		winLegal.close();
	};
	
	winLegal = open('notices.aspx', 'winLegal', windowFeatures);
	winLegal.focus();
}

var winTeamInfo = null;
function goTeamInfo(type, id) {
	var windowWidth = 500;
	var windowHeight = 500;
	var locX = (screen.width - windowWidth) / 2;
	var locY = (screen.height - windowHeight) / 2;
	var windowFeatures = 'width='+ windowWidth
										 + ',height=' + windowHeight
										 + ',screenX=' + locX
										 + ',screenY=' + locY
										 + ',left=' + locX
										 + ',top=' + locY
										 + ',scrollbars=1';
	
	if ((winTeamInfo != null) && !winTeamInfo.closed) {
		winTeamInfo.close();
	};
	
	winTeamInfo = open(type + '.aspx?id=' + id, 'winTeamInfo', windowFeatures);
	winTeamInfo.focus();
}

function checkMsg (msg, focusField) {
	if (msg == '')
		return true;
	else {
		msg = 'There Has Been An Error Processing Your Request.\nPlease Try Again!\n\n' + msg;
		alert (msg);
		focusField.focus();
		return false;
	}
}

function cancel (url) {
	window.location.replace(url);
}

var winPic = null;
function showPic(pic) {
	var windowWidth = 600;
	var windowHeight = 300;
	var locX = (screen.width - windowWidth) / 2;
	var locY = (screen.height - windowHeight) / 2;
	var windowFeatures = 'width='+ windowWidth
										 + ',height=' + windowHeight
										 + ',screenX=' + locX
										 + ',screenY=' + locY
										 + ',left=' + locX
										 + ',top=' + locY
										 + ',scrollbars=0';
	
	if ((winPic != null) && !winPic.closed) {
		winPic.close();
	};
	
	winPic = open('images/' + pic, 'winPic', windowFeatures);
	winPic.focus();
}

var winFileName = null;
function goFileName (filename) {
	var windowWidth = 300;
	var windowHeight = 100;
	var locX = (screen.width - windowWidth) / 2;
	var locY = (screen.height - windowHeight) / 2;
	var content = '';
	var windowFeatures = 'width='+ windowWidth
										 + ',height=' + windowHeight
										 + ',screenX=' + locX
										 + ',screenY=' + locY
										 + ',left=' + locX
										 + ',top=' + locY
										 + ',scrollbars=1';
	
	if ((winFileName != null) && !winFileName.closed) {
		winFileName.close();
	};
	content = '<html><title>Link for Document</title><body>' + htmlEncode('media.aspx?f=' + escape(filename)) + '</body></html>'
	
	winFileName = open('', 'winFileName', windowFeatures);
	winFileName.document.write(content);
	winFileName.focus();
}

function htmlEncode(s) {
	var str = new String(s);
	str = str.replace(/&/g, "&amp;");
	str = str.replace(/</g, "&lt;");
	str = str.replace(/>/g, "&gt;");
	str = str.replace(/"/g, "&quot;");

	return str;
}

function ToggleDisplay(id, image) {
	var elem = document.getElementById(id);
	if (elem) {
		if (elem.style.display != 'block') {
			elem.style.display = 'block';
			elem.style.visibility = 'visible';
			changeImages(image, _rootPath + '/images/close-white.gif');
		} else {
			elem.style.display = 'none';
			elem.style.visibility = 'hidden';
			changeImages(image, _rootPath + '/images/more-white.gif');
		}
	}
}

var winMovie = null;
function popupmovie() {
	var windowWidth = 720;
	var windowHeight = 480;
	var locX = (screen.width - windowWidth) / 2;
	var locY = (screen.height - windowHeight) / 2;
	var windowFeatures = 'width='+ windowWidth
										 + ',height=' + windowHeight
										 + ',screenX=' + locX
										 + ',screenY=' + locY
										 + ',left=' + locX
										 + ',top=' + locY
										 + ',scrollbars=1';
	
	if ((winMovie != null) && !winMovie.closed) {
		winLegal.close();
	};
	
	winMovie = open('images/nike-movie.swf', 'winMovie', windowFeatures);
	winMovie.focus();
}
// -->
