function init(){
if(!window.standards) return;
if(window.inited) return;
//////////////////////////////////  GLOBAL OFFSET VARIABLES //////////////////////////////	
	if(bw.wIE || bw.ns){
		menuOffsetTop = 0; // first level menu. smaller number is more up
		menuOffsetLeft = 2; // first level menu. smaller number is more right.
	}
	else if(bw.mIE){
		menuOffsetTop = 0; // first level menu. smaller number is more right
		menuOffsetLeft = -6; // first level menu. smaller number is more right
	}
	submenuOffsetTop = -25 ;// smaller number is closer to top

	if(bw.wIE) submenuOffsetLeft = -12; // left-side menu. smaller number is closer to menu
	else if(bw.mIE) submenuOffsetLeft = -4; // left-side menu. smaller number is closer to menu

	submenuOffsetRight = 0;// right-side menu.  smaller number is closer to menu.
//////////////////////////////////  GLOBAL OFFSET VARIABLES //////////////////////////////	


	var uiMenubar = new Menubar();

	mainMenu = new Menu('Main Pages');
	mainMenu.add(new MenuItem('Front Page','http://isc.temple.edu/neuroanatomy/lab/index.htm'));
	mainMenu.add(new MenuItem('Diagnostic Imaging','http://isc.temple.edu/neuroanatomy/lab/imaging/index.htm'));
	mainMenu.add(new MenuItem('Sectional Atlas','http://isc.temple.edu/neuroanatomy/lab/atlas/instructions.html'));
	mainMenu.add(new MenuItem('Gross Brain Atlas','http://isc.temple.edu/neuroanatomy/lab/gross_atlas/instructions.html'));
	mainMenu.add(new MenuItem('Lab Reviews','http://isc.temple.edu/neuroanatomy/lab/reviews/index.htm'));
	mainMenu.add(new MenuItem('Neurological Exam','http://isc.temple.edu/neuroanatomy/lab/neuexam/intro.htm'));
	mainMenu.add(new MenuItem('Neuroembryology','http://isc.temple.edu/neuroanatomy/lab/embryo_new/'));
	mainMenu.add(new MenuItem('Case Study Quizzes','http://isc.temple.edu/neuroanatomy/lab/cs_quiz'));
	mainMenu.add(new MenuItem('Practice Exam Questions','http://isc.temple.edu/neuroanatomy/lab/practice_exams'));
	mainMenu.add(new MenuItem('Neuroembryology Links','http://isc.temple.edu/neuroanatomy/lab/embryo_new/links.htm'));
	uiMenubar.add(mainMenu);
	uiMenubar.useMouseOver();
	document.body.appendChild(uiMenubar);

	ventMenu = new Menu('Ventricular System');
	ventMenu.add(new MenuItem('Development of the Ventricular System (Early)','http://isc.temple.edu/neuroanatomy/lab/embryo_new/vse/1/'));
	ventMenu.add(new MenuItem('Development of the Ventricular System (Late)','http://isc.temple.edu/neuroanatomy/lab/embryo_new/vsl/'));
	uiMenubar.add(ventMenu);
	uiMenubar.useMouseOver();
	document.body.appendChild(uiMenubar);

	nthMenu = new Menu('Neural Tube')
	nthMenu.add(new MenuItem('Development of the Neural Tube','http://isc.temple.edu/neuroanatomy/lab/embryo_new/nt/1'));
	nthMenu.add(new MenuItem('Neural Tube Histogenesis','http://isc.temple.edu/neuroanatomy/lab/embryo_new/nth/1'));
	uiMenubar.add(nthMenu);
	uiMenubar.useMouseOver();
	document.body.appendChild(uiMenubar);


	brstMenu = new Menu('Brain Stem and Spinal Cord');
	brstMenu.add(new MenuItem('Development of the Spinal Cord','http://isc.temple.edu/neuroanatomy/lab/embryo_new/spcd/1/'));
	brstMenu.add(new MenuItem('Development of the Medulla','http://isc.temple.edu/neuroanatomy/lab/embryo_new/medulla/1/'));
	brstMenu.add(new MenuItem('Development of the Cell Columns','http://isc.temple.edu/neuroanatomy/lab/embryo_new/cc/'));
	brstMenu.add(new MenuItem('Location of the Cranial Nerves','http://isc.temple.edu/neuroanatomy/lab/embryo_new/nerves/'));
	brstMenu.add(new MenuItem('Development of the Pons','http://isc.temple.edu/neuroanatomy/lab/embryo_new/pons/1/'));
	brstMenu.add(new MenuItem('Development of the Cerebellum','http://isc.temple.edu/neuroanatomy/lab/embryo_new/cerebellum/1/'));


	brstMenu.add(new MenuItem('Development of the Midbrain','http://isc.temple.edu/neuroanatomy/lab/embryo_new/midbrain/'));
	brstMenu.add(new MenuItem('Development of the Diencephalon/Telencephalon','http://isc.temple.edu/neuroanatomy/lab/embryo_new/dien/1/'));
	uiMenubar.add(brstMenu);


	
	chrMenu = new Menu('Choroid Plexus')
	chrMenu.add(new MenuItem('Development of the Choroid Plexus','http://isc.temple.edu/neuroanatomy/lab/embryo_new/choroid/'));
	uiMenubar.add(chrMenu);
	uiMenubar.useMouseOver();
	document.body.appendChild(uiMenubar);

	eyeMenu = new Menu('The Eye')
	eyeMenu.add(new MenuItem('Development of the Eye','http://isc.temple.edu/neuroanatomy/lab/embryo_new/eye/1/'));
	uiMenubar.add(eyeMenu);
	uiMenubar.useMouseOver();
	document.body.appendChild(uiMenubar);


	searchMenu = new Menu('Search Page');
	searchMenu.add(new MenuItem('Search the site','http://isc.temple.edu/neuroanatomy/lab/search.htm'));
	uiMenubar.add(searchMenu);

	// setWidth method added april 2, 2002.
	uiMenubar.setWidth("1024",0);
	
	window.inited = true;
}