

menunum=0;menus=new Array();_d=document;function addmenu(){menunum++;menus[menunum]=menu;}function dumpmenus(){mt="<script language=javascript>";for(a=1;a<menus.length;a++){mt+=" menu"+a+"=menus["+a+"];"}mt+="<\/script>";_d.write(mt)}


////////////////////////////////////
// Editable properties START here //
////////////////////////////////////

if(navigator.appVersion.indexOf("MSIE 6.0")>0)
{
	effect = "Fade(duration=0.2);Alpha(style=0,opacity=93)"
}
else
{
	effect = "Fade(duration=0.2);Alpha(style=0,opacity=93)"
}

timegap=100				// The time delay for menus to remain visible
followspeed=5			// Follow Scrolling speed
followrate=40			// Follow Scrolling Rate
suboffset_top=10;		// Sub menu offset Top position 
suboffset_left=10;		// Sub menu offset Left position

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.
"000000",				// Mouse Off Font Color
"aaaaaa",				// Mouse Off Background Color
"FFFFFF",				// Mouse On Font Color
"330099",				// Mouse On Background Color
"000000",				// Menu Border Color 
12,					// Font Size in pixels
"normal",				// Font Style (italic or normal)
"bold",					// Font Weight (bold or normal)
"verdana",		// Font Name
3,						// Menu Item Padding
,			// Sub Menu Image (Leave this blank if not needed)
,						// 3D Border & Separator bar
"FFFF00",				// 3D High Color
"FF0000",				// 3D Low Color
,				// Current Page Item Font Color (leave this blank to disable)
,					// Current Page Item Background Color (leave this blank to disable)
,			// Top Bar image (Leave this blank to disable)
"ffffff",				// Menu Header Font Color (Leave blank if headers are not needed)
"000099",				// Menu Header Background Color (Leave blank if headers are not needed)
]



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
89,					// Menu Top - The Top position of the menu in pixels
20,				// Menu Left - The Left position of the menu in pixels
,					// Menu Width - Menus width in pixels
,					// Menu Border Width 
"center",					// Screen Position - here you can use "center;left;right;middle;top;bottom" or a combination of "left"
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
effect,				// 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)
,					// Reserved for future use
,					// Reserved for future use
,					// Reserved for future use
,"&nbsp;&nbsp;Home&nbsp;&nbsp;","http://www.faculty.virginia.edu/cogage/index.shtml",,"home",1 // "Description Text", "URL", "Alternate URL", "Status", "Separator Bar"
,"&nbsp;&nbsp;Participate!&nbsp;&nbsp;","http://www.faculty.virginia.edu/cogage/noparticipate.shtml",,"",1
,"&nbsp;&nbsp;Directions&nbsp;&nbsp;","http://www.faculty.virginia.edu/cogage/directions.shtml",,"",1
,"&nbsp;&nbsp;Lab Members&nbsp;&nbsp;","show-menu=members",,"",1
,"&nbsp;&nbsp;Publications&nbsp;&nbsp;","http://www.faculty.virginia.edu/cogage/publications.shtml",,"",1
// ,"&nbsp;&nbsp;Programs and Tests&nbsp;&nbsp;","show-menu=programs",,"",1
,"&nbsp;&nbsp;Newsletters&nbsp;&nbsp;","show-menu=newsletters",,"",1
,"&nbsp;&nbsp;Links&nbsp;&nbsp;","http://www.faculty.virginia.edu/cogage/links.shtml",,"",1
])

