


menunum=0;menus=new Array();_d=document;function addmenu(){menunum++;menus[menunum]=menu;}function dumpmenus(){mt="<scr"+"ipt language=javascript>";for(a=1;a<menus.length;a++){mt+=" menu"+a+"=menus["+a+"];"}mt+="<\/scr"+"ipt>";_d.write(mt)}




effect = "Fade(duration=0.2);Alpha(style=0,opacity=88);Shadow(color='#000000', Direction=135, Strength=5)"


timegap=500			// The time delay for menus to remain visible
followspeed=5		// Follow Scrolling speed
followrate=40		// Follow Scrolling Rate
suboffset_top=0;	// Sub menu offset Top position 
suboffset_left=0;	// Sub menu offset Left position
closeOnClick = true

style1=[			// style1 is an array of properties. You can have as many property arrays as you need. This means that menus can have their own style.
"FFFFFF",				// Mouse Off Font Color
"999999",			// Mouse Off Background Color
"000000",			// Mouse On Font Color
"FFCC33",			// Mouse On Background Color
"000000",			// Menu Border Color 
9,					// Font Size in pixels
"normal",			// Font Style (italic or normal)
"normal",				// Font Weight (bold or normal)
"Verdana, Arial",	// Font Name
4,					// Menu Item Padding
"arrow.gif",		// Sub Menu Image (Leave this blank if not needed)
,					// 3D Border & Separator bar
"000000",			// 3D High Color
"000000",			// 3D Low Color
,			// Current Page Item Font Color (leave this blank to disable)
,				// Current Page Item Background Color (leave this blank to disable)
"arrowdn.gif",		// Top Bar image (Leave this blank to disable)
"ffffff",			// Menu Header Font Color (Leave blank if headers are not needed)
"000000",			// Menu Header Background Color (Leave blank if headers are not needed)
"000000",				// Menu Item Separator Color
]


