// (c) Ger Versluis 2000 version 5.00, 23 October 2003
//  You may use this script on non commercial sites
//  www.burmees.nl/menu/


	// Globals effecting all menus
	var PopNoOffMenus=1;
	var BaseHref="http://nutrition.rutgers.edu/njog/";

	var PopMenuSlide="";
	
	var PopMenuShadow="";
	
	var PopMenuOpacity="";

	function P_BeforeStart(){return}
	function P_AfterBuild(){return}
	function P_BeforeFirstOpen(){return}
	function P_AfterCloseAll(){return}

	// Globals effecting one menu
	// Notation of PopMenu1 is different from PopMenu2. The result is the same. PopMenu1 is more understandable. PopMenu2 loads faster.


///////////////////////////////////LEFT MENU BEGIN//////////////////////////
PopMenu1=new Array(		// global variables for PopMenu1
	7,			// number of main items
	0,			// Left position
	0,			// Top position
	"#FFFFFF",			// Normal font color
	"#000000",		// Normal back color
	"#FFFFFF",			// High font color
	"#FFFFFF",			// High back color
	"#999999",			// Border color
	"verdana",	// Fontfamily
	0,			// Bold
	0,			// Italic
	9,			// Font size
	1,			// First line horizontal
	1,			// First line permanent visible
	1,			// Border width
	"left",			// Text align "left", "center" or "right"
	0,			// Horizontal overlap
	0,			// Vertical overlap
	100,			// Delay
	0,			// Right to left unfold
	"navlocation",			// Target div - RelativeToLayer 
	1,			// Border between elements
	"left",			// Menu horizontal centered "left", "center" or "right"
	"top",			// Menu vertical centered "top", "center" or "bottom"
	BaseHref+"/common/images/dotclear.gif",		// Arrow right - for netscape must have value or will show broken image 
	1,			// Arrow Width
	1,			// Arrow Height
	BaseHref+"/common/images/dotclear.gif",	// Arrow down - for netscape must have value or will show broken image 
	1,			// Arrow Width
	1,			// Arrow Height
	BaseHref+"/common/images/dotclear.gif",	// Arrow left - for netscape must have value or will show broken image 
	1,			// Arrow Width
	1,			// Arrow Height
	2,			// Top padding
	2,			// Left padding
	0);			// Unfold On Click

//	Menu Items:
//	MenuX=new Array(ItemText, Link, background image, number of sub elements, height, width,bgcolor,bghighcolor,
//	fontcolor,fonthighcolor,bordercolor,fontfamily,fontsize,fontbold,fontitalic,textalign,statustext);
// 	Fontsize, fontbold and fontitalic are ignored when set to -1.
//	For rollover images ItemText format is:  "rollover?Image1.jpg?Image2.jpg"

