fullpathOn = 0;

// see theACC
/* What the entries represent
1) visible text
2) rollover text if desired, otherwise left blank
3) lines of text
4) url
5) _new target window, otherwise left blank
6) name of pop menu to show up when this text is rolled over
7) pop menu orientation, enter "below" for menu to appear below & flush left, otherwise blank will allow menu to pop to the right & flush top
8) Specific ALT tag text, otherwise blank will allow alt tag to match visible text

*/
var sportbuttonsdata= [  // BEGIN FAMILY -- do not remove 
["CHOOSE SPORT &gt;","",1,"/s-finder/patr-s-finder.html","","sportsL","","CHOOSE SPORT"],
["CHOOSE SCHOOL &gt;","",1,"/s-finder/patr-s-finder.html","","schoolsL","","CHOOSE SCHOOL"]
] // END OF FAMILY -- do not remove
allsportsdata=[
["BASEBALL","",1,"/sports/m-basebl/patr-m-basebl-body.html","","","",""],
["MEN'S BASKETBALL","",1,"/sports/m-baskbl/patr-m-baskbl-body.html","","","",""],
["WOMEN'S BASKETBALL","",1,"/sports/w-baskbl/patr-w-baskbl-body.html","","","",""],
["CROSS COUNTRY","",1,"/sports/c-xc/patr-c-xc-body.html","","","",""],
["FIELD HOCKEY","",1,"/sports/w-fieldh/patr-w-fieldh-body.html","","","",""],
["FOOTBALL","",1,"/sports/m-footbl/patr-m-footbl-body.html","","","",""],
["GOLF","",1,"/sports/m-golf/patr-m-golf-body.html","","","",""],
["MEN'S LACROSSE","",1,"/sports/m-lacros/patr-m-lacros-body.html","","","",""],
["WOMEN'S LACROSSE","",1,"/sports/w-lacros/patr-w-lacros-body.html","","","",""],
["ROWING","",1,"/sports/w-rowing/patr-w-rowing-body.html","","","",""],
["MEN'S SOCCER","",1,"/sports/m-soccer/patr-m-soccer-body.html","","","",""],
["WOMEN'S SOCCER","",1,"/sports/w-soccer/patr-w-soccer-body.html","","","",""],
["SOFTBALL","",1,"/sports/w-softbl/patr-w-softbl-body.html","","","",""],
["SWIMMING AND DIVING","",1,"/sports/c-swim/patr-c-swim-body.html","","","",""],
["TENNIS","",1,"/sports/c-tennis/patr-c-tennis-body.html","","","",""],
["TRACK AND FIELD","",1,"/sports/c-track/patr-c-track-body.html","","","",""],
["VOLLEYBALL","",1,"/sports/w-volley/patr-w-volley-body.html","","","",""]
]//end of family, last entry no comma


school_data=[
["AMERICAN","",1,"/teams/amer/patr-amer-body.html","","","",""],
["ARMY","",1,"/teams/army/patr-army-body.html","","","",""],
["BUCKNELL","",1,"/teams/buck/patr-buck-body.html","","","",""],
["COLGATE","",1,"/teams/colg/patr-colg-body.html","","","",""],
["HOLY CROSS","",1,"/teams/holy/patr-holy-body.html","","","",""],
["LAFAYETTE","",1,"/teams/lafa/patr-lafa-body.html","","","",""],
["LEHIGH","",1,"/teams/lehi/patr-lehi-body.html","","","",""],
["NAVY","",1,"/teams/navy/patr-navy-body.html","","","",""],
["&nbsp;","",1,"#","","","",""],
["ASSOCIATE MEMBERS","",1,"#","","","",""],
["FORDHAM","",1,"/teams/ford/patr-ford-body.html","","","",""],
["GEORGETOWN","",1,"/teams/gu/patr-gu-body.html","","","",""]
]//end of family, last entry no comma


section_1_data=[  // BEGIN FAMILY -- do not remove
["&#149; About The PL","",1,"/school-bio/patr-school-bio-aboutpl.html","","","",""],
["&#149; Staff Directory","",1,"/school-bio/patr-school-bio-staff-directory.html","","","",""],
["&#149; Directions","",1,"/school-bio/patr-school-bio-directions.html","","","",""]
]//end of family, last entry no comma

section_2_data=[  // BEGIN FAMILY -- do not remove
["&#149; Championships","",1,"/ot/championships/championships-index.html","","","",""]
]//end of family, last entry no comma

