/*
	*	File:		ecms_config.js
	*	Name:		Expandable/Collapsible Menu System
	*	Date:		2001-10-06

	*	Author:		Ben Boyle
	*	Email:		bboyle@inspire.server101.com

	*	Platform:	all javascript browsers

	Configuration file for dynamic expandable/collapsible menu.
	Remove the // from comments and adjust properties to suit.

	see instructions online:
	http://inspire.server101.com/scripts/ecms/


	Functions to control menu from HTML:
		ECMS_expand_all()		(expand entire menu)
		ECMS_collapse_all()		(collapse entire menu)
		ECMS_expand('name')		(expand named menu folder)
		ECMS_collapse('name')	(collapse named menu folder)
	note: to expand/collapse a named subfolder, its parent must be expanded

	CSS display configuration classes (class names can be customised):
		.bullet		(a menu link that does not contain child items)
		.collapsed	(a menu parent that is closed)
		.expanded	(a menu parent that is open)

	CSS platform dependant styles:
		IE 4/5, N6	(DIV.stylename)
		Netscape 4x	(LAYER.stylename)
		default		(LI.stylename)

	CSS examples:
		DIV.bullet { font-weight: normal; }
		DIV.collapsed { font-weight: bold; }
		DIV.expanded { font-weight: bold; }
		LAYER.bullet { font-weight: normal; }
		LAYER.collapsed { font-weight: bold; }
		LAYER.expanded { font-weight: bold; }
		LI.bullet { font-weight: normal; list-style-type: disc; list-style-image: url(bullet.gif); }
		LI.expanded { font-weight: bold; list-style-type: circle; list-style-image: url(expanded.gif); margin-bottom: 0px; margin-left: 15px; margin-top: 0px; }

*/

/*
	menu classes
	- bullet (menu item)
	- collapsed (collapsed menu item which expands when clicked)
	- expanded (expanded menu item which collapses with clicked)
*/
ECMS_class_bullet = 'bullet';
ECMS_class_collapsed = 'collapsed';
ECMS_class_expanded = 'expanded';

/*
	menu images (not used by default system)
	- bullet (menu item)
	- collapsed (collapsed menu item which expands when clicked)
	- expanded (expanded menu item which collapses with clicked)
*/
ECMS_image_bullet.src = 'bullet.gif';
ECMS_image_collapsed.src = 'collapsed.gif';
ECMS_image_expanded.src = 'expanded.gif';

/*
	menu images ALT text (not used by default system)
	- bullet (menu item)
	- collapsed (collapsed menu item which expands when clicked)
	- expanded (expanded menu item which collapses with clicked)
*/
ECMS_image_bullet.alt = '';
ECMS_image_collapsed.alt = 'menu (show)';
ECMS_image_expanded.alt = 'menu (hide)';

/*
	indent menu items (pixel measurement from left margin)
*/
ECMS_menu_indent = 15;

/*
	height of fully expanded menu for netscape 4 (pixel measurement)
	this is to ensure enough space reserved for the menu
*/
//ECMS_menu_height = 125;

/*
	display link titles in status bar
	- if no title available, will use the name parameter
*/
ECMS_status_display = true;

/*
	repeat links on image/text
	- adds expand link on menus without their own links
	- adds link on bullet points
*/
ECMS_repeat_links = true;

/*
	collapse all other open menu branches when expanding a new branch
	values:	'menu' (collapse only within this menu)
			'all' (collapse all other menus as well)
*/
ECMS_collapse_on_expand = true;

/*
	automatically expand when the mouse is over a menu element
	delay time is in milliseconds (1000ms is 1 second)
	only works for menu folders which have a url specified
*/
ECMS_auto_expand = false;
ECMS_auto_expand_delay = 750;


/*
BUILD THE MENU
ECMS_add_item(level, name, url, target, expanded, title);
	- level:		level of the item (0 is a top level menu choice, 1 under that, 2 under that)
	- name:			text displayed for the item (HTML markup allowed)
	- url:			link for this item
	- target:		target frame for link
	- expanded:		true/false (initial expanded?  false is default)
	- title:		title for link (often appears as a tooltip on the link)
*/

// Research Proposal Menu
ECMS_add_item(0, 'Research Proposal');
	ECMS_add_item(1, 'Extended Abstract', 'research_abstract.html','mainwindow');
	ECMS_add_item(1, 'Background', 'research_background.html','mainwindow');
	ECMS_add_item(1, 'Challenge Statement', 'research_challenge.html','mainwindow');
	ECMS_add_item(1, 'Objective', 'research_objective.html','mainwindow');
	ECMS_add_item(1, 'Hypothesis', 'research_hypothesis.html','mainwindow');
	ECMS_add_item(1, 'Experiment', 'research_experiment.html','mainwindow');
	ECMS_add_item(1, 'References', 'research_references.html','mainwindow');

