/* x8home.js */

	var FirstLineHorizontal=1; //set menu layout (1=horizontal, 0=vertical)
	var StartTop=148; //set vertical offset
	var StartLeft=200; //set horizontal offset
	var menuwidthchildren = 140; //set the width of child menus
	var placeholder=0 //creates a transparent image to reserve space for the menu in the layout where the x8menus.asp file is placed
	var MenuCentered='left';
// arrows for menus that contain children
//	var arrowRight = 'images/x8menus/x8menus_arrow_right_lt.gif'; //white arrows
//	var arrowDown = 'images/x8menus/x8menus_arrow_down_lt.gif'; //white arrows
//	var arrowRight = 'images/x8menus/x8menus_arrow_right_dk.gif'; //dark arrows
//	var arrowDown = 'images/x8menus/x8menus_arrow_down_dk.gif'; //dark arrows
	var arrowRight = 'images/x8menus/trans.gif'; //no arrows
	var arrowDown = 'images/x8menus/trans.gif'; //no arrows


// menu look and feel

	var LowBgColor='#ffffff';
	var LowSubBgColor='#f2f2f2';			// Background color when mouse is not over on subs
	var HighBgColor='#ffffff';
	var HighSubBgColor='#f2f2f2';			// Background color when mouse is over on subs

//	var FontLowColor='#000000';
//	var FontSubLowColor='#000000';
//	var FontHighColor='#696969';
//	var FontSubHighColor='#FF7300';

	var FontLowColor='#ed1500';
	var FontSubLowColor='#696969';
	var FontHighColor='#ff6501';
	var FontSubHighColor='#ff6501';

//	var BorderColor='#000000'; 
// SOMETHING IS WRONG WITH THE X82 VERSION. IT ONLY SHOWS TOP AND LEFT BORDERS!!

	var BorderColor='#ffffff'; //must = transparent to allow transparency effect when useFilterOnMain=1
	var BorderSubColor='#ff6501';  //must = transparent to allow transparency effect when useFilterOnSubs=1
	var menuheight = 18;
	var menuwidth = 140;
	var containerheight = (FirstLineHorizontal==0)?(NoOffFirstLineMenus*(menuheight+BorderWidth)):(menuheight+BorderWidth*.5);
	var containerwidth = (FirstLineHorizontal==0)?(menuwidth+(BorderWidth*1)):(NoOffFirstLineMenus*menuwidth);

	var LeftPaddng=5;
	var TopPaddng=4;	
	var FontFamily="verdana, arial, ms sans serif"
//	var FontSize=7;
	var FontSize=8;
	var FontBold=1;
	var FontItalic=0;
	var MenuTextCentered=0;
	var UnfoldsOnClick=0;			// Level 1 unfolds onclick/ onmouseover


// background image. For rollover effect, assign the rollover image to the ImageOver variable
	var useMenuBackgroundImage=0; //1 expects a background image for the menu, 0 does not.
	var menuBackgroundImage='images/gray_line.gif';
	var menuBackgroundImageOver='images/gray_line.gif';
	var useSubMenuBackgroundImage=0;
	var subMenuBackgroundImage='images/gray_line.gif';
	var subMenuBackgroundImageOver='images/gray_line.gif';

	//allows filter effects, e.g transparency is achieved with alpha (IE 5 only)
	var useFilterOnMain=0; // 0=off, 1=On This enables transparency on the top level menus only
	var mainFilter="alpha(opacity=50)"; // values from 0-100 accepted
	var useFilterOnSubs=0; // 0=off, 1=On This enables transparency on the sub menus only
	var subsFilter="alpha(opacity=85)"; // values from 0-100 accepted

   var useCSSBorders=0;
   // 0=no, 1=yes. If using CSS borders, styles below apply (NS6+/IE5+)
   var borderWidthCSS="1px";
	var borderStyle='solid';
	var borderTopColor='#ff7300';
	var borderRightColor='#ff7300';
	var borderBottomColor='#ff7300';
	var borderLeftColor='#ff7300';


// Below Was Global Settings

	var BorderWidth=1;				// Border width
	var BorderBtwnElmnts=0;			// Border between elements 1 or 0 turns border separation on or off

	var MenuTextCentered='left';			// Item text position 'left', 'center' or 'right'
	var MenuVerticalCentered='top';		// Menu vertical position 'top', 'middle' or 'bottom'
	var ChildOverlap=0;				// horizontal overlap child/ parent
	var ChildVerticalOverlap=0;			// vertical overlap child/ parent
	var VerCorrect=0;				// Multiple frames y correction
	var HorCorrect=0;				// Multiple frames x correction
	var MenuFramesVertical=1;			// Frames in cols or rows 1 or 0
	var DissapearDelay=750;			// delay before menu folds in
	var TakeOverBgColor=1;			// Menu frame takes over background color subitem frame
	var FirstLineFrame='navig';			// Frame where first level appears
	var SecLineFrame='space';			// Frame where sub levels appear
	var DocTargetFrame='space';			// Frame where target documents appear
	var TargetLoc='';				// span id for relative positioning
	var HideTop=0;				// Hide first level when loading new document 1 or 0
	var MenuWrap=0;				// enables/ disables menu wrap 1 or 0
	var RightToLeft=0;				// enables/ disables right to left unfold 1 or 0
	var WebMasterCheck=0;			// menu tree checking on or off 1 or 0

	//var wrapHeight = 1.2;
	var wrapHeight = 1.5;
	
function BeforeStart(){return}

function AfterBuild(){
	if (placeholder)
	{
		var x8menusDom =(Nav4)?document.layers.x8menusContainerImage:(DomYes)?document.getElementById("x8menusContainerImage"):document.all.x8menusContainerImage;
		x8menusDom.style.width=x8menusContainerWidth;x8menusDom.style.height=x8menusContainerHeight;
  	}
}
