//This code is Copyright 2003 LukeW Interface Designs
//more information: www.lukew.com

// BrowserCheck Variables **************

var ie4 = (document.all && !document.getElementById) ? true : false;
var ns4 = (document.layers) ? true : false;
var ie5 = (document.all && document.getElementById) ? true : false;
var ns6 = (document.getElementById && !document.all) ? true : false;
var ismac = (navigator.appVersion.indexOf("Mac") != -1)? true:false;
      

//Jump Menu function *************

function MM_jumpMenu(targ,selObj,restore){
  if(selObj.options[selObj.selectedIndex].value != 'nothing'){
  		eval(targ + ".location='" + selObj.options[selObj.selectedIndex].value + "'");
		if (restore) selObj.selectedIndex=0;
	}
}

//Roll over functions  **************

function tocItem (name, width, height) {
	this.off = new Image();
	this.off.src ='../img/' + name + ".gif";
	this.on = new Image();
	this.on.src = '../img/' + name + "_hl.gif";
}
function toc_new (name) {
	tocItem[name] = new tocItem(name);
}
function img_act (imgName) {
	if (document.images) {
		document[imgName].src = tocItem[imgName].on.src;
	}
}
function img_inact (imgName) {
	if (document.images) {
		document[imgName].src = tocItem[imgName].off.src;
	}
}
if (document.images != null) {
	toc_new ('top_about');
	toc_new ('top_people');
	toc_new ('top_research');
	toc_new ('top_resources');
	toc_new ('top_news');
}
