/*
	Title		: HM_Styles.js
	Description	: DTML menu global style definition
	Author		: Steve Ford and:
				  Copyright (c) 2001 Peter Belesis. All Rights Reserved.
				  Originally published and documented at http://www.dhtmlab.com/
				  You may use this code on a public Web site only if this entire
				  copyright notice appears unchanged and you publicly display
				  a link to http://www.dhtmlab.com/.
	Updated		: 21/4/01
*/
	
// See if we're in a sub-directory...
count = 0;
pos = location.pathname.indexOf("/");
while (pos != -1) {
	count++;
	pos = location.pathname.indexOf("/", pos + 1);
}
if (count > 1) {
	// We ARE in a subdirectory, so the path to the sub-menu indicator images needs '../' prefix:
	HM_PG_ImageSrc = "../images/sub_right.gif";
	HM_PG_ImageSrcLeft = "../images/sub_left.gif";
} else {
	// We're in the root, so images path is directly below:
	HM_PG_ImageSrc = "images/sub_right.gif";
	HM_PG_ImageSrcLeft = "images/sub_left.gif";
}

// Set other menu style constants:
HM_PG_MenuWidth = 180;
HM_PG_FontFamily = "MS Sans Serif, Tahoma, sans-serif";
HM_PG_FontSize = 10;
HM_PG_FontBold = 0;
HM_PG_FontItalic = 0;
HM_PG_FontColor = "#000000";
HM_PG_FontColorOver = "#000000";
HM_PG_BGColor = "#C6C9D0";
HM_PG_BGColorOver = "#FFFFFF";
HM_PG_ItemPadding = 1;

HM_PG_BorderWidth = 1;
HM_PG_BorderColor = "#666666";
HM_PG_BorderStyle = "solid";
HM_PG_SeparatorSize = 1;
HM_PG_SeparatorColor = "#C6C9D0";

HM_PG_ImageSize = 10;
HM_PG_ImageHorizSpace = 0;
HM_PG_ImageVertSpace = 2;

HM_PG_KeepHilite = true; 
HM_PG_ClickStart = 0;
HM_PG_ClickKill = false;
HM_PG_ChildOverlap = 10;
HM_PG_ChildOffset = 10;
HM_PG_ChildPerCentOver = null;
HM_PG_TopSecondsVisible = .3;
HM_PG_StatusDisplayBuild = 0;
HM_PG_StatusDisplayLink = 0;
HM_PG_UponDisplay = null;
HM_PG_UponHide = null;
HM_PG_RightToLeft = false;

HM_PG_CreateTopOnly = 1;
HM_PG_ShowLinkCursor = 1;
HM_PG_NSFontOver = true;


//////////////////////////////////////////////////////////

