/***********************************************************************************************************************/
/*												SnapMenu Version 1.1												   */
/*											  © 2005 Snap Technologies												   */
/*											   written by: Doug Clegg 												   */
/***********************************************************************************************************************/


/******************************************************  VARIABLES ******************************************************/

// set the type of nav used either top of side (top left)
var strMenuStyleUsed = "top";

/********************** Begin Second Level Variables **********************/ 

// second level rollover variables
var strBackgroundValue = "backgroundImage"; // set either to "backgroundImage" or "backgroundColor" for bg of nav items
var strBGRegular = "url('/images/dd_bg.gif')";		// MUST BE SAME AS "strBGColor" or "strBGImage" (either image or color)
var strBGOver = "url('/images/dd_bg_over.gif')";		// the over image or color for the nav item
var strColorOver = "#dddddd";				// nav color over (hexadecimal value)

//menu variables for second level
var strBorderWidth = 1;				// border width for nav (in pixels)
var strBorderStyle = "solid";		// style of border (none dotted dashed solid double groove ridge inset outset)
var strBorderColor = "#444444";		// color of border (hexadecimal value)
var strOffsetTop = 1;				// move navigation table vertically (in pixels)
var strOffsetLeft = -1;				// move navigation table horizontally (in pixels)
var strWidth = 146;					// width of navigation (in pixels)

//cell variables for second level
var strPadding = 1;					// amount of padding fo nav item (in pixels)
var strPaddingLeft = 10;				// padding from left side of nav table (in pixels)
var strMarginTop = 0;				// spacing between nav items (in pixels)
var strMarginLeft = 0;				// use for line to 3rd level if offeset to right of 2nd level (in pixels)
var strBGColor = "#7D2032";			// background color (hexadecimal value)
var strBGImage = "url('/images/dd_bg.gif')";	// background image (url("URL") none)
var strBGPosition = "top left";		// position of background image(top left  top center  top right  center left  center center  center right  bottom left  bottom center  bottom right  x-% y-%  x-pos y-pos)
var strBGRepeat = "repeat";			// repeat of background image(repeat repeat-x repeat-y no-repeat)


//text variables for second level
var strFontColor = "#dddddd";		// color of link (hexadecimal value)
var strFontFamily = "arial";		// font of nav link
var strFontWeight = "normal";		// weight of link (normal bold bolder lighter 100 200 300 400 500 600 700 800 900)
var strFontSize = "11px";			// font size
var strFontStyle = "normal";		// style of link (normal italic oblique)
var strFontVariant = "normal";		// sets character type (normal small-caps)
var strLineHeight = "16px";			// size of line height
var strTextAlign = "left";			// alignment of link (left right center justify)
var strTextDecoration = "none";		// decoration of text (none underline overline line-through blink)
var strTextTransform = "none";		// change the case of the text (none capitalize uppercase lowercase)


/********************** Begin Third Level Variables **********************/ 

// third level rollover variables
var strSubBackgroundValue = "backgroundColor";	// set either to "backgroundImage" or "backgroundColor" for bg of nav items
var strSubBGRegular = "#ebebdc";				// MUST BE SAME AS "strSubBGColor" or "strSubBGImage" (either image or color)
var strSubBGOver = "#873643";					// the over image or color for the nav item
var strSubColorOver = "#cccccc";				// nav color over (hexadecimal value)

//menu variables for third level
var strSubBorderWidth = 1;				// border width for nav (in pixels)
var strSubBorderStyle = "solid";		// style of border (none dotted dashed solid double groove ridge inset outset)
var strSubBorderColor = "#8F8E93";		// color of border (hexadecimal value)
var strSubOffsetTop = -1;				// move navigation table vertically (in pixels)
var strSubOffsetLeft = -1;				// move navigation table horizontally (in pixels)
var strSubWidth = 146;					// width of navigation (in pixels)

//cell variables for third level
var strSubPadding = 1;					// amount of padding fo nav item (in pixels)
var strSubPaddingLeft = 5;				// padding from left side of nav table (in pixels)
var strSubMarginTop = 0;				// spacing between nav items (in pixels)
var strSubMarginLeft = 0;				// use for line to 3rd level if offeset to right of 2nd level (in pixels)
var strSubBGColor = "#ebebdc";			// background color (hexadecimal value)
var strSubBGImage = "none";				// background image (url("URL") none)
var strSubBGPosition = "top left";		// position of background image(top left  top center  top right  center left  center center  center right  bottom left  bottom center  bottom right  x-% y-%  x-pos y-pos)
var strSubBGRepeat = "no-repeat";		// repeat of background image(repeat repeat-x repeat-y no-repeat)

