
var navboxnameholder="";
var keep="";

function keepit(a){
var a;
if(!a)return;
keep=a;
deliver(a);
}

function deliver(a){
var a;
//change look first for nope then check for keep
if(!navboxnameholder)showit(a);

 if(keep){ 
		if(a=="nope"){ hideit(navboxnameholder); showit(keep); }
		else { hideit(navboxnameholder); showit(a); }
	}
else {	
		if(a=="nope"){ hideit(navboxnameholder);  }
		else { hideit(navboxnameholder); showit(a); }

	}

return;
}


function showit(a){
var a;
var type=navigator.appName;
	//check browser type
	if(type=="Microsoft Internet Explorer"){
		switch(a){
		case 'about':
		document.all.about_nav_box.style.filter="alpha(opacity=100)";
		document.all.about_nav_box.style.top="22px";
		navboxnameholder=a;
		break;
		
		case 'programs':
		document.all.programs_nav_box.style.filter="alpha(opacity=100)";
		document.all.programs_nav_box.style.top="22px";
		navboxnameholder=a;
		break;
		
		//case 'faculty':
		//document.all.faculty_nav_box.style.filter="alpha(opacity=100)";
		//document.all.faculty_nav_box.style.top="22px";
		//navboxnameholder=a;
		//break;
		}
	}
	//check browser type
	if(type!="Microsoft Internet Explorer"){
		switch(a){
		case 'about':
		document.getElementById("about_nav_box").style.opacity=".9";
		document.getElementById("about_nav_box").style.top="22px";
		navboxnameholder=a;
		break;
		
		case 'programs':
		document.getElementById("programs_nav_box").style.opacity=".9";
		document.getElementById("programs_nav_box").style.top="22px";
		navboxnameholder=a;
		break;
		
		//case 'faculty':
		//document.getElementById("faculty_nav_box").style.opacity=".9";
		//document.getElementById("faculty_nav_box").style.top="22px";
		//navboxnameholder=a;
		//break;
		}
	}
	return;
}

