/*

This is the configuration file for the menus on the Stanford Hospital & Clinics Web Site.

As there are so menus on the site the data file that contains all the pertaining information is quite big. 
To cut down on load/creation times of the menus only the relevant data is going to be loaded. In order
for this to work we need a way to identify which data to load up on what page. The menu script finds 
the key itself by checking the current URL for different files/folders and depending on what match it 
makes it returns a specific KEY. Below is a breakdown of keys for all the different menus.

MAIN PORTAL --> "root"
ABOUT US --> "au"
DIRECTIONS & PARKING --> "dp"
NEWS & EVENTS --> "ne"
CLINICAL SERVICES --> "cs"
HEALTH LIBRARY --> "hl"
FIND A PHYSICIAN --> "fp"
FOR PATIENTS & VISITORS --> "pv"
FOR HEALTH PROFESSIONALS --> "hp"
FOR REFERRING PHYSICIANS --> "rp"
STANFORD COMPREHENSIVE CANCER CENTER --> "sccc"
HEART CENTER --> "hc"
NEUROSCIENCES --> "ns"
ORTHOPAEDICS --> "op"
TRANSPLANTATION --> "tp"

These are the menus that have been entered into the data file, there are others that have to added 
still (DONATE OR VOLUNTEER & CAREERS).

In the keys array below are defined the keys that will be need for templates send to FutureBrand NY 11/03/2005.
To add a new one simply follow this template:

keys["key_of_menu"] = ["string_to_look_for_in_the_url", "another_string_to_look_for", ...];

For example to add the key for the transplatation menu, I'm going to assume that the Transplantation portal is going
to be at the following location /Clinical_Services/Transplantation. You can have any number of string patterns to match
but in this case I'm only going to use the one.

keys["tp"] = ["/Clinical_Services/Transplantation"];

*/

var top_config = [
	// CLASS NAME
	"stanford_TOP",
	// ORIENTATION: horizontal or vertical
	"horizontal",
	// WIDTH
	768, //585, 768, 766
	// [CELLPADDING, CELLSPACING, BORDER]
	[0,0,0]//,
	// TIME DELAY [MOUSEOFF EVENT, MOUSEON EVENT]
	//[250, 50]	
];

var keys = new Array();
// Left Nav
keys["root"] = [];
keys["pv"] = [];
keys["hp"] = [];
keys["rp"] = [];

// Top Nav
keys["cs"] = [];
keys["hl"] = [];
keys["ne"] = [];
keys["dp"] = [];

// Detailed Left Navs
keys["sccc"] = [];
//keys["hc"] = [];
keys["hc"] = ["/heartCenter/"];
keys["ns"] = [];
keys["op"] = [];
keys["tp"] = [];

/*
var keys = new Array();
keys["root"] = [];
keys["pv"] = ["/patients/", "geriatric.html", "geriatric2.html"];
keys["hp"] = ["/hprofessionals/"];
keys["rp"] = ["rphysicians/"];
keys["hc"] = ["heart.html"];
keys["cs"] = ["az.html", "clinicalservices.html", "az2.html", "clinicalservices2.html"];
keys["hl"] = ["healthlibrary.html", "healthlibrary2.html"];
keys["ne"] = [];
keys["dp"] = [];
*/