section_2a_data=[  // BEGIN FAMILY -- do not remove
["&#149; Compliance","",1,"/ot/league_governance/compliance.html","","","",""]
]//end of family, last entry no comma

section_3a_data=[  // BEGIN FAMILY -- do not remove
["&#149; Patriot League<br>&nbsp;&nbsp;in the News","",2,"/ot/in-the-news.html","","","",""],
["&#149; Patriot League Teams in<br>&nbsp;&nbsp;the National Rankings","",2,"/ot/patr-national-rankings.html","","","",""]
]//end of family, last entry no comma

section_3_data=[  // BEGIN FAMILY -- do not remove
["&#149; Academic Awards","",1,"/school-bio/patr-school-bio-scholar-athl.html","","","",""],
["&#149; Sportsmanship<br>&nbsp;&nbsp;Awards","",2,"/school-bio/patr-school-bio-sportsmanship-award.html","","","","Sportsmanship Awards"],
["&#149; Celebrating Women in<br>&nbsp;&nbsp;Sports","",2,"/genrel/122304aac.html","","","",""]
]//end of family, last entry no comma

var section_4_data= [  // BEGIN FAMILY -- do not remove 
["&#149; All Sport Record Book","",2,"/school-bio/patr-school-bio-record-book.html","","","",""]
] // END OF FAMILY -- do not remove

var section_5_data= [  // BEGIN FAMILY -- do not remove 
["&#149; Future League<br>&nbsp;&nbsp;Schedules","",2,"/ot/future-schedules.html","","","",""],
["&#149; General Releases","",1,"/genrel/patr-genrel.html","","","",""]
] // END OF FAMILY -- do not remove

var section_6_data= [  // BEGIN FAMILY -- do not remove 
["&#149; TV Schedule","",1,"/genrel/082404aaa.html","","","",""],
["&#149; Audio/Video","",1,"/multimedia/patr-multimedia.html","","","",""],
["&#149; Corporate Partners","",1,"/school-bio/patr-school-bio-corp-partners.html","","","",""]
] // END OF FAMILY -- do not remove

var section_7_data= [  // BEGIN FAMILY -- do not remove 
["&#149; League Governance","",1,"/ot/league_governance/league_governance-index.html","","","",""],
["&#149; SAAC","",1,"/ot/saac/saac-index.html","","","",""]
] // END OF FAMILY -- do not remove

var section_8_data= [  // BEGIN FAMILY -- do not remove 
["&#149; Links","",1,"/links/patr-links.html","","","",""],
["&#149; Site Map","",1,"/s-finder/patr-s-finder.html","","","",""]
] // END OF FAMILY -- do not remove



blindit=[];
bcount=0;
dataGroup=[]; // track content of nav layers
dataGroupCount=0;
navSet=[];
navSetCount=0;
actNavL="";
macFrameToHide = "maincontentscrollIE";
macTimer = "";
var apVer = parseInt(navigator.appVersion);
var apName = navigator.appName.toString();
var apUsrAgt = navigator.userAgent.toString();
var re = /\/6.2.2/;
var isNS6 = re.exec(apUsrAgt)

function restoreFrame(){
//////////////
if((isNS6) || ((navigator.appVersion.indexOf("Mac") != -1) && ( (navigator.appVersion.indexOf("MSIE") != -1)||(navigator.appVersion.indexOf("Safari") != -1) ) )){
var frameObj = browser("maincontentscrollIE");
var frameW = frameObj.width;
frameObj.style.width ='413px';
origin("maincontentscrollIE","maincontentscrolltarg",0,0);
}
/////////////
}// end func
function onLid(obj){

(document.layers) ? dataGroup[obj].rollChild.visibility = 'visible' : dataGroup[obj].rollChild.style.visibility = 'visible';
if(dataGroup[obj].menuChild){
//alert(dataGroup[obj].parent.id+'_roll_on');
var x = (dataGroup[obj].menuOrientation == "below")? 0 : dataGroup[obj].menuW;
var y = (dataGroup[obj].menuOrientation == "below")? dataGroup[obj].menuH+1 : 0;
timerid=0;
Timeclr(parseInt(timerid))
origin(dataGroup[obj].menuChild,dataGroup[obj].parent.id,x,y);
showObj(dataGroup[obj].menuChild);
//////////////

if((isNS6) || ((navigator.appVersion.indexOf("Mac") != -1) && ( (navigator.appVersion.indexOf("MSIE") != -1)||(navigator.appVersion.indexOf("Safari") != -1) ) )){

clearTimeout(macTimer);

var frameObj = browser("maincontentscrollIE");
var frameW = frameObj.width;
frameObj.style.width ='200px';
origin("maincontentscrollIE","maincontentscrolltarg",213,0);
}
/////////////
}//end if
}// end func