//text variables for third level
var strSubFontColor = "#681728";		// color of link (hexadecimal value)
var strSubFontFamily = "Arial";			// font of nav link
var strSubFontWeight = "normal";		// weight of link (normal bold bolder lighter 100 200 300 400 500 600 700 800 900)
var strSubFontSize = "12px";			// font size
var strSubFontStyle = "normal";			// style of link (normal italic oblique)
var strSubFontVariant = "normal";		// sets character type (normal small-caps)
var strSubLineHeight = "16px";			// size of line height
var strSubTextAlign = "left";			// alignment of link (left right center justify)
var strSubTextDecoration = "none";		// decoration of text (none underline overline line-through blink)
var strSubTextTransform = "none";		// change the case of the text (none capitalize uppercase lowercase)





/**************************************************** DO NOT EDIT BELOW ***********************************************/
var strNNImageAlign;

if (strMenuStyleUsed == "top") {
	strNNImageAlign = "left";
} else if (strMenuStyleUsed == "left"){
	strNNImageAlign = "right";
}

if (!document.layers) {

var theRules = new Array();

if (document.styleSheets[0].cssRules) {
	theRules = document.styleSheets[0].cssRules;
} else if (document.styleSheets[0].rules) {
	theRules = document.styleSheets[0].rules;
}

//set values for second level menu style
theRules[3].style.borderWidth = strBorderWidth + "px";
theRules[3].style.borderStyle = strBorderStyle;
theRules[3].style.borderColor = strBorderColor;
theRules[3].style.borderTopWidth = "0px";
theRules[0].style.borderTopWidth = strBorderWidth + "px";
theRules[0].style.borderTopStyle = strBorderStyle;
theRules[0].style.borderTopColor = strBorderColor;
theRules[0].style.marginTop = strOffsetTop + "px";
theRules[0].style.marginLeft = strOffsetLeft + "px";
theRules[0].style.width = strWidth + "px";

//set values for second level cell style
theRules[3].style.padding = strPadding + "px";
theRules[3].style.paddingLeft = strPaddingLeft + "px";
theRules[3].style.marginTop = strMarginTop + "px";
theRules[3].style.marginLeft = strSubMarginLeft + "px";
theRules[3].style.backgroundColor = strBGColor;
theRules[3].style.backgroundImage = strBGImage;
theRules[3].style.backgroundPosition = strBGPosition;
theRules[3].style.backgroundRepeat = strBGRepeat;

//set values for second level text style
theRules[3].style.color = strFontColor;
theRules[3].style.fontFamily = strFontFamily;
theRules[3].style.fontWeight = strFontWeight;
theRules[3].style.fontSize = strFontSize;
theRules[3].style.fontStyle = strFontStyle;
theRules[3].style.fontVariant = strFontVariant;
theRules[3].style.lineHeight = strLineHeight;
theRules[3].style.textAlign = strTextAlign;
theRules[3].style.textDecoration = strTextDecoration;
theRules[3].style.textTransform = strTextTransform;


//set values for third level menu style
theRules[6].style.borderTopWidth = strSubBorderWidth + "px";
theRules[6].style.borderTopStyle = strSubBorderStyle;
theRules[6].style.borderTopColor = strSubBorderColor;
theRules[5].style.borderWidth = strSubBorderWidth + "px";
theRules[5].style.borderStyle = strSubBorderStyle;
theRules[5].style.borderColor = strSubBorderColor;
theRules[5].style.borderTopWidth = "0px";
theRules[4].style.marginTop = strSubOffsetTop + "px";
theRules[4].style.marginLeft = strSubOffsetLeft + "px";
theRules[4].style.width = strSubWidth + "px";
//theRules[2].style.left = strWidth + "px";

//set values for third level cell style
theRules[5].style.padding = strSubPadding + "px";
theRules[5].style.paddingLeft = strSubPaddingLeft + "px";
theRules[5].style.marginTop = strSubMarginTop + "px";
theRules[5].style.marginLeft = strSubMarginLeft + "px";
theRules[5].style.backgroundColor = strSubBGColor;
theRules[5].style.backgroundImage = strSubBGImage;
theRules[5].style.backgroundPosition = strSubBGPosition;
theRules[5].style.backgroundRepeat = strSubBGRepeat;

//set values for third level text style
theRules[5].style.color = strSubFontColor;
theRules[5].style.fontFamily = strSubFontFamily;
theRules[5].style.fontWeight = strSubFontWeight;
theRules[5].style.fontSize = strSubFontSize;
theRules[5].style.fontStyle = strSubFontStyle;
theRules[5].style.fontVariant = strSubFontVariant;
theRules[5].style.lineHeight = strSubLineHeight;
theRules[5].style.textAlign = strSubTextAlign;
theRules[5].style.textDecoration = strSubTextDecoration;
theRules[5].style.textTransform = strSubTextTransform;

}