fullpathOn = 1;
////////////////////////////  BEGIN OAS OMNI CONTROLS  /////////////////////////////////
var sportbuttons= [  // BEGIN FAMILY -- do not remove 
["ARENA WEBCAM","",1,"http://minerva.acc.virginia.edu/athletics/jpj-arena.html","_new","","","left"],
["VIRGINIA ATHLETICS FOUNDATION","",1,"http://www.virginiaathleticsfoundation.com/","_new","","","left"]
] // END OF FAMILY -- do not remove

var webcamlinks= [  // BEGIN FAMILY -- do not remove 
["Link","",1,"/url","","","","left"],
["Link","",1,"/url","","","","left"],
["Link","",1,"/url","","","","left"],
["Link","",1,"/url","","","","left"]
///////////////////  NO COMMA AFTER LAST ENTRY/////////////////////////////
] // END OF FAMILY -- do not remove

var athfoundlinks= [  // BEGIN FAMILY -- do not remove 
["Link","",1,"/url","","","","left"],
["Link","",1,"/url","","","","left"],
["Link","",1,"/url","","","","left"],
["Link","",1,"/url","","","","left"]
///////////////////  NO COMMA AFTER LAST ENTRY/////////////////////////////
] // END OF FAMILY -- do not remove

var mainleftnav= [  // BEGIN FAMILY -- do not remove 
["Athletic Department &#187;","",1,"/staffdir/va-staffdir.html","","athdept","",""],
["Camps","",1,"/camps/va-camps.html","","","",""],
["Facilities Directions","",1,"/facilities/va-facilities.html","","","",""],
["Inside Virginia &#187;","",2,"/ot/va-our-mission.html ","","inva","",""],
["Media Center &#187;","",1,"/multimedia/radio-tv-aff.html","","media","",""],
["Prospective Student-Athletes","",1,"/prospectives/va-prospects.html","","","",""],
["Promotions","",1,"/promotions/va-promotions.html ","","","",""],
["Scoreboard","",1,"/superscoreboard","","","",""],
["Spirit of Virginia &#187;","",1,"/trads/va-trads.html","","spirit","",""],
["Sponsorship","",1,"/sponsorship/mainpage.html","","","",""],
["Team Virginia","",1,"/splash/splash.html","","","",""],
["Travel Center &#187;","",1,"/travel/va-travel.html","","travel","",""],
["Virginia Athletics Foundation","",1,"http://www.virginiaathleticsfoundation.com/","_new","","",""],
["Wireless","",1,"/wireless","","","",""]
] // END OF FAMILY -- do not remove


var athdeptlinks= [  // BEGIN FAMILY -- do not remove 
["Academic Affairs","",1,"http://athletic.virginia.edu/academicAffairs/Index.html","_new","","",""],
["Annual Report","",1,"/ot/va-annual-report.html","","","",""],
["Employment Opportunities","",1,"/school-bio/va-employment.html","","","",""],
["Staff Directory","",1,"/staffdir/va-staffdir.html","","","",""],
["Mission Statement","",1,"/ot/va-our-mission.html","","","",""]
///////////////////  NO COMMA AFTER LAST ENTRY/////////////////////////////
] // END OF FAMILY -- do not remove

var invalinks= [  // BEGIN FAMILY -- do not remove 
["On the Grounds","",1,"/school-bio/va-school-bio.html","","","",""],
["The University","",1,"http://www.virginia.edu/","_new","","",""]
///////////////////  NO COMMA AFTER LAST ENTRY/////////////////////////////
] // END OF FAMILY -- do not remove

var medialinks= [  // BEGIN FAMILY -- do not remove 
["Radio and Television Affiliates","",1,"/multimedia/radio-tv-aff.html","","","",""],
["Newspapers","",1,"/links/va-links.html ","","","",""],
["General Releases","",1,"/genrel/va-genrel.html","","","",""],
["Media Guides","",1,"/promotions/va-media-guides.html","","","",""]
///////////////////  NO COMMA AFTER LAST ENTRY/////////////////////////////
] // END OF FAMILY -- do not remove

