﻿// All this used to be in navmenu.asp ...
function HM_f_MenuTop()
{
	return 0;
}
function HM_f_SideTop()
{
	return iHM_f_SideTop;
}

function subGrphVer( grphver )
{
	document.frmGrpxVer.grpxver.value = grphver;
	document.frmGrpxVer.submit();
}

function frmSearchSubmit()
{

  if (document.frmSearch.q.value=='')
  {
    alert('Please Enter a value to search');
    return;
  }
  with(document.frmSearch)
  {
    action = '/google/default.asp';
    submit();
  }

}


// href function for form submit 
function frmSearchGo()
{
	if(frmSearchSubmit())
	{
		document.frmSearch.submit();
	}
}
// clears default value from search input box
function clearSearch(el)
{
  if (el.defaultValue==el.value) el.value = '';
}

function DrawRollOvers()
{
}

function CV_jumpMenu(selObj,restore)
{ 
	var url = selObj.options[selObj.selectedIndex].value; 
	if (url) window.open(url); 
	if (restore) selObj.selectedIndex=0; 
} 

function SubmitSearch()
{ 
	document.frmSearch.submit();
}

//---------------------------------------------------------------------------------'
//-- Setup for HeirMenus                                                         --
//---------------------------------------------------------------------------------

if(window.event + "" == "undefined") event = null;
function HM_f_PopUp(){return false};
function HM_f_PopDown(){return false};
popUp = HM_f_PopUp;
popDown = HM_f_PopDown;


//---------------------------------------------------------------------------------
//-- Various new window functions                                                --
//---------------------------------------------------------------------------------

var newwin;

function launchwin(winurl,winname,winfeatures)
{
	newwin = window.open(winurl,winname,winfeatures);
	if(javascript_version > 1.0)
	{
 		setTimeout('newwin.focus();',250);
	}
}
function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}
function newwindow(theURL) {
  window.open(theURL,'','');
}

//---------------------------------------------------------------------------------
//-- Menu setup vars                                                             --
//---------------------------------------------------------------------------------

HM_PG_MenuWidth = 190;
HM_PG_FontFamily = "Tahoma, sans-serif";
HM_PG_FontSize = 8;
HM_PG_FontBold = 0;
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 = 1;
HM_PG_BorderColor = "black";
HM_PG_BorderStyle = "solid";
HM_PG_SeparatorSize = 1;
HM_PG_SeparatorColor = "#d0ff00";
HM_PG_ImageSrc = "/img/tri.gif";
HM_PG_ImageSrcLeft = "/img/triL.gif";

HM_PG_ImageSize = 5;
HM_PG_ImageHorizSpace = 0;
HM_PG_ImageVertSpace = 0;

HM_PG_KeepHilite = true; 
HM_PG_ClickStart = 0;
HM_PG_ClickKill = false;
HM_PG_ChildOverlap = 30;
HM_PG_ChildOffset = 5;
HM_PG_ChildPerCentOver = null;
HM_PG_TopSecondsVisible = .2;
HM_PG_ChildSecondsVisible = .2;

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;



