 lectures_on = new Image();
	lectures_on.src = baseDir + "images/nav_lectures_over.gif"
	
	classroom_res_on = new Image();
	classroom_res_on.src = baseDir + "images/nav_classroom_res_over.gif"
	
	curriculum_map_on = new Image();
	curriculum_map_on.src = baseDir + "images/nav_curriculum_map_over.gif"
	
	etextbook_on = new Image();
	etextbook_on.src = baseDir + "images/nav_etextbook_over.gif"
	
	
	
	lectures_off = new Image();
	lectures_off.src = baseDir + "images/nav_lectures_off.gif"
	
	classroom_res_off = new Image();
	classroom_res_off.src = baseDir + "images/nav_classroom_res_off.gif"
	
	curriculum_map_off = new Image();
	curriculum_map_off.src = baseDir + "images/nav_curriculum_map_off.gif"
	
	etextbook_off = new Image();
	etextbook_off.src = baseDir + "images/nav_etextbook_off.gif"
	
	
	
	function swapImg(name,on_off) {
	document.images[name].src = eval(name+"_"+on_off+".src");
	}
	
	function openBio(url) {
	props = "width=530,height=550,resizable=yes,scrollbars=yes";
	bio = window.open(url,'biowindow',props);
	bio.focus();
	}
	
	function openEtext(num) {
	quer = '';
	if(num) {
	quer = "?"+num
	}
	props = "width=763,height=550,resizable=yes,scrollbars=yes,menubar=yes";
	etext = window.open(baseDir+'etextbook/etextbook.html'+quer,'biowindow',props);
	etext.focus();
	}
	
	function notAvail(msg) {
	if(msg == "page")
		{
		alert("This page is not yet available.");
		}
	else if (msg)
		alert(msg);	
	else {
	alert("This page is not yet available.");
	}
	return false;
	}
	
	function goTo(value) {

good = "6266.html,6625.html,6251.html"
curstand = "fundamentals"
ffpath = "cur_map\/ff_index.html"
if (good.indexOf(value)!= -1){
	if (self.location != top.location) {
	top.Text_Main.location = value;
	}
	else {
	return;
	}
}
/*
else if (curstand.indexOf(value)!= -1) {
self.location = baseDir + ffpath;
}
*/
else {
alert('This page is not available.')
}
}

function sendIt(fileName) {
  if (fileName != "") {
	top.Text_Main.location.href = fileName
  }   
}