var travellinks= [  // BEGIN FAMILY -- do not remove 
["Weather","",1,"/ot/va-weather.html ","","","",""],
["Travel","",1,"/travel/va-travel.html","","","",""],
["Facilities / Directions","",1,"/facilities/va-facilities.html","","","",""],
["Game Day Parking","",1,"/tickets/tickets-static-info/tickets-parking.html","","","",""],
["Visiting Team Guide","",1,"http://www.fansonly.com/photos/schools/va/genrel/auto_pdf/VisitingTeamGuide-AllSports.pdf","","","",""]

///////////////////  NO COMMA AFTER LAST ENTRY/////////////////////////////
] // END OF FAMILY -- do not remove

var spiritlinks= [  // BEGIN FAMILY -- do not remove 
["All Sports Awards","",1,"/trads/All-sports-awards.html","","","",""],
["Cavalier Marching Band","",1,"http://www.virginia.edu/marchingband/","_new","","",""],
["Cheerleading & Dance","",1,"/trads/va-cheer-dance.html","","","",""],
["Fan Feedback","",1,"/feedback/va-feedback.html","","","",""],
["Hoo Crew","",1,"http://www.hoocrew.com/","_new","","",""],
["Traditions","",1,"/trads/va-trads.html","","","",""],
["Wallpaper","",1,"/ot/va-wallpapers.html","","","",""]
///////////////////  NO COMMA AFTER LAST ENTRY/////////////////////////////
] // END OF FAMILY -- do not remove

