/***********************************************************************************
*	(c) Ger Versluis 2000 version 5.411 24 December 2001 (updated Jan 31st, 2003 by Dynamic Drive for Opera7)
*	For info write to menus@burmees.nl		          *
*	You may remove all comments for faster loading	          *		
***********************************************************************************/

	var NoOffFirstLineMenus=7;			// Number of first level items
	var LowBgColor='#e0e0e0';			// Background color when mouse is not over
	var LowSubBgColor='#e0e0e0';			// Background color when mouse is not over on subs
	var HighBgColor='#67847e';			// Background color when mouse is over
	var HighSubBgColor='#67847e';			// Background color when mouse is over on subs
	var FontLowColor='#414469';			// Font color when mouse is not over
	var FontSubLowColor='#414469';			// Font color subs when mouse is not over
	var FontHighColor='white';			// Font color when mouse is over
	var FontSubHighColor='white';			// Font color subs when mouse is over
	var BorderColor='#414469';			// Border color
	var BorderSubColor='#414469';			// Border color for subs
	var BorderWidth=1;				// Border width
	var BorderBtwnElmnts=1;			// Border between elements 1 or 0
	var FontFamily="Century Gothic, Arial, sans-serif"	// Font family menu items
	var FontSize=10;				// Font size menu items
	var FontBold=1;				// Bold menu items 1 or 0
	var FontItalic=0;				// Italic menu items 1 or 0
	var MenuTextCentered='center';			// Item text position 'left', 'center' or 'right'
	var MenuCentered='left';			// Menu horizontal position 'left', 'center' or 'right'
	var MenuVerticalCentered='top';		// Menu vertical position 'top', 'middle','bottom' or static
	var ChildOverlap=0.1;				// horizontal overlap child/ parent
	var ChildVerticalOverlap=0.1;			// vertical overlap child/ parent
	var StartTop=28;				// Menu offset x coordinate
	var StartLeft=1;				// Menu offset y coordinate
	var VerCorrect=0;				// Multiple frames y correction
	var HorCorrect=0;				// Multiple frames x correction
	var LeftPaddng=3;				// Left padding
	var TopPaddng=4;				// Top padding
	var FirstLineHorizontal=0;			// SET TO 1 FOR HORIZONTAL MENU, 0 FOR VERTICAL
	var MenuFramesVertical=1;			// Frames in cols or rows 1 or 0
	var DissapearDelay=1000;			// delay before menu folds in
	var TakeOverBgColor=1;			// Menu frame takes over background color subitem frame
	var FirstLineFrame='';			// Frame where first level appears
	var SecLineFrame='';			// Frame where sub levels appear
	var DocTargetFrame='';			// Frame where target documents appear	--- Ben Saylor 7/10/06: hacked the main script to give target=_top to all links
	var TargetLoc='MenuPos';				// span id for relative positioning
	var HideTop=0;				// Hide first level when loading new document 1 or 0
	var MenuWrap=1;				// enables/ disables menu wrap 1 or 0
	var RightToLeft=0;				// enables/ disables right to left unfold 1 or 0
	var UnfoldsOnClick=0;			// Level 1 unfolds onclick/ onmouseover
	var WebMasterCheck=0;			// menu tree checking on or off 1 or 0
	var ShowArrow=1;				// Uses arrow gifs when 1
	var KeepHilite=1;				// Keep selected path highligthed
	var Arrws=['tri.gif',5,10,'tridown.gif',10,5,'trileft.gif',5,10];	// Arrow source, width and height

function BeforeStart(){return}

function AfterBuild(){
/* Ben Saylor 7/12/06 - trying to fix position bug in firefox (menu is mis-positioned when there is no vertical scrollbar)*/
	setTimeout('RePos();', 500);
}

function BeforeFirstOpen(){return}
function AfterCloseAll(){return}


// Menu tree
//	MenuX = new Array(	Text to show,
//				Link,
//				background image ("" if none),
//				number of sub elements,
//				height (only for first menu or submenu item),
// 				width (only for first menu or submenu item);
//	For rollover images set "Text to show" to:  "rollover:Image1.jpg:Image2.jpg"

Menu1 = new Array("Faculty", "", "", 5, 27, 150);
	Menu1_1 = new Array("Log In", "casselweb-exp.html", "", 0, 27, 77);
	Menu1_2 = new Array("Research", "research.htm", "", 0);
	Menu1_3 = new Array("Protocol", "protocol.htm", "", 0);
	Menu1_4 = new Array("Teaching", "teaching.htm", "", 0);
	Menu1_5 = new Array("Software", "software.htm", "", 0);

Menu2 = new Array("Students", "students.htm", "", 0);
Menu3 = new Array("More Information", "", "", 6);
	Menu3_1 = new Array("Overview", "about.htm", "", 0, 27, 77);
	Menu3_2 = new Array("Research", "research.htm", "", 0);
	Menu3_3 = new Array("Software", "software.htm", "", 0);
	Menu3_4 = new Array("Lab Staff", "labstaff.htm", "", 0);
	Menu3_5 = new Array("Find Us", "findus.htm", "", 0);
	Menu3_6 = new Array("Calendar", "casselweb.html", "", 0);

Menu4 = new Array("Generous Donors", "donors.htm", "", 0);
Menu5 = new Array("Earn Cash", "subject_signup.htm", "", 0);
Menu6 = new Array("2006 Workshop", "august_conference.htm", "", 0);
Menu7 = new Array("2007 Workshop", "/workshop/default.htm", "", 0);
