function checkKey(el, index) {
	// CHECK FOR SPACBAR HIT TO OPEN SUBMENU
	// ENTER KEY GOES TO LINK
if (event.keyCode==32) {
		HM_CurrentMenu.itemElement = document.getElementById(HM_ItemIDPrefix + "2_" + index);
		HM_CurrentMenu.itemElement.onmouseover();
	}
	else if (event.keyCode==13)
		el.click();
}

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;


// ADD ARRARYS FOR MENUS
HM_Array2 = [
[134,       // menu width
"-1",        // x_left_position
241,        // y_top_position 254
"#ffffff",  // font_color
"#ffffff",  // mouseover_font_color
"#3E4F95",  // background_color
"#68A144",  // mouseover_background_color
"#EFEFEF",  // border_color
"#ffffff",  // separator_color
1,          // top_is_permanent
0,          // top_is_horizontal
0,          // tree_is_horizontal
1,          // position_under
1,          // top_more_images_visible
1,          // tree_more_images_visible
"null",     // evaluate_upon_tree_show
"null",		// evaluate_upon_tree_hide
,			// right-to-left
0],			// display_on_click
// TOP LEVEL ITEMS
["<div title='Use TAB to go between links.  When you come across an image with an alt tag that says SUBMENU press the SPACE BAR to go to the menu.' ID='fp1' align='right' tabindex=50 onkeypress='checkKey(this, 1)'><label for='fp1' accesskey='m'>Welcome</label></div>","http://www.peterjaysharprc.org",1,0,0],
["<div align='right' tabindex=150 onkeypress='checkKey(this, 4)'>Contact</div>","contact.html",1,0,1],
["<div align='right' tabindex=160 onkeypress='checkKey(this, 5)'>En Espa&ntilde;ol</div>","en_espanol.html",1,0,0],
["<div align='right' tabindex=150 onkeypress='checkKey(this, 9)'>Photos</div>","photos.html",1,0,1],
["<div align='right' tabindex=160 onkeypress='checkKey(this, 10)'>Programs</div>","",1,0,1],
["<div align='right' tabindex=170 onkeypress='checkKey(this, 11)'>Regattas</div>","",1,0,1]
]
// SUBMENU FOR 6
HM_Array2_5 = [
[],
["<div tabindex=70 onkeypress='checkKey(this, 3)'>Urban Rowing Initative</div>","urban01.html",1,0,0]
]
// SUBMENU FOR 7
HM_Array2_6 = [
[],
["<div tabindex=60 onkeypress='checkKey(this, 1)'>NYRA Regattas</div>","http://www.nyrowing.org/nyra/regatta.html",1,0,1],
["<div tabindex=60 onkeypress='checkKey(this, 2)'>Schedule</div>","regatta_schedule.html",1,0,0],
["<div tabindex=70 onkeypress='checkKey(this, 3)'>Results</div>","results_archive.html",1,0,0]
]

HM_PG_MenuWidth 		= 162;
HM_PG_FontFamily 		= "Arial, Helvetica, sans-serif";
HM_PG_FontSize 			= 9;
HM_PG_FontBold 			= 0;
HM_PG_FontItalic 		= 0;
HM_PG_FontColor 		= "#ffffff";
HM_PG_FontColorOver 	= "#ffffff";
HM_PG_BGColor 			= "#F0EDDB";
HM_PG_BGColorOver 		= "#2D5C38";
HM_PG_ItemPadding 		= 4;

HM_PG_BorderWidth 		= 1;
HM_PG_BorderColor 		= "#EFEFEF";
HM_PG_BorderStyle 		= "solid";
HM_PG_SeparatorSize 	= 1;
HM_PG_SeparatorColor	= "#5C6956";
HM_PG_ImageSrc 			= "images/arrow.gif";
HM_PG_ImageSrcOver  	= "images/arrow.gif";
HM_PG_ImageSrcLeft 		= "images/arrow.gif";
HM_PG_ImageSize 		= 5;
HM_PG_ImageHorizSpace 	= 0;
HM_PG_ImageVertSpace 	= 3;
HM_PG_KeepHilite 		= true; 
HM_PG_ClickStart 		= 0;
HM_PG_ClickKill 		= false;
HM_PG_ChildOverlap 		= -3;
HM_PG_ChildOffset 		= 0;
HM_PG_ChildPerCentOver 	= null;
HM_PG_TopSecondsVisible = .1;
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;