function offLid(obj){

(document.layers) ? dataGroup[obj].rollChild.visibility = 'hidden' : dataGroup[obj].rollChild.style.visibility = 'hidden';
if(dataGroup[obj].menuChild){
Timeout(dataGroup[obj].menuChild,250,parseInt(timerid));
	if((isNS6) || ((navigator.appVersion.indexOf("Mac") != -1) && ( (navigator.appVersion.indexOf("MSIE") != -1)||(navigator.appVersion.indexOf("Safari") != -1) ) )){
	macTimer = setTimeout("restoreFrame()",500);
	}
}
}// end func

function blindSweep(){
var j=blindit.length-1;
do{hideObj(blindit[j]);}while(j--);
} // END FUNC

function navConstruct(level,famName,famData,useCss,famW,famH,vertSpc,lineHex,offHex,onHex){

var build = "";
var divtype = (NS4) ? "span" : "div";
var brtype = (NS4) ? "<br>" : "";
var parO= '<'+divtype;
var parC= '</'+divtype+'>';
var vertSpc= (vertSpc != '1') ? (vertSpc):1;
var topvert= '<img src="http://graphics.fansonly.com/graphics/spacer.gif" width="1" height="'+(vertSpc+1)+'" border="0" alt=""><br>';
var vert= '<img src="http://graphics.fansonly.com/graphics/spacer.gif" width="1" height="'+(vertSpc-1)+'" border="0" alt="">';
dataGroup[dataGroupCount] = eval(famData).reverse();
var i = dataGroup[dataGroupCount].length-1
do{
linkpath = ((fullpathOn==1)  && (dataGroup[dataGroupCount][i][0].indexOf("http") != 0))? "http://patriotleague.com" : ""; 

var altTag = (dataGroup[dataGroupCount][i][7])? dataGroup[dataGroupCount][i][7]: dataGroup[dataGroupCount][i][0];
var urltarg = (dataGroup[dataGroupCount][i][4] != "")? "target=\"_new\" " : "";
var ontext = (dataGroup[dataGroupCount][i][1] == "")? dataGroup[dataGroupCount][i][0]: dataGroup[dataGroupCount][i][1];
var staticLocLayer = 'onMouseOver="actNavL=\''+famName+'_'+i+'_roll_on\';actNavLPar=\''+famName+'_'+i+'\';blindSweep();onLid(\''+famName+'_'+i+'\');" onMouseOut="offLid(\''+famName+'_'+i+'\')"';
var dynLocLayer = 'onMouseOver="clearTimeout(macTimer);Timeclr(parseInt(timerid));onLid(\''+famName+'_'+i+'\');showObj(actNavL,actNavLPar)" onMouseOut="macTimer = setTimeout(\'restoreFrame()\',500);hideObj(actNavL,actNavLPar);Timeout(\''+level+'\',250,parseInt(timerid));offLid(\''+famName+'_'+i+'\')"';
var navLayerType = (level != "window")? dynLocLayer : staticLocLayer;
build='<'+divtype+' id="'+famName+'_'+i+'" class="'+useCss+'obj">'+topvert+'<div class="'+useCss+'offset">'+dataGroup[dataGroupCount][i][0]+'</div>'+vert;
build+='<'+divtype+' id="'+famName+'_'+i+'_roll_on" class="'+useCss+'roll">'+topvert+'<div class="'+useCss+'offset">'+ontext+'</div></'+divtype+'>';
build+='<'+divtype+' id="'+famName+'_'+i+'_roll_line" class="'+useCss+'line"><img src="http://graphics.fansonly.com/graphics/spacer.gif" width="'+famW+'" height="1" border="0" alt=""></'+divtype+'>';
build+='<'+divtype+' id="'+famName+'_'+i+'_roll_lid" class="'+useCss+'lid"><a href="'+linkpath+dataGroup[dataGroupCount][i][3]+'" '+urltarg+navLayerType+'><img src="http://graphics.fansonly.com/graphics/spacer.gif" width="'+famW+'" height="'+((famH*dataGroup[dataGroupCount][i][2])+(2*vertSpc)+1)+'" border="0" alt="'+altTag+'"></a></'+divtype+'>';
build+='</'+divtype+'>'+brtype;
var docWriteLevel = ((NS4) && (level != "window"))? eval("document."+level+".document") : document;
docWriteLevel.open();
docWriteLevel.write(build);
docWriteLevel.close();
}while(i--);

dataGroupCount++;
if(level != "window"){
blindit[bcount]= level;
bcount++;
}
navSet[navSetCount] = [level,famName,famData,famW,famH,lineHex,offHex,onHex,vertSpc];
navSetCount++;
}// end func