var timerid=0;
dcount=0;
rundisplay=[];
bcount=0;
blindit=[];
function addimg(imgname,wide,hi,alt){
imgObj = "<img src=\"http://graphics.fansonly.com/"+imgname+"\" width="+wide+" height="+hi+" alt=\""+alt+"\" border=0>";
return imgObj;
}
function navbuilder(par,name,ary,cssfam,w,h,brdr,off,on,spc){
//************* special case for afa
//spc = (NS4) ? 1 : spc;
divline='<img src="http://graphics.fansonly.com/graphics/spacer.gif" width='+w+' height=1 border=0>';
spaceline= (spc > 0) ? '<br><img src="http://graphics.fansonly.com/graphics/spacer.gif" width=1 height='+spc+' border=0>':'';
var build = "";
 
var divtype = (NS4) ? "span" : "div";
var brtype = (NS4) ? "<br>" : "";
var parO= '<'+divtype;
var parC= '</'+divtype+'>';
var aryname= eval(ary).reverse();
var hspac =parseInt(spc);
var j =eval(ary).length-1;
var i=0;
do{
linkpath = ((fullpathOn==1)  && (aryname[j][3].indexOf("http") != 0))? "http://virginiasports.com" : ""; 

var x = (w+2);

if(aryname[j][7] == "left"){
x = 0-75;
}
//var x = (dataGroup[obj].menuOrientation == "below")? 0 : dataGroup[obj].menuW;
//var y = (dataGroup[obj].menuOrientation == "below")? dataGroup[obj].menuH+1 : 0;

var moff = 'onMouseOver=\'showObj("'+name+'_'+i+'_roll_on","'+par+'.document.'+name+'_'+i+'");Timeclr(parseInt(timerid))\' onMouseOut=\'hideObj("'+name+'_'+i+'_roll_on","'+par+'.document.'+name+'_'+i+'");Timeout("'+par+'",250,parseInt(timerid));\'';
var loc_moff = moff;
var popthis = 'onmouseover=\'timerid=0;Timeclr(parseInt(timerid));blind();origin("'+aryname[j][5]+'","'+name+'_'+i+'",'+x+','+(h-h)+');showObj("'+aryname[j][5]+'");showObj("'+name+'_'+i+'_roll_on","'+name+'_'+i+'")\' onmouseout=\'Timeout("'+aryname[j][5]+'",250,parseInt(timerid));hideObj("'+name+'_'+i+'_roll_on","'+name+'_'+i+'")\'';//used to pop layer and roll layer
if (aryname[j][5] != ""){
loc_moff = popthis;
}else if(par=="window"){
loc_moff = 'onMouseOver="showObj(\''+name+'_'+i+'_roll_on\',\''+name+'_'+i+'\')" onMouseOut="hideObj(\''+name+'_'+i+'_roll_on\',\''+name+'_'+i+'\')"';
}
var urltarg = (aryname[j][4] == "")? "" : "target=\"_new\"";
var parname=' id="'+name+'_'+i;
var onname=' id="'+name+'_'+i+'_roll_on';
var lidname=' id="'+name+'_'+i+'_roll';
var linename=' id="'+name+'_'+i+'_roll_line';
var ontext = (aryname[j][1] == "") ? aryname[j][0]: aryname[j][1];
var bObj= parO+parname+'" class="'+cssfam+'obj">&nbsp;'+aryname[j][0]+spaceline;
bObj+=parO+onname+'" class="'+cssfam+'roll">&nbsp;'+ontext+spaceline+parC;
bObj+=parO+linename+'" class="'+cssfam+'line">'+divline+parC;
bObj+=parO+lidname+'" class="'+cssfam+'lid"><a href="'+linkpath+aryname[j][3]+'" '+urltarg+loc_moff+'>'+addimg('graphics/spacer.gif',w,(h+hspac)*aryname[j][2],aryname[j][0])+'</a>'+parC;
bObj+=parC+brtype;
build+=bObj;
i++;
}while(j--);
addnav(par,build,w,brdr);
rundisplay[dcount] = par+","+name+","+ary+","+w+","+h+","+brdr+","+off+","+on+","+spc;
dcount++;
if(par != "window"){
blindit[bcount]= par;
bcount++;
}
}
function blind(){
var j=blindit.length-1;
do{hideObj(blindit[j]);}while(j--);
} // END FUNC
function nsevt(par,name,ary,width,height,brdr,off,on,spc){
var j =eval(ary).length-1;
var aryname= eval(ary).reverse();

do{
if(NS4){
var	lpar = (par=="window")? "" : par+".document."
var evtObjRon = browser(name+"_"+j+"_roll_on",lpar+name+"_"+j);//the second text layer
evtObjRon.bgColor= on;
evtObjRon.clip.width= width;
if(par!="window"){
evtObjRon.parentLayer.parentLayer.bgColor= off;
}
var evtline = browser(name+"_"+j+"_roll_line",lpar+name+"_"+j);//the spacer layer
evtline.bgColor= (brdr=="")? off: brdr;
var evtObj = browser(name+"_"+j+"_roll",lpar+name+"_"+j);//the spacer layer
evtObj.clip.width= width;
evtObj.parentLayer.bgColor= off;
evtObj.parentLayer.clip.width= width;
evtObj.parentLayer.clip.height= (parseInt(height)+parseInt(spc))*aryname[j][2]+2;
evtObj.parentLayer.visibility= 'inherit';
}else{
var evtline = browser(name+"_"+j+"_roll_line");
evtline.style.backgroundColor = (brdr=="")? off: brdr;
var evtObj = browser(name+"_"+j+"_roll_on");
evtObj.style.backgroundColor = on;
evtObj.style.width = width;
var evtObjPar = browser(name+"_"+j);
evtObjPar.style.width = width;
evtObjPar.style.backgroundColor = off;
evtObjPar.style.visibility = 'inherit';
if(par!="window"){
var evtObjParPar = browser(par);
evtObjParPar.style.backgroundColor = off;
}
}// END IF
}while(j--);//END DO WHILE
}
function addnav(par,name,w,brdr){
var parObj =((NS4)&&(par!="window"))? eval("document."+par+".document"): document;
var endline = (brdr =="")?"":"<table width="+w+" bgcolor=\""+brdr+"\" cellpadding=0 cellspacing=0 border=0><tr><td width="+w+">"+addimg('graphics/spacer.gif',w,1,'')+"</td></tr></table>";
parObj.open();
parObj.write(name+endline);
parObj.close();
} // END FUNC
////////////////// INITIALIZE ACTIVITIES ////////////////////
function makeitso(){
var i=rundisplay.length-1;
do{
txtobj = rundisplay[i].split(",");
nsevt(txtobj[0],txtobj[1],txtobj[2],txtobj[3],txtobj[4],txtobj[5],txtobj[6],txtobj[7],txtobj[8]);
}while(i--);
}// END FUNC