 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 menstophdrdata= [  // BEGIN FAMILY -- do not remove 
["MEN'S SPORTS","",1,"#","","","",""]
] // END OF FAMILY -- do not remove

var womenstophdrdata= [  // BEGIN FAMILY -- do not remove 
["WOMEN'S SPORTS","",1,"#","","","",""]
] // END OF FAMILY -- do not remove

var mainleftdata= [  // BEGIN FAMILY -- do not remove 
//["COACHRONZOOK.COM","",1,"/sports/m-footbl/ronzook/index.html","","ronzookL","",""],
["COACHRONZOOK.COM","",1,"/sports/m-footbl/ronzook/index.html","","","",""],
["MEN'S SPORTS &gt;","",1,"/s-finder/ill-s-finder.html","","mensL","",""],
["WOMEN'S SPORTS &gt;","",1,"/s-finder/ill-s-finder.html","","womensL","",""]
] // END OF FAMILY -- do not remove

var mainnavgrdata= [  // BEGIN FAMILY -- do not remove 
["<img src=http://graphics.fansonly.com/schools/ill/graphics/ill-05-nav-tix-off.gif width=150 height=22 border=0>","<img src=http://graphics.fansonly.com/schools/ill/graphics/ill-05-nav-tix-on.gif width=150 height=22 border=0>",1,"http://www.athletics.uiuc.edu/tickets","","","","Tickets"],
["<img src=http://graphics.fansonly.com/schools/ill/graphics/ill-05-nav-ifund-off.gif width=150 height=22 border=0>","<img src=http://graphics.fansonly.com/schools/ill/graphics/ill-05-nav-ifund-on.gif width=150 height=22 border=0>",1,"http://www.athletics.uiuc.edu/development","_new","ifundL","","IFund Donations"],
["<img src=http://graphics.fansonly.com/schools/ill/graphics/ill-05-nav-store-off.gif width=150 height=22 border=0>","<img src=http://graphics.fansonly.com/schools/ill/graphics/ill-05-nav-store-on.gif width=150 height=22 border=0>",1,"/store/?partner_id=13955","_new","","","Online Store"],
["<img src=http://graphics.fansonly.com/schools/ill/graphics/ill-05-nav-auction-off.gif width=150 height=22 border=0>","<img src=http://graphics.fansonly.com/schools/ill/graphics/ill-05-nav-auction-on.gif width=150 height=22 border=0>",1,"/auctions/","_new","","","Online Auctions"]
]


mensportsdata=[
["Baseball","",1,"/sports/m-basebl/ill-m-basebl-body.html","","","",""],
["Basketball","",1,"/sports/m-baskbl/ill-m-baskbl-body.html","","","",""],
["Cheerleading","",1,"/sports/c-spirit/ill-c-spirit-body.html","","","",""],
["Cross Country","",1,"/sports/m-xc/ill-m-xc-body.html","","","",""],
["Football","",1,"/sports/m-footbl/ronzook/index.html","","","",""],
["Golf","",1,"/sports/m-golf/ill-m-golf-body.html","","","",""],
["Gymnastics","",1,"/sports/m-gym/ill-m-gym-body.html","","","",""],
["Tennis","",1,"/sports/m-tennis/ill-m-tennis-body.html","","","",""],
["Track & Field","",1,"/sports/m-track/ill-m-track-body.html","","","",""],
["Wrestling","",1,"/sports/m-wrestl/ill-m-wrestl-body.html","","","",""]
]//end of family, last entry no comma

womensportsdata=[
["Basketball","",1,"/sports/w-baskbl/ill-w-baskbl-body.html","","","",""],
["Cheerleading","",1,"/sports/c-spirit/ill-c-spirit-body.html","","","",""],
["Cross Country","",1,"/sports/w-xc/ill-w-xc-body.html","","","",""],
["Golf","",1,"/sports/w-golf/ill-w-golf-body.html","","","",""],
["Gymnastics","",1,"/sports/w-gym/ill-w-gym-body.html","","","",""],
["Soccer","",1,"/sports/w-soccer/ill-w-soccer-body.html","","","",""],
["Softball","",1,"/sports/w-softbl/ill-w-softbl-body.html","","","",""],
["Swimming/Diving","",1,"/sports/w-swim/ill-w-swim-body.html","","","",""],
["Tennis","",1,"/sports/w-tennis/ill-w-tennis-body.html","","","",""],
["Track & Field","",1,"/sports/w-track/ill-w-track-body.html","","","",""],
["Volleyball","",1,"/sports/w-volley/ill-w-volley-body.html","","","",""]
]//end of family, last entry no comma

