function captureKeyEvents(e) { var intIsAltKey = 0; if (!e) e = window.event; if (e.which && e.which == 18) intIsAltKey = true; if (e.altKey) intIsAltKey = 18; if(intIsAltKey == 0 || e.keyCode == 18) return true; aLocations = new Array(); aLocations[67] = 'location.htm'; aLocations[68] = 'location2.htm'; aLocations[69] = 'location3.htm'; aLocations[70] = 'location4.htm'; aLocations[71] = 'location5.htm'; aLocations[72] = 'location6.htm'; aLocations[73] = 'location7.htm'; aLocations[74] = 'location8.htm'; aLocations[75] = 'location9.htm'; intLocation = intIsAltKey + e.keyCode; if (aLocations[intLocation]) location.href = aLocations[intLocation]; } document.onkeyup = captureKeyEvents;