
<!-- hide
imgroll = new Array();
imgroll[1] = "nd-05-btn-mensports";
imgroll[2] = "nd-05-btn-womensports";
imgroll[3] = "nd-05-btn-insideath";
imgroll[4] = "nd-05-btn-fancenter";
imgroll[5] = "nd-05-btn-multimedia";
imgroll[6] = "nd-05-btn-onlinestore";
imgroll[7] = "nd-05-btn-tickets";
imgroll[8] = "nd-05-btn-sitemap";
imgroll[9] = "nd-05-itabs-store";
imgroll[10] = "nd-05-itabs-tickets";
imgroll[11] = "nd-05-btn-roster";
imgroll[12] = "nd-05-btn-schedule";
imgroll[13] = "nd-05-btn-news";
imgroll[14] = "nd-05-btn-archives";
imgroll[15] = "nd-05-btn-monogram-bofd";
imgroll[16] = "nd-05-btn-monogram-cal";
imgroll[17] = "nd-05-btn-monogram-news";
imgroll[18] = "nd-05-btn-monogram-hist";

onimages = [];
offimages = [];
for(i=0; i < imgroll.length; i++){
	onimages[i] =  new Image();
	onimages[i].src = "http://graphics.fansonly.com/schools/nd/graphics/"+imgroll[i]+"-on.gif";
	offimages[i] =  new Image();
	offimages[i].src = "http://graphics.fansonly.com/schools/nd/graphics/"+imgroll[i]+"-off.gif";
}
function imgOn(imageName) {
	num = imageName.split("e");
	document[imageName].src = onimages[num[1]].src;  
}
function imgOff(imageName) {  
	num = imageName.split("e");
	document[imageName].src = offimages[num[1]].src;
}


var activeImage;

function setNav(navObj,mHex,sHex,hHex){ // idGroup, mainNav, Submenu, Header

var o = document.getElementById(navObj);
var li = o.getElementsByTagName('div')
var i =li.length-1;


onDiv = new Function("var hasImage=this.getElementsByTagName('img');if(hasImage.length){activeImage=hasImage[0].name; imgOn(activeImage);}this.style.backgroundColor=this.onhex;if(this.child){this.child.style.visibility='visible';}");
offDiv = new Function("var hasImage=this.getElementsByTagName('img');if(hasImage.length){activeImage=hasImage[0].name; imgOff(activeImage);}this.style.backgroundColor=this.offhex;if(this.child){this.child.style.visibility='hidden';}");

var setToChild = new Array(4);
setToChild['m'] = '';
setToChild['s'] = '';
setToChild[''] = '';


var colors = new Array(4);
colors['m'] = mHex;
colors['s'] = (sHex) ? sHex : mHex;
colors['hdr'] = (hHex) ? hHex : mHex;
colors['menu'] = mHex;


do{
if (li[i].className == 'menu'){
li[i-1].child = li[i];
}

li[i].onhex = colors[li[i].className][0];
li[i].offhex = colors[li[i].className][1];

li[i].onmouseover = onDiv;
li[i].onmouseout = offDiv;

}while(i--);

}
// done hiding -->