var mainleftnavdata= [  // BEGIN FAMILY -- do not remove 
["Academic Services","",1,"/academics/ill-academics.html","","","",""],
["Athletic Dept. Directory ","",1,"/school-bio/ill-school-bio.html","","","",""],
["Audio/Video","",1,"http://fightingillini.cstv.com/allaccess/","","","",""],
["Camps & Clinics","",1,"/camps/ill-camps.html","","","",""],
["Driving Directions","",1,"/genrel/facilities.html","","","",""],
["Event Staff","",1,"/genrel/events-staff-opening2.html","","","",""],
["Facilities/Gameday Info","",1,"http://www.athletics.uiuc.edu/facilities","_new","","",""],
["Illinois Renaissance","",1,"http://www.athletics.uiuc.edu/renaissance","_new","","",""],
["Institutional Control","",1,"/ot/institution-control.html","","","",""],
["Kids Club","",1,"http://www.illinoiskidsclub.com","_new","","",""],
["News Media Reference","",1,"/newsmediarefcntr/ill-newsmediarefcntr.html","","","",""],
["Photo Galleries","",1,"/genrel/gallery_index_sports.html","","","",""],
["Podcasts","",1,"/podcasts/ill-podcasts.html","","","",""],
["Promotions","",1,"/genrel/promotions.html","","","",""],
["Radio/TV","",1,"/sports/m-footbl/spec-rel/radio-tv.html","","","",""],
["Schedules","",1,"/calendar/ill-calendar.html","","","",""],
["Scoreboard","",1,"/superscoreboard/","","","",""],
["Site Map","",1,"/s-finder/ill-s-finder.html","","","",""],
["Varsity \"I\" Association","",1,"/varsity/ill-varsity-index.html","","","",""],
["Visiting Team Guide","",1,"http://www.fansonly.com/photos/schools/ill/genrel/auto_pdf/visitingteamguide.pdf","","","",""],
["Wireless","",1,"/wireless/","","","",""]
] // END OF FAMILY -- do not remove


var ticketslinks= [  // BEGIN FAMILY -- do not remove 
["Buy Tickets Now","",1,"http://ev7.evenue.net/cgi-bin/ncommerce3/ExecMacro/evenue/ev66/se/Main.d2w/report?linkID=illinois","_new","","",""],
["Ticket Information","",1,"/tickets/ill-tickets-content.html","","","",""]

] // END OF FAMILY -- do not remove

var ifundlinks= [  // BEGIN FAMILY -- do not remove 
["Make A Gift Now","",1,"/ot/I-fund-giving.html","","","",""],
["Development Information","",1,"http://www.athletics.uiuc.edu/development","_new","","",""]
] // END OF FAMILY -- do not remove
var linksbuttondata= [  // BEGIN FAMILY -- do not remove 
["LINKS &gt;","",1,"/links/ill-links.html","","linksL","",""]
] // END OF FAMILY -- do not remove

var linksdata= [  // BEGIN FAMILY -- do not remove 
["Big Ten Conference","",1,"http://www.bigten.org/","_new","","",""],
["NCAA","",1,"http://www.ncaa.org/","_new","","",""],
["NCAA Championships","",1,"http://www.ncaasports.com/","_new","","",""],
["University of Illinois","",1,"http://www.uiuc.edu/","_new","","",""],
["Champaign CVB","",1,"http://www.cucvb.org/","_new","","",""]
] // 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][3].indexOf("http") != 0))? "http://fightingillini.collegesports.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="Timeclr(parseInt(timerid));onLid(\''+famName+'_'+i+'\');showObj(actNavL,actNavLPar)" onMouseOut="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>'+vert+'</'+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+(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.height = (famH+(2*vertSpc)+1);
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)+2);
//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;
