TreeParams = { 

	OPEN_MULTIPLE_MENUS	: false,
	
	TIME_DELAY          : 10,
	OPEN_WHILE_CLOSING	: true,

	OPEN_INSTANTLY		: false,
	
	CLOSED_OVER_MENU_ICON : "/img/but1.jpg",
	OPEN_MENU_ICON        : "../cambsaa/img/menuicon-open.gif",
	OPEN_OVER_MENU_ICON   : "../cambsaa/img/menuicon-open-over.gif",
	
	
	ICON_TYPE_INDIVIDUAL  : true,
	// if ICON_TYPE_INDIVIDUAL is false, then you can ignore these.
	IMG_EXT	: {
		OVER		: "h",
		DOWN		: "h",
		DOWN_OVER	: "h"
	}
};


//-----PERSISTENCE USER PARAMS--------------
/**
 * LISTENER_SCRIPT_SRC is the supporting file for browsers that 
 * support neither addEventListener nor attachEvent.
 * Change LISTENER_SCRIPT_SRC to point to global.js on YOUR server.
 */
var LISTENER_SCRIPT_SRC  =  "/res/js/global.js";


/**
 * PERSISTENCE_MILLIS - int 
 * How long to save the tree state between visits.
 */
var MS_PER_DAY  =  1000 * 60 * 60 * 24;
var PERSISTENCE_MILLIS  =  1 * MS_PER_DAY; // 1 day

//-----END PERSISTENCE USER PARAMS--------------



// this function fires onload.
fireOnload( function() {
	// Change the parameter "nav" to match the id of your tree.
		saveTreeOnUnload("nav");
		restoreTreeState("nav", null);
});