// Literature Reviews Menu
ECMS_add_item(0, 'Literature Reviews');
	ECMS_add_item(1, 'Automation');
		ECMS_add_item(2, 'Adaptive Automation', 'article_kaber.html','mainwindow');
		ECMS_add_item(2, 'Multiple Resource Theory', 'article_attention.html','mainwindow');
	ECMS_add_item(1, 'Icons');
		ECMS_add_item(2, 'Screen Design', 'article_tullis.html','mainwindow');
	ECMS_add_item(1, 'Earcons');
		ECMS_add_item(2, 'Auditory Display', 'article_blattner.html','mainwindow');
		ECMS_add_item(2, 'Design Principles', 'article_blattner_etal.html','mainwindow');
		ECMS_add_item(2, 'Multimodal GUI', 'article_murray.html','mainwindow');
		ECMS_add_item(2, 'Nonspeech Sounds', 'article_brewster.html','mainwindow');
		ECMS_add_item(2, 'Guidelines', 'article_brewster_etal.html','mainwindow');

// Experimental Design Menu
ECMS_add_item(0, 'Experimental Design');
	ECMS_add_item(1, 'Study Plan', 'experiment_plan.html','mainwindow');
	ECMS_add_item(1, 'Instructions', 'experiment_instructions.html','mainwindow');
	ECMS_add_item(1, 'Sagat Queries', 'experiment_sagat.html','mainwindow');

// Meeting Notes
ECMS_add_item(0, 'Meeting Notes');
	ECMS_add_item(1, 'April');
		ECMS_add_item(2, '04/20[1]', 'notes042001am.html','mainwindow');
		ECMS_add_item(2, '04/20[2]', 'notes042001pm.html','mainwindow');
	ECMS_add_item(1, 'June');
		ECMS_add_item(2, '06/04', 'notes060401.html','mainwindow');
		ECMS_add_item(2, '06/11', 'notes061101.html','mainwindow');
		ECMS_add_item(2, '06/18', 'notes061801.html','mainwindow');


// Telerover Simulation
ECMS_add_item(0, 'Telerover Simulation');
	ECMS_add_item(1, 'First Look', 'sim_firstlook.html','mainwindow');
	ECMS_add_item(1, 'Installation', 'sim_installation.html','mainwindow');
	ECMS_add_item(1, 'Using Simulation', 'sim_using.html','mainwindow');
	ECMS_add_item(1, 'Icons', 'sim_icon.html','mainwindow');
	ECMS_add_item(1, 'Earcons', 'sim_earcon.html','mainwindow');		
	ECMS_add_item(1, 'Videos', 'sim_video.html','mainwindow');
	ECMS_add_item(1, 'Images', 'sim_gallery.html','mainwindow');

// Results and Plan
ECMS_add_item(0, 'Results and Plan');
	ECMS_add_item(1, '2001 Productivity Report', 'productivity.html','mainwindow');
	ECMS_add_item(1, 'Presentation', 'sp1.html','mainwindow');
	ECMS_add_item(1, 'Follow-on White Paper', '','mainwindow');
		ECMS_add_item(2, 'Objective', 'white_objective.html','mainwindow');	
		ECMS_add_item(2, 'Phase I', 'white_phase1.html','mainwindow');	
		ECMS_add_item(2, 'Phase II', 'white_phase2.html','mainwindow');	
		ECMS_add_item(2, 'Phase III', 'white_phase3.html','mainwindow');	
		ECMS_add_item(2, 'Direction', 'white_direction.html','mainwindow');	
		ECMS_add_item(2, 'Significance', 'white_significance.html','mainwindow');	
		ECMS_add_item(2, 'References', 'white_references.html','mainwindow');	
	ECMS_add_item(1, 'Project Technical Report', 'KABER_TR_2001.pdf', 'mainwindow');

// Research Team
ECMS_add_item(0, 'Research Team');
	ECMS_add_item(1, 'Dr.David Kaber', 'kaber.html','mainwindow');
	ECMS_add_item(1, 'Laura Hughes', 'laura.html','mainwindow');
	ECMS_add_item(1, 'Mohamed Sheik Nainar', 'mohamed.html','mainwindow');
	ECMS_add_item(1, 'Heather Warren', 'heather.html','mainwindow');
	ECMS_add_item(1, 'Melanie Wright', 'melanie.html','mainwindow');

// Photo Gallery
ECMS_add_item(0, 'Photo Gallery');
	ECMS_add_item(1, 'Group Photos','onrteam.html','mainwindow');
	ECMS_add_item(1, 'Team in Action','team.html','mainwindow');

ECMS_end_menu();