addmenu(menu=["members",
,,300,1,"",style1,,"",effect,,,,,,,,,,,,
,"Timothy Salthouse, director","http://www.faculty.virginia.edu/cogage/members/salthouse.shtml",,,0
,"Megan Viar, Lab Coordinator","http://www.faculty.virginia.edu/cogage/members/viar.shtml",,,0
,"Brittany Whitt, Lab Coordinator","http://www.faculty.virginia.edu/cogage/members/whitt.shtml",,,0
,"Melissa Bailey, Research Assistant","http://www.faculty.virginia.edu/cogage/members/melissabailey.shtml",,,0
,"Amanda Beahm, Research Assistant","http://www.faculty.virginia.edu/cogage/members/amandabeahm.shtml",,,0
,"Charley Beall, Research Assistant","http://www.faculty.virginia.edu/cogage/members/charleybeall.shtml",,,0
,"Stephanie Boutiscaris, Research Assistant","http://www.faculty.virginia.edu/cogage/members/stephanieboutiscaris.shtml",,,0
,"Mckenzie Furber, Research Assistant","http://www.faculty.virginia.edu/cogage/members/mckenziefurber.shtml",,,0
,"Katie Gambale, Research Assistant","http://www.faculty.virginia.edu/cogage/members/katiegambale.shtml",,,0
,"Theresa Gentile, Research Assistant","http://www.faculty.virginia.edu/cogage/members/theresagentile.shtml",,,0
,"Sara Gleeson, Research Assistant","http://www.faculty.virginia.edu/cogage/members/saragleeson.shtml",,,0
,"Nikki Godine, Research Assistant","http://www.faculty.virginia.edu/cogage/members/nikkigodine.shtml",,,0
,"Chris Grannan, Research Assistant","http://www.faculty.virginia.edu/cogage/members/chrisgrannan.shtml",,,0
,"Meagan Graydon, Research Assistant","http://www.faculty.virginia.edu/cogage/members/meagangraydon.shtml",,,0
,"Katt Henry, Research Assistant","http://www.faculty.virginia.edu/cogage/members/katthenry.shtml",,,0
,"Megan Johnson, Research Assistant","http://www.faculty.virginia.edu/cogage/members/meganjohnson.shtml",,,0
,"Jeff McKenzie, Research Assistant","http://www.faculty.virginia.edu/cogage/members/jeffmckenzie.shtml",,,0
,"Alison Nagel, Research Assistant","http://www.faculty.virginia.edu/cogage/members/alisonnagel.shtml",,,0
,"Robbie Oberholzer, Research Assistant","http://www.faculty.virginia.edu/cogage/members/robbieoberholzer.shtml",,,0
,"Sara Schmidt, Research Assistant","http://www.faculty.virginia.edu/cogage/members/saraschmidt.shtml",,,0
,"Kelly Shaffer, Research Assistant","http://www.faculty.virginia.edu/cogage/members/kellyshaffer.shtml",,,0
,"David Talmage, Research Assistant","http://www.faculty.virginia.edu/cogage/members/davidtalmage.shtml",,,0
,"Alex Werntz, Research Assistant","http://www.faculty.virginia.edu/cogage/members/alexwerntz.shtml",,,0
])
		
addmenu(menu=["newsletters",
,,210,1,"",style1,,"",effect,,,,,,,,,,,,
,"2009","http://www.faculty.virginia.edu/cogage/newsletter/newsletter2009.pdf",,,0
,"2007","http://www.faculty.virginia.edu/cogage/newsletter/newsletter2007.pdf",,,0
,"2006","http://www.faculty.virginia.edu/cogage/newsletter/newsletter2006.pdf",,,0
,"2005","http://www.faculty.virginia.edu/cogage/newsletter/newsletter2005.pdf",,,0
])

// addmenu(menu=["programs",
// ,,160,1,"",style1,,"",effect,,,,,,,,,,,,
// ,"Digit Symbol","http://www.faculty.virginia.edu/cogage/programs/digit.shtml",,,0
// ,"Working Memory","http://www.faculty.virginia.edu/cogage/programs/working.shtml",,,0
// ,"Pattern Comparison","http://www.faculty.virginia.edu/cogage/programs/pattern.shtml",,,0
// ,"Letter Comparison","http://www.faculty.virginia.edu/cogage/programs/letter.shtml",,,0
// ,"Connections Test","http://www.faculty.virginia.edu/cogage/programs/connections.shtml",,,0
// ])
dumpmenus()