//	Notation of PopMenu1_1 is different from PopMenu1_1_1. The result is the same. PopMenu1_1 is more understandable. PopMenu1_1_1 loads faster.

	//HOME
	PopMenu1_1=new Array(
		"rollover?"+BaseHref+"images/home.gif?"+BaseHref+"images/home-over.gif" ,	// ElementText 1
		BaseHref,		// ElementLink 2
		"",		// ElementBgImage 3
		1,		// ElementNoOfSubElements 4
		20,		// ElementHeight 5
		82,		// ElementWidth 6
		"#000000",		// ElementBgColor 7
		"#000000",		// ElementBgHighColor 8
		"#FFFFFF",		// ElementFontColor 9 
		"#FFFFFF",		// ElementFontHighColor 10
		"#999999",		// ElementBorderColor 11
		"",		// ElementFontFamily 12 
		-1,		// ElementFontSize 13
		-1,		// ElementBold 14
		-1,		// ElementItalic 15 
		"center",		// ElementTextAlign 16
		"");		// ElementStatusText 17
	PopMenu1_1_1=new Array("NJOG Home Page",BaseHref,"","",18,160,"#E9EBC6","#000000","#000000","","","",-1,-1,-1,"","");

	// ABOUT US
	PopMenu1_2=new Array("rollover?"+BaseHref+"images/about.gif?"+BaseHref+"images/about-over.gif",BaseHref+"about.html","",6,20,103,"#000000","#000000","#FFFFFF","#999999","#000000","",-1,-1,-1,"center","");	
		PopMenu1_2_1=new Array("Background",BaseHref+"background.html","","",18,200,"#E9EBC6","#000000","#000000","","","",-1,-1,-1,"","");
		PopMenu1_2_2=new Array("Accomplishments",BaseHref+"accomplishments.html","","","","","#E9EBC6","#000000","#000000","","","",-1,-1,-1,"","");	
		PopMenu1_2_3=new Array("External Advisory Committee",BaseHref+"advisory-committee.html","","","","","#E9EBC6","#000000","#000000","","","",-1,-1,-1,"","");	
		PopMenu1_2_4=new Array("Faculty",BaseHref+"faculty.html","","","","","#E9EBC6","#000000","#000000","","","",-1,-1,-1,"","");	
		PopMenu1_2_5=new Array("Interest Groups",BaseHref+"interest-groups.html","","","","","#E9EBC6","#000000","#000000","","","",-1,-1,-1,"","");	
		PopMenu1_2_6=new Array("Nutritional Science Dept.","http://nutrition.rutgers.edu","","","","","#E9EBC6","#000000","#000000","","","",-1,-1,-1,"","");	
		
	// SERVICES
	PopMenu1_3=new Array("rollover?"+BaseHref+"images/services.gif?"+BaseHref+"images/services-over.gif",BaseHref+"services.html","",3,20,100,"#000000","#000000","#FFFFFF","#999999","#000000","",-1,-1,-1,"center","");	
		PopMenu1_3_1=new Array("Administrative Core",BaseHref+"admin-core.html","","",18,250,"#E9EBC6","#000000","#000000","","","",-1,-1,-1,"","");
		PopMenu1_3_2=new Array("Clinical/Outreach Core",BaseHref+"outreach-core.html","","","","","#E9EBC6","#000000","#000000","","","",-1,-1,-1,"","");
		PopMenu1_3_3=new Array("Metabolism/Adipose Tissue Core",BaseHref+"metab-core.html","","","","","#E9EBC6","#000000","#000000","","","",-1,-1,-1,"","");	
		
	// FEASIBILITY GRANTS
	PopMenu1_4=new Array("rollover?"+BaseHref+"images/feasibility.gif?"+BaseHref+"images/feasibility-over.gif",BaseHref+"feasibility.html","",1,20,158,"#000000","#000000","#FFFFFF","#999999","#000000","",-1,-1,-1,"center","");
		PopMenu1_4_1=new Array("Feasibility Grants",BaseHref+"feasibility.html","","",18,190,"#E9EBC6","#000000","#000000","","","",-1,-1,-1,"","");

	// SYMPOSIA		
	PopMenu1_5=new Array("rollover?"+BaseHref+"images/symposia.gif?"+BaseHref+"images/symposia-over.gif",BaseHref+"symposia.html","",2,20,104,"#000000","#000000","#FFFFFF","#999999","#000000","",-1,-1,-1,"center","");	
		PopMenu1_5_1=new Array("Current Symposia",BaseHref+"symposia.html","","",18,150,"#E9EBC6","#000000","#000000","","","",-1,-1,-1,"","");
		PopMenu1_5_2=new Array("Archive",BaseHref+"archive.html","","",18,"","#E9EBC6","#000000","#000000","","","",-1,-1,-1,"","");
		
	// LINKS		
	PopMenu1_6=new Array("rollover?"+BaseHref+"images/links.gif?"+BaseHref+"images/links-over.gif",BaseHref+"links.html","",1,20,79,"#000000","#000000","#FFFFFF","#999999","#000000","",-1,-1,-1,"center","");	
		PopMenu1_6_1=new Array("Links",BaseHref+"links.html","","",18,100,"#E9EBC6","#000000","#000000","","","",-1,-1,-1,"","");

		
	// CONTACT US	
	PopMenu1_7=new Array("rollover?"+BaseHref+"images/contact.gif?"+BaseHref+"images/contact-over.gif",BaseHref+"contact.html","",1,20,116,"#000000","#000000","#FFFFFF","#999999","#000000","",-1,-1,-1,"center","");	
		PopMenu1_7_1=new Array("Contact NJOG",BaseHref+"contact.html","","",18,180,"#E9EBC6","#000000","#000000","","","",-1,-1,-1,"","");