function navObjCreator(level,famName,famData,famW,famH,lineHex,offHex,onHex,vertSpc){
var arrayData = eval(famData);
var i =  arrayData.length-1;
do{
if (document.layers) {
var nsLevel = (level != 'window')? document.layers[level].id+'.document.'  : '';
var nsLevel2 = (level != 'window')? document.layers[level].id  : '';
}
var currLayer = famName+'_'+i;
dataGroup[currLayer] = browser(currLayer+'_roll_lid',nsLevel+currLayer);
dataGroup[currLayer].parent = browser(currLayer,nsLevel2);
dataGroup[currLayer].rollChild = browser(currLayer+'_roll_on',nsLevel+currLayer);
dataGroup[currLayer].lineChild = browser(currLayer+'_roll_line',nsLevel+currLayer);
dataGroup[currLayer].lidChild = browser(currLayer+'_roll_lid',nsLevel+currLayer);

if (!document.layers) {	// setting appearance attributes //
dataGroup[currLayer].parent.style.backgroundColor = offHex;
dataGroup[currLayer].parent.style.width = famW;
dataGroup[currLayer].parent.style.visibility= 'inherit';
dataGroup[currLayer].rollChild.style.backgroundColor = onHex;
dataGroup[currLayer].rollChild.style.width = famW;
//dataGroup[currLayer].rollChild.style.height = (famH+(2*vertSpc)+1);
//dataGroup[currLayer].rollChild.style.clip = 'rect(0, 0, 124, 12)';
if (i< arrayData.length-1){
 dataGroup[currLayer].lineChild.style.backgroundColor = ((lineHex != ''))? lineHex: offHex;
}
dataGroup[currLayer].lineChild.style.width = famW;
}else{
   if(level != 'window'){ dataGroup[currLayer].parentLayer.parentLayer.bgColor=offHex;}
dataGroup[currLayer].parent.bgColor = offHex;
dataGroup[currLayer].parent.clip.width = famW;
//dataGroup[currLayer].parent.clip.height =(famH+(2*vertSpc)-1);
dataGroup[currLayer].parent.visibility= 'inherit';
dataGroup[currLayer].rollChild.bgColor = onHex;
dataGroup[currLayer].rollChild.clip.width = famW;
//dataGroup[currLayer].rollChild.clip.height = (famH+(2*vertSpc)-1);
if (i< arrayData.length-1){
dataGroup[currLayer].lineChild.bgColor = (lineHex != '')? lineHex: offHex;
}
dataGroup[currLayer].lineChild.clip.width = famW;
//dataGroup[currLayer].lidChild.clip.height =dataGroup[currLayer].rollChild.clip.height;
} // end if
dataGroup[currLayer].menuChild = arrayData[i][5];
dataGroup[currLayer].menuOrientation = arrayData[i][6];
dataGroup[currLayer].menuW= famW;
dataGroup[currLayer].menuH= (famH+(2*vertSpc));
}while(i--);
  // if(!NS4){dataGroup[famName+'_'+0].rollChild.style.clip='rect(0 '+famW+' '+(famH+(2*vertSpc))+' 0)';}
}// end func

function runNav(){
var i = navSetCount-1;
do{
navObjCreator(navSet[i][0],navSet[i][1],navSet[i][2],navSet[i][3],navSet[i][4],navSet[i][5],navSet[i][6],navSet[i][7],navSet[i][8]);
}while(i--);
}


if (NS4) {
origWidth = innerWidth;
origHeight = innerHeight;
}
function reDo() {
if (innerWidth != origWidth || innerHeight != origHeight) 
location.reload();
}
if (NS4) window.onresize = reDo;
