/*
Copyright XVII 2003 - 2005
www.xvii.co.uk

MenuSystem: Configuration
	This file is responsible for:
		- All changeable settings
		- Menu array
*/

function Settings()
	{
	/*Direction - this property defines which direction the slide will happen. Below
	set the direction to the number corresponding to where the menu is placed on the
	website. I.e. if your menu is on the right, you need direction setting number 2.*/
	//Direction: Top (0), Left (1), Right (2) 
	this.Direction = 1;
	
	/*SlideInSpeed - this property defines how fast the slide 'in' will go. Set this to a number
	specified in milliseconds. Each tick will increment by 'Increment Amount' see below.*/
	this.SlideInSpeed = 5;
	
	/*SlideOutSpeed - same as above, but sliding 'out'*/
	this.SlideOutSpeed = this.SlideInSpeed;
	
	/*IncrementAmount - this property defines how much will slide at once (specified in 
	pixels), per 'tick', the tick speed is set using the SlideIn/OutSpeed property, see above.*/
	this.IncrementAmount = 5;
	
	/*NavigationItemWidth - set this property to the full width of your navigation items.
	specified in pixels.*/
	//TODO:: store such a property with the item itself, since each item /could/ have its own width
	this.NavigationItemWidth = 120; 
	
	/*StartX - The amount of indentation, in pixels, for the javascript root parent navigation items.
	If you are calling these items from categories already specified in HTML then you will want the
	children of the categories to appear 'next' to the categories.*/
	this.StartX = 106;
	
	/*Navigation class - set the class for the navigation items.*/
	this.NavigationItemClass = "ChildItemUnlit";
	}
	
function MenuArray()
	{

	this.Navigation = new Array();

	this.Navigation[0] = new Array(8, 2, 0, "<img src=\"Images/Navigation/SlideOut_HomeCare_LiveInCare.png\" id=\"im_8\" alt=\"\">", "", "", "", "", 33, "Site/HomeCare/LiveInCare/");
	this.Navigation[1] = new Array(1, 2, 0, "<img src=\"Images/Navigation/SlideOut_HomeCare_EnquiryForm.png\" id=\"im_1\" alt=\"\">", "", "", "", "", "25", "Site/HomeCare/Contact/");
	this.Navigation[2] = new Array(2, 2, 0, "<img src=\"Images/Navigation/SlideOut_HomeCare_CSCI.png\" id=\"im_2\" alt=\"\">", "", "", "", "", "25", "Site/HomeCare/CSCI/");
	this.Navigation[3] = new Array(3, 2, 0, "<img src=\"Images/Navigation/SlideOut_HomeCare_FAQ.png\" id=\"im_3\" alt=\"\">", "", "", "", "", "33", "Site/FAQ/?CategoryID=8");
	this.Navigation[4] = new Array(4, 3, 0, "<img src=\"Images/Navigation/SlideOut_WorkingForUs_EnquiryForm.png\" id=\"im_4\" alt=\"\">", "", "", "", "", "33", "Site/WorkingForUs/Contact/");
	this.Navigation[5] = new Array(5, 3, 0, "<img src=\"Images/Navigation/SlideOut_WorkingForUs_FAQ.png\" id=\"im_5\" alt=\"\">", "", "", "", "", "33", "Site/FAQ/?CategoryID=10");
	this.Navigation[6] = new Array(6, 4, 0, "<img src=\"Images/Navigation/SlideOut_FAQ_HomeCare.png\" id=\"im_6\" alt=\"\">", "", "", "", "", "33", "Site/FAQ/?CategoryID=8");
	this.Navigation[7] = new Array(7, 4, 0, "<img src=\"Images/Navigation/SlideOut_FAQ_WorkingForUs.png\" id=\"im_7\" alt=\"\">", "", "", "", "", "33", "Site/FAQ/?CategoryID=10");
	
	//this.Navigation[1] = new Array(2, 1, 0, "Link 2");
	}

//--Create New Static Instances--//
var SettingsInstance = new Settings();
var MenuArrayInstance = new MenuArray();
