   NS4 = (document.layers);
   IE4 = (document.all);
  ver4 = (NS4 || IE4);   
 isMac = (navigator.appVersion.indexOf("Mac") != -1);
isMenu = ((IE4 && !isMac));

function popUp(){return};
function popDown(){return};
function startIt(){return};

if (!ver4) event = null;
if (IE4 && isMac) {
sS = document.styleSheets(document.styleSheets.length-1);
with (sS) {
addRule("A.white","color:maroon;text-decoration:none;font-family:Arial,sans-serif;font-weight:bold;font-size:10pt");
addRule("A.white:active","color:maroon");
addRule("A.white:visited","color:maroon");
addRule("A.white:hover","color:white;background-color:maroon");
}
} 

if (isMenu) {
    
    menuWidth = 125;
    childOverlap = -5;
    childOffset = 0;
    perCentOver = null;
    secondsVisible = .5;
 
    fntCol = "black";
    fntSiz = "9";
    fntBold = false;
    fntItal = false;
    fntFam = "Verdana, MS Sans Serif,sans-serif";
    
    backCol = "#999999";
    overCol = "#666666";
    overFnt = "white";
    
    borWid = 1;
    borCol = "#000000";
    borSty = "solid";
    itemPad = 3;
    
    imgSrc = "/C0110299/media/trin.gif";
    imgSiz = 10;
    
    separator = 2;
    separatorCol = "#CCCCCC";
    
    isFrames = false;
    
    keepHilite = true; 
    NSfontOver = true;
    clickStart = true;
    clickKill = true;
    
    showVisited = "yellow";

	menusOn = true;
}
function db(str) {
if(NS4)	java.lang.System.out.println(str)
}
 if (isMenu) {
 if(IE4){
window.onresize=function(){
setTimeout("elMenu1.moveTo(getAnch('pp')[0],getAnch('pp')[1])",20)
}
}
arMenu1 = [
"",
"getAnch('pp')[0]","getAnch('pp')[1]",
"","", //fnt,fntovr
"","", //bg,bgovr
"","", //bord,sep
true,
"<B>Take the Tour</B>","../interact/interact.php?tour",1,1,
"<B>Questions</B>","../about/about.php?faq",1,1,
"<B>Bookmark</B>","../about/about.php?bookmark",1,1,
"<B>References</B>","../about/about.php?references",1,1,
"<B>Compatibility</B>","../about/about.php?compatibility",1,1,
"<B>Sitemap</B>","../about/sitemap.php",1,1,
"<B>Interactive</B>","../interact/interact.php",1,1
]
arMenu1_1 = [
"<CENTER><FONT COLOR=maroon><B>Take the Tour</B></FONT></CENTER>","",0,0,
"Follow simple guides to navigate your way through The Brain Explorer. Find out how you can easily skip to any part of the tour with a single click.","",0,0
]
arMenu1_2 = [
"<CENTER><FONT COLOR=maroon><B>Frequently Asked Questions</B></FONT></CENTER>","",0,0,
"For those of you who are new to this site, just go over to the FAQ to find out if any questions you might have may already be answered.","",0,0
]
arMenu1_3 = [
"<CENTER><FONT COLOR=maroon><B>Bookmark This Site</B></FONT></CENTER>","",0,0,
"If you want to return to The Brain Explorer without having to remember it's address, then make sure you bookmark us. We can give you an easy to follow list of directions.","",0,0
]
arMenu1_4 = [
"<CENTER><FONT COLOR=maroon><B>Contextual References</B></FONT></CENTER>","",0,0,
"Here are the proper references to sources used in the creation of The Brain Explorer. They are all grouped by topic, and all credit is given on this page.","",0,0
]
arMenu1_5 = [
"<CENTER><FONT COLOR=maroon><B>Browser Compatibility</B></FONT></CENTER>","",0,0,
"Is your browser compatible with The Brain Explorer? Most are, including many different versions of each.","",0,0
]

arMenu1_6 = [
"<CENTER><FONT COLOR=maroon><B>Simple is Beautiful</B></FONT></CENTER>","",0,0,
"Such an elegant phrase. This entire site was designed with the user in mind. That's you, and don't you appreciate the look of things more than ever now? Get anywhere, in 2 clicks or less.","",0,0
]

arMenu1_7 = [
"<CENTER><FONT COLOR=maroon><B>Interactive</B></FONT></CENTER>","",0,0,
"Interact with the site and other visitors of this site. Learn not just from these pages, but from other people just like you.","",0,0
]

document.write("<SCRIPT LANGUAGE=\"JavaScript1.2\" SRC=\"/C0110299/media/hierMenus4d.js\"><\/SCRIPT>");
}
function getAnch(n) {
	if (NS4) {
		for (i=0;i<document.anchors.length;i++) {
			anch = document.anchors[i];
			if(anch.name == n) break;
		}
		menX = anch.x;
		menY = anch.y;
	}
	if (IE4) {
		menX = tbAnch.offsetLeft;
		menY = tbAnch.offsetTop;
	}
	return [menX,menY];
}
function go(here){document.location.href = here;}
function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);

function MM_swapImgRestore() {
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() {
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) {
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document); return x;
}

function MM_swapImage() {
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}