addmenu(menu=[		// This is the array that contains your menu properties and details
"mainmenu",			// Menu Name - This is needed in order for the menu to be called
130,					// Menu Top - The Top position of the menu in pixels
0,					// Menu Left - The Left position of the menu in pixels
155,					// Menu Width - Menus width in pixels
1,					// Menu Border Width 
,					// Screen Position - here you can use "center;left;right;middle;top;bottom" or a combination of "center:middle"
style1,				// Properties Array - this is set higher up, as above
1,					// Always Visible - allows the menu item to be visible at all time (1=on/0=off)
"left",				// Alignment - sets the menu elements text alignment, values valid here are: left, right or center
,					// Filter - Text variable for setting transitional effects on menu activation - see above for more info
,					// Follow Scrolling - Tells the menu item to follow the user down the screen (visible at all times) (1=on/0=off)
1, 					// Horizontal Menu - Tells the menu to become horizontal instead of top to bottom style (1=on/0=off)
,					// Keep Alive - Keeps the menu visible until the user moves over another menu or clicks elsewhere on the page (1=on/0=off)
,					// Position of TOP sub image left:center:right
,					// Set the Overall Width of Horizontal Menu to 100% and height to the specified amount (Leave blank to disable)
,					// Right To Left - Used in Hebrew for example. (1=on/0=off)
,					// Open the Menus OnClick - leave blank for OnMouseover (1=on/0=off)
,					// ID of the div you want to hide on MouseOver (useful for hiding form elements)
,					// Background image for menu when BGColor set to transparent.
,					// Scrollable Menu
,					// Reserved for future use
,"HOME","http://geodyn.psu.edu/",,"Back to the Home page",1 // "Description Text", "URL", "Alternate URL", "Status", "Separator Bar"
,"RESEARCH","show-menu=research",,"",1
,"PEOPLE","http://geodyn.psu.edu/people/people.htm",,"People",1
,"LINKS","show-menu=links",,"Links to Geological Websites",1
,"COURSES","show-menu=courses",,"Course List",1
])
	
	addmenu(menu=["research",,,155,1,,style1,0,"left","randomdissolve(duration=0.3);Shadow(color='#999999', Direction=135, Strength=5)",0,,,,,,,,,,,
	,"Current Projects","http://geodyn.psu.edu/projects/current/currentprojects.html",,"Current Research Projects",1
	,"Past Projects","http://geodyn.psu.edu/projects/past/pastprojects.html",,"Past Research Projects",1
	,"Pending Projects","http://geodyn.psu.edu/projects/pending/pendingprojects.html",,"Pending Research Projects",1
		
	])
	
		
	addmenu(menu=["links",,,310,1,,style1,0,"left","randomdissolve(duration=0.3);Shadow(color='#999999', Direction=135, Strength=5)",0,,,,,,,,,,,
	,"Penn State University","http://www.psu.edu",,"The Pennsylvania State University Website",1
	,"The College of Earth and Mineral Sciences","http://www.ems.psu.edu",,"The College of Earth and Mineral Sciences Website",1
	,"Natural hazards","http://www.essc.psu.edu/hazards/",,"Natural Hazards Website",1
	,"Department of Geosciences","http://www.geosc.psu.edu/",,"The Department of Geosciences Website",1
	,"Penn State Geodynamics","http://www.geodyn.psu.edu/",,"Penn State Geodynamics Website",1
	,"The Earth System Science Center","http://www.essc.psu.edu/",,"The Earth System Science Center Website",1
	,"PSU USERS ONLY","show-menu=psuusers",,"For PSU Users",1
	,"Other Geological Sites","show-menu=geosites",,"Other Geological Sites",1
	,"Search Engines for Searching Geological Sites","show-menu=searchengines",,"",1
	
	])
	
			addmenu(menu=["psuusers",,,155,1,,style1,0,"left","randomdissolve(duration=0.3);Shadow(color='#999999', Direction=135, Strength=5)",0,,,,,,,,,,,
		,"Penn State Libraries","http://www.lias.psu.edu/",,"The Penn State Library System",1
		,"Web of Science","https://sserver4.lcs.psu.edu/scripts/authdisfa.exe?url=http://isiknowledge.com",,,1
		,"Georef","https://sserver4.lcs.psu.edu/scripts/authdisla.exe?url=http://www.lias.psu.edu/scripts/georef.cgi",,,1
		,"Geodyn Squirrel Mail","https://geodyn.psu.edu/squirrelmail/index.php",,"Squirrel Mail System",1
		
	
		])
			addmenu(menu=["geosites",,,310,1,,style1,0,"left","randomdissolve(duration=0.3);Shadow(color='#999999', Direction=135, Strength=5)",0,,,,,,,,,,,
		,"U.S. Geological Survey","http://www.usgs.gov",,"U.S. Geological Survey Website",1
		,"American Geophysical Union","http://www.agu.org",,"The American Geophysical Union Website",1
	    ,"The Geological Society of America","http://www.geosociety.org",,"The Geological Society of America Website",1
	 	,"The National Science Foundation","http://www.nsf.gov",,"The National Science Foundation Website",1
		,"Lamont-Doherty RIDGE Server","http://www.ldeo.columbia.edu",,"The Lamont-Doherty RIDGE Server",1
		,"IRIS","http://www.iris.washington.edu",,"Incorporated Research Institutions for Seismology",1
		,"NCEDC","http://www.quake.geo.berkeley.edu",,"Northern California Earthquake Data Center",1
		,"The International Union of Geodesy and Geophysics","http://www.geodyn.psu.edu/IUGG_WebPage/IUGG_prelim.html",,"The International Union of Geodesy and Geophysics",1
		,"Other Geosciences Links","http://dir.yahoo.com/Science/earth_sciences/geology_and_geophysics/",,"Yahoo Geological Links",1
	
		
		])
					addmenu(menu=["searchengines",,,155,1,,style1,0,"left","randomdissolve(duration=0.3);Shadow(color='#999999', Direction=135, Strength=5)",0,,,,,,,,,,,
		,"Yahoo","http://www.yahoo.com/",,"Yahoo",1
		,"Excite","http://www.excite.com/",,"Excite",1
		,"Altavista","http://www.altavista.com/",,"Alta Vista",1
		,"Web Crawler","http://www.webcrawler.com/",,"Web Crawler",1
	
		])
					addmenu(menu=["courses",,,155,1,,style1,0,"left","randomdissolve(duration=0.3);Shadow(color='#999999', Direction=135, Strength=5)",0,,,,,,,,,,,
		,"GEOSC 497H","http://geodyn.psu.edu/GEOSC497H/geosc497H.html",,"Living with Risk: The Natural Hazards of New Zealand",1
		,"EARTH 101","http://geodyn.psu.edu/earth101/index.html",,"Natural Disasters: Hollywood vs. Reality",1
		,"GEOSC 402","http://geodyn.psu.edu/geosc402/",,"Natural Disasters",1
		,"GEOSC 489","http://geodyn.psu.edu/GEOSC489/geosc489.html",,"The Dynamics of the Earth",1
		,"GEOSC 521","http://geodyn.psu.edu/geosc521.html",,",Thermal State of the Earth",1
		
		])
dumpmenus()