/*
 * Javascript Constants
 * Written by Andrew Masri
 * Copyright 2009. All rights reserved 
 */

/////////////////// Settings for the Cascading Main Menu ///////////////////////
	
	//you can change these parameters in order to modify the look and feel of the cascading menu - these values should correcpond to the stylesheet
	var collapseToPaths = true;		//if this is 'true' then (after a period of inactivity) the menu you will collapse to a path for the current page  

	var syncTimerInterval = 40; 	//affects the smoothness and speed of menu transitions (small values => smoother and faster)
	var inactivityDelay = 1500; 	//period of inactivity after which the menu returns to it's default state (in miliSeconds)
	var collapseToPathsDelay = 1000;	//additional period of inactivity after which the menu collapses to default path state (in miliSeconds)

	var fontSizeDefault = 18;		//pixels
	var fontSizeMax = 24;			//pixels
	var fontSizeIncrement = 1;		//pixels

	var lineHeightDefault = 30;		//pixels
	var lineHeightMax = 36;			//pixels
	var lineHeightIncrement = 1;	//pixels

	var letterSpacingDefault = 2;	//pixels
	var letterSpacingMax = 4;		//pixels
	var letterSpacingIncrement = 1;	//pixels

	var opacityMin = 0	;			//0.0-1.0
	var opacityMax = 1;				//0.0-1.0
	var opacityIncrement = 0.1;		//0.1-1.0
	var opacityDecrement = 1;		//0.1-1.0
	
	
/////////////////// Settings for Background Image Slide Show ///////////////////////	
	
var bgImageOption = '';	//the background image will be scaled to fit the browser window height
//var bgImageWidthNarrow = '100%';	//the width setting for images that are not widescreen	
var aspectRatioThreshold = 1.6;		//the aspect ratio beyond which images are treated as widescreen