function hideit(a){
var a;
	var type=navigator.appName;
	if(type=="Microsoft Internet Explorer"){
		switch(a){
		case 'about':
		document.all.about_nav_box.style.filter="alpha(opacity=0)";
		document.all.about_nav_box.style.top="0px";
		break;
		
		case 'programs':
		document.all.programs_nav_box.style.filter="alpha(opacity=0)";
		document.all.programs_nav_box.style.top="0px";	
		break;
		
		case 'faculty':
		document.all.faculty_nav_box.style.filter="alpha(opacity=0)";
		document.all.faculty_nav_box.style.top="0px";
		break;
		}
	}
	if(type!="Microsoft Internet Explorer"){
		switch(a){
		case 'about':
		document.getElementById("about_nav_box").style.opacity=".0";
		document.getElementById("about_nav_box").style.top="0px";
		break;
		
		case 'programs':
		document.getElementById("programs_nav_box").style.opacity=".0";
		document.getElementById("programs_nav_box").style.top="0px";
		
		break;
		
		case 'faculty':
		document.getElementById("faculty_nav_box").style.opacity=".0";
		document.getElementById("faculty_nav_box").style.top="0px";
		break;
		}
	}
	
	return;
}
var curriculumholder="";
function showcurriculum(a){
var a;
var type=navigator.appName;
if(curriculumholder)hidecurriculum();
	//check browser type--check ie7,6
	if(type=="Microsoft Internet Explorer"){
		switch(a){
		case 'bfa':
		document.all.bfa.style.visibility="visible";
		document.all.pagecontainer.style.height="1350px";
		curriculumholder="bfa"
		break;
		
		case 'ba':
		document.all.ba.style.visibility="visible";
		document.all.pagecontainer.style.height="1150px";
		curriculumholder="ba"
		break;
		
		case 'bfac':
		document.all.bfac.style.visibility="visible";
		document.all.pagecontainer.style.height="2200px";
		curriculumholder="bfac"
		break;
		
		case 'minor':
		document.all.minor.style.visibility="visible";
		document.all.pagecontainer.style.height="800px";
		curriculumholder="minor"
		break;
	
		case 'minorhist':
		document.all.minorhist.style.visibility="visible";
		document.all.minorhist.style.height="500px";
		document.all.pagecontainer.style.height="575px";
		curriculumholder="minorhist"
		break;	

		case 'minoreled':
		document.all.minoreled.style.visibility="visible";
		document.all.minoreled.style.height="500px";
		document.all.pagecontainer.style.height="575px";
		curriculumholder="minoreled"
		break;
		
		case 'therapy':
		document.all.therapy.style.visibility="visible";
		document.all.pagecontainer.style.height="1350px";
		curriculumholder="therapy"
		break;
		}
	}
	//check browser type
	if(type!="Microsoft Internet Explorer"){
		switch(a){
		case 'bfa':
		document.getElementById("bfa").style.visibility="visible";
		document.getElementById("pagecontainer").style.height="1350px";
		curriculumholder="bfa"
		break;
		
		case 'ba':
		document.getElementById("ba").style.visibility="visible";
		document.getElementById("pagecontainer").style.height="1150px";
		curriculumholder="ba"
		break;
		
		case 'bfac':
		document.getElementById("bfac").style.visibility="visible";
		document.getElementById("pagecontainer").style.height="2200px";
		curriculumholder="bfac"
		break;
		
		case 'minor':
		document.getElementById("minor").style.visibility="visible";
		document.getElementById("pagecontainer").style.height="800px";
		curriculumholder="minor"
		break;
	
		case 'minorhist':
		document.getElementById("minorhist").style.visibility="visible";
		document.getElementById("minorhist").style.height="500px";
		document.getElementById("pagecontainer").style.height="575px";
		curriculumholder="minorhist"
		break;
		
		case 'minoreled':
		document.getElementById("minoreled").style.visibility="visible";
		document.getElementById("minoreled").style.height="500px";
		document.getElementById("pagecontainer").style.height="575px";
		curriculumholder="minoreled"
		break;
		
		case 'therapy':
		document.getElementById("therapy").style.visibility="visible";
		document.getElementById("pagecontainer").style.height="1350px";
		curriculumholder="therapy"
		break;
		}
	}
	return;
}

function hidecurriculum(){
var a=curriculumholder;
var type=navigator.appName;

	//check browser type
	if(type=="Microsoft Internet Explorer"){
		switch(a){
		case 'bfa':
		document.all.bfa.style.visibility="hidden";
		curriculumholder=""
		break;
		
		case 'ba':
		document.all.ba.style.visibility="hidden";
		curriculumholder=""
		break;
		
		case 'bfac':
		document.all.bfac.style.visibility="hidden";
		curriculumholder=""
		break;
		
		case 'minor':
		document.all.minor.style.visibility="hidden";
		curriculumholder=""
		break;
		
		case 'minorhist':
		document.all.minorhist.style.visibility="hidden";
		curriculumholder=""
		break;
		
		case 'minoreled':
		document.all.minoreled.style.visibility="hidden";
		curriculumholder=""
		break;

		case 'therapy':
		document.all.therapy.style.visibility="hidden";
		curriculumholder=""
		break;
		}
	}
	//check browser type
	if(type!="Microsoft Internet Explorer"){
		switch(a){
		case 'bfa':
		document.getElementById("bfa").style.visibility="hidden";
		curriculumholder=""
		break;
		
		case 'ba':
		document.getElementById("ba").style.visibility="hidden";
		curriculumholder=""
		break;
		
		case 'bfac':
		document.getElementById("bfac").style.visibility="hidden";
		curriculumholder=""
		break;
		
		case 'minor':
		document.getElementById("minor").style.visibility="hidden";
		curriculumholder=""
		break;
	
		case 'minorhist':
		document.getElementById("minorhist").style.visibility="hidden";
		curriculumholder=""
		break;

		case 'minoreled':
		document.getElementById("minoreled").style.visibility="hidden";
		curriculumholder=""
		break;
		
		case 'therapy':
		document.getElementById("therapy").style.visibility="hidden";
		curriculumholder=""
		break;
		}
	}
	return;
}