<!--
var TimerID = null;
var t = 4000;

var InternetExplorer = navigator.appName.indexOf("Microsoft") != -1;
// Handle all the the FSCommand messages in a Flash movie
function sponsors3_DoFSCommand(command, args) {
 // var sponsors2Obj = InternetExplorer ? sponsors3 : document.sponsors3;
  var url
  
  if (command=="GetSponsors")
  {
		url = "getsponsors.asp?spID=" + args
  		window.open(url,"SPONSORS","Height=600,Width=400")
  	}
  
}

function loadImages()
{
	this[1] = new Image();
	this[1].src = "images/btnABOUT.gif"
	this[2] = new Image();
	this[2].src = "images/btnBottom.gif"
	this[3] = new Image();
	this[3].src = "images/btnContact.gif"
	this[6] = new Image();
	this[6].src = "images/btnDirections.gif"
	this[7] = new Image();
	this[7].src = "images/btnHeadlines.gif"
	this[8] = new Image();
	this[8].src = "images/btnhome.gif"
	this[9] = new Image();
	this[9].src = "images/btnMTFCSpirit.gif"
	this[10] = new Image();
	this[10].src = "images/btnPhotogallery.gif"
	this[11] = new Image();
	this[11].src = "images/questsoccer.gif"
	this[12] = new Image();
	this[12].src = "images/btnRecSoccer.gif"
	this[13] = new Image();
	this[13].src = "images/Referee.gif"
	this[14] = new Image();
	this[14].src = "images/btnResources.gif"
	this[15] = new Image();
	this[15].src = "images/btnSiteMap.gif"
	this[16] = new Image();
	this[16].src = "images/btnTournaments.gif"
	this[17] = new Image();
	this[17].src = "images/imgHeader01.gif"
	this[18] = new Image();
	this[18].src = "images/imgHeader02.gif"
	this[19] = new Image();
	this[19].src = "images/imgHeader03.gif"
	this[20] = new Image();
	this[20].src = "images/imgheader04.gif"
}
{loadImages()}
function PopUp(popupURL, PopUpName, w, h) {
   //var w = 800;
   //var h = 600;
   var tmpParams = '';
        // open the popup window
        tmpParams = 'dependant,toolbar=0,scrollbars=1,resizable=1,';
        tmpParams = tmpParams + 'width='+w+',height='+h;
        popup = window.open(popupURL,PopUpName,tmpParams);
        popup.location = popupURL;
        popup.focus();
        //timeID=setTimeout('popup.focus();clearTimeout(timeID);', 500);
}
function rolledOver(Layer)
{
	if(TimerID)
	{
		clearTimeout(TimerID);
		TimerID = null;
	}
	for (var i=1; i < 20; i++)
	{
		hideInfo("Layer" + i);
	}
	displayInfo(Layer);
	return false;
			
}
function PauseClose(Layer)
{
	TimerID = setTimeout(closeAll, t);

}	
function closeAll()
{

	for (var i=1; i < 20; i++)
	{
		hideInfo("Layer" + i);
	}
	if(TimerID)
	{
		clearTimeout(TimerID);
		TimerID = null;
	}
	return false;

}
function subrolledOver(Layer)
	{
	
	if(TimerID)
	{
		clearTimeout(TimerID);
		TimerID = null;
	}	
	for (var i=9; i < 20; i++)
	{
		hideInfo("Layer" + i);
	}
	displayInfo(Layer);
}	

function displayInfo(layerID) {
  if (document.getElementById) {  // object detection for IE5 and NS6
    var layerObj=document.getElementById(layerID);
    layerObj.style.visibility='visible';
  } else if (document.all) {  // object detection for IE4
    document.all[layerID].style.visibility='visible';
  } else if (document.layers) {  // object detection for NS4
    document.layers[layerID].visibility='show';
  } // no else branch, but some action might be in order for other
    // browsers...
}

function hideInfo(layerID) {
  if (document.getElementById) {  // object detection for IE5 and NS6
    var layerObj=document.getElementById(layerID);
    layerObj.style.visibility='hidden';
  } else if (document.all) {  // object detection for IE4
    document.all[layerID].style.visibility='hidden';
  } else if (document.layers) {  // object detection for NS4
    document.layers[layerID].visibility='hide';
  } 
}

function showdiv(divVis,divNonVis)
{	
	
	if (divVis.style.display == "none") 
	{
	    divVis.style.display = "inline";
	    divNonVis.style.display = "none";
	} 
	else 
	{
	    divVis.style.display = "none";
	    divNonVis.style.display = "inline";
	}
}

//-->