﻿function navRO_old(x) {
	if(x.src.indexOf("_RO") > -1){x.src = x.src.replace("_RO","");	} 
	else {x.src = x.src.substring(0, x.src.lastIndexOf(".")) + "_RO" + x.src.substring(x.src.lastIndexOf("."))}
}

function navRO(x, temp) {
	x.style.background = temp;
}

function navOn(temp, color) {	
	//safe function to show an element with a specified id
	var x=temp.getElementsByTagName('ul');
	if(x[0]){x[0].style.display = 'block';}
	
	navRO(temp, color)
}

function navOff(temp) {
    //safe function to hide an element with a specified id
	var x=temp.getElementsByTagName('ul');
	if(x[0]){x[0].style.display = 'none';}
	
	navRO(temp, "")
}



        function LoadImage(image) {
            var nImage = new Image;
            myImages[image] = nImage;

            nImage.src = image;
        }
		
		function seal_change(temp){
			document.getElementById(temp).innerHTML = "<a href=\"http://www.aacsb.edu/\" target=\"_blank\"><img src=\"images/stamp_aacsb.jpg\" align=\"right\" title=\"The Boler School is an AACSB Accredited University\" alt=\"The Boler School is an AACSB Accredited University\" />";
		}