// Create the reusable browser definitions

     NS4 = (document.layers); // or later
     IE4 = (document.all);	  // or later
    ver4 = (NS4 || IE4);      // or later
     IE5 = (IE4 && navigator.appVersion.indexOf("5.")!=-1);
   isMac = (navigator.appVersion.indexOf("Mac") != -1);
    IE45 = (IE4 && isMac && navigator.appVersion.indexOf("4.5")!=-1);
  isMenu = ver4;

//*---------------------------------------------------
// hides specified tag in IE
//--------------------------------------------------*/
function HideIE(HTMLtag)
	{
	for (i = 0; i < document.all.tags(HTMLtag).length; i++)
		{
		obj = document.all.tags(HTMLtag)[i];
		obj.style.visibility = "hidden";
		}
	}
  
//*---------------------------------------------------
// shows specified tag in IE
//--------------------------------------------------*/
function ShowIE(HTMLtag)
	{
	for (i = 0; i < document.all.tags(HTMLtag).length; i++)
		{
		obj = document.all.tags(HTMLtag)[i];
		obj.style.visibility = "visible";
		}
	}

//*---------------------------------------------------
// hides specified tag in NS
//--------------------------------------------------*/
function HideNS(LayerName)
	{
	document.layers[LayerName].visibility="hide";
	}
  
//*---------------------------------------------------
// shows specified tag in NS
//--------------------------------------------------*/
function ShowNS(LayerName)
	{
	document.layers[LayerName].visibility="show";
	}

  
// The function used to hide form feilds when the menus are used so they don't show through.
  
function ShowFormFeild(ShouldBeVisible)
	{
//	if (IE4)
// 		{
//		if (ShouldBeVisible)
//			{
//			ShowIE("Input");
//			ShowIE("Select");
//			ShowIE("Textarea");
//			ShowIE("Applet");
//			}
//		else
//			{
//			HideIE("Input");
//			HideIE("Select");
//			HideIE("Textarea");
//			HideIE("Applet");
//			}
//		}
//	else if (document.layers["HIDING_WRAPPER"])
//		{
//		if (ShouldBeVisible)
//			{
//			ShowNS("HIDING_WRAPPER");
//			}
//		else
//			{
//			HideNS("HIDING_WRAPPER");
//			}
//		}
	}

// This information is default, and many parts of it are overridden
// in the HM_Menu_Definitions.js file.  It is there that changes to look and feel
// should be dealt with first.

HM_PG_MenuWidth = 150;
HM_PG_FontFamily = "Arial,sans-serif";
HM_PG_FontSize = NS4 ? (isMac ? 10 : 9) : 8;
HM_PG_FontBold = 1;
HM_PG_FontItalic = 0;
HM_PG_FontColor = "blue";
HM_PG_FontColorOver = "white";
HM_PG_BGColor = "#DDDDDD";
HM_PG_BGColorOver = "#FFCCCC";
HM_PG_ItemPadding = 3;

HM_PG_BorderWidth = 2;
HM_PG_BorderColor = "black";
HM_PG_BorderStyle = "solid";
HM_PG_SeparatorSize = 2;
HM_PG_SeparatorColor = "#d0ff00";
HM_PG_ImageSrc = "/Common/JS/Menu/tri.gif";
HM_PG_ImageSrcLeft = "/Common/JS/Menu/triL.gif";

HM_PG_ImageSize = 5;
HM_PG_ImageHorizSpace = 0;
HM_PG_ImageVertSpace = 2;

HM_PG_KeepHilite = true; 
HM_PG_ClickStart = 0;
HM_PG_ClickKill = false;
HM_PG_ChildOverlap = 60;
HM_PG_ChildOffset = 10;
HM_PG_ChildPerCentOver = null;
HM_PG_TopSecondsVisible = .5;
HM_PG_StatusDisplayBuild = 0;
HM_PG_StatusDisplayLink = 1;
HM_PG_UponDisplay = null;
HM_PG_UponHide = null;
HM_PG_RightToLeft = false;

//HM_PG_CreateTopOnly = 1;
HM_PG_ShowLinkCursor = 1;

//HM_a_TreesToBuild = [1,2];

