/***********************************************************************************
*	(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=6;			// Number of first level items
	var LowBgColor='black';			// Background color when mouse is not over
	var LowSubBgColor='#A4001D';			// Background color when mouse is not over on subs
	var HighBgColor='black';			// Background color when mouse is over
	var HighSubBgColor='#7c7c7c';			// Background color when mouse is over on subs
	var FontLowColor='white';			// Font color when mouse is not over
	var FontSubLowColor='white';			// Font color subs when mouse is not over
	var FontHighColor='#7c7c7c';			// Font color when mouse is over
	var FontSubHighColor='white';			// Font color subs when mouse is over
	var BorderColor='black';			// Border color
	var BorderSubColor='black';			// Border color for subs
	var BorderWidth=0;				// Border width
	var BorderBtwnElmnts=0;			// Border between elements 1 or 0
	var FontFamily="Verdana, Arial, Helvetica, sans-serif"	// Font family menu items
	var FontSize=8;				// Font size menu items
	var FontBold=1;				// Bold menu items 1 or 0
	var FontItalic=0;				// Italic menu items 1 or 0
	var MenuTextCentered='left';			// Item text position 'left', 'center' or 'right'
	var MenuCentered='';			// Menu horizontal position 'left', 'center' or 'right'
	//var MenuCentered='center';			// Menu horizontal position 'left', 'center' or 'right'
	var MenuVerticalCentered='top';		// Menu vertical position 'top', 'middle','bottom' or static
	var ChildOverlap=.09;				// horizontal overlap child/ parent
	var ChildVerticalOverlap=.5;			// vertical overlap child/ parent
	var StartTop=0;				// Menu offset x coordinate
	var StartLeft=0;				// Menu offset y coordinate
	var VerCorrect=0;				// Multiple frames y correction
	var HorCorrect=0;				// Multiple frames x correction
	var LeftPaddng=18;				// Left padding
	var TopPaddng=2;				// Top padding
	var FirstLineHorizontal=1;			// 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='self';			// Frame where first level appears
	var SecLineFrame='self';			// Frame where sub levels appear
	var DocTargetFrame='self';			// Frame where target documents appear
	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=0;				// 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(){RePos();return}
//function AfterBuild(){return}
function BeforeFirstOpen(){return}
function AfterCloseAll(){return}


// Menu tree
//	MenuX=new Array(Text to show, Link, background image (optional), number of sub elements, height, width);
//	For rollover images set "Text to show" to:  "rollover:Image1.jpg:Image2.jpg"

Menu1=new Array("Office of the Senior AVP for R&DE","","",12,31,166);
	Menu1_1=new Array("Welcome Letter","welcome.htm","",0,20,200);
	Menu1_2=new Array("Our Purpose","purpose.htm","",0,20,200);
	Menu1_3=new Array("Organizational Structure","structure.htm","",0,20,200);
	Menu1_4=new Array("Finance & Administration","finance.htm","",0,20,200);
	Menu1_5=new Array("Human Resources","humanres.htm","",0,20,200);
	Menu1_6=new Array("Information Technology","infotech.htm","",0,20,200);
	Menu1_7=new Array("Budget & Compliance","compliance.htm","",0,20,200);
	Menu1_8=new Array("Core Values","values.htm","",0,20,200);
	Menu1_9=new Array("Principles","principles.htm","",0,20,200);
	Menu1_10=new Array("Fact Sheet","facts.htm","",0,20,200);
	Menu1_11=new Array("Major Events Calendar","events.htm","",0,20,200);
	Menu1_12=new Array("Customer Service Maps","map.htm","",0,20,200);

Menu2=new Array("Student Housing","http://studenthousing.stanford.edu/","sh_dot.gif",4,31,95);
	Menu2_1=new Array("Graduate Housing","http://www.stanford.edu/dept/rde/shs/grad/grad_latest.htm","",0,20,190);
	Menu2_2=new Array("Undergraduate Housing","http://www.stanford.edu/dept/rde/shs/ugrad/ugrad_latest.htm","",0,20,200);
	Menu2_3=new Array("Affiliate Housing","http://www.stanford.edu/dept/rde/chs/","",0,20,200);
	Menu2_4=new Array("Calendar","http://www.stanford.edu/dept/rde/shs/calendar/grad_cal_09.htm","",0,20,200);

Menu3=new Array("Stanford Dining","http://www.stanford.edu/dept/rde/dining/index.htm","sd_dot.gif",2,31,99);
	Menu3_1=new Array("Manage Your Account","http://www.stanford.edu/dept/rde/dining/myaccount.htm","",0,20,180);
	Menu3_2=new Array("Meal Plan Options","http://www.stanford.edu/dept/rde/dining/meal_plans.htm","",0);
	
Menu4=new Array("Stanford Hospitality     & Auxiliaries","http://shaa.stanford.edu","aux_dot.gif",6,31,169);
	Menu4_1=new Array("Retail Cafes","http://shaa.stanford.edu/retail_all.htm","",0,20,182);
	Menu4_2=new Array("The Market at Munger","http://shaa.stanford.edu/market.htm","",0,20,172);
	Menu4_3=new Array("Stanford Catering","http://shaa.stanford.edu/stan_cat.htm","",0,20,172);
	Menu4_4=new Array("Stanford Guest House","http://www.stanford.edu/dept/rde/guesthouse","",0,20,172);
	Menu4_5=new Array("R&DE Cardinal Mall","http://cardinalmall.stanford.edu","",0,20,172);
	Menu4_6=new Array("Athletic Concessions","http://shaa.stanford.edu/concessions.htm","",0,20,172);

Menu5=new Array("Stanford Conferences","http://www.stanford.edu/dept/rde/scs/index.html","scs_dot.gif",5,31,123);
	Menu5_1=new Array("Hosting a Conference","http://www.stanford.edu/dept/rde/scs/conferences/index.html","",0,20,220);
	Menu5_2=new Array("Summer Youth Camps","http://www.stanford.edu/dept/rde/scs/youth/index.htm","",0,20,200);
	Menu5_3=new Array("Individual Summer Housing","http://www.stanford.edu/dept/rde/scs/individuals/index.html","",0,20,200);
	Menu5_4=new Array("Meeting Planning Services","http://www.stanford.edu/dept/rde/scs/conferences/meetingplanning/index.html","",0,20,200);
	Menu5_5=new Array("Registration Services","http://www.stanford.edu/dept/rde/scs/register.html","",0,20,200);
	
Menu6=new Array("Business Support   & Assessment","mkt_purpose.htm","mar_dot.gif",4,31,148);
	Menu6_1=new Array("Our Purpose","mkt_purpose.htm","",0,20,148);
	Menu6_2=new Array("Services","mkt_services.htm","",0,20,126);
	Menu6_3=new Array("Portfolio","mkt_portfolio.htm","",0,20,126);
	Menu6_4=new Array("Contact Us","mkt_contact.htm","",0,20,126);