  document.onkeydown=keyHit;

    if(document.layers)
      {
	document.captureEvents(Event.KEYDOWN);
	leftArrow=28;
	rightArrow=29;
	bigLeftArrow=44;
	bigRightArrow=46;
	iValue=105;

      }else
	{
	  var leftArrow=37;
	  var rightArrow=39;
	  var bigLeftArrow=188;
	  var bigRightArrow=190;
	  var iValue=73;
	}

      
    function keyHit(evt)
      {

	if(evt)
	  {
	    keyEvent = evt.which;
	  } 
	else
	  {
	    keyEvent = window.event.keyCode;
	  }


	if(keyEvent==leftArrow)
	  {
	    if(document.links.prevPage != null)
		{
		  window.location=document.links.prevPage;
		}else if(document.all.prevPage !=null) 
		{
		  window.location=document.all.prevPage;
	  	}
	   } 
	else if(keyEvent==rightArrow)
	  {
	     if(document.links.nextPage != null)
		{
		  window.location=document.links.nextPage;
		}else if(document.all.nextPage !=null) 
		{
		  window.location=document.all.nextPage;
	  	}
	  } 
	else if(keyEvent==iValue)
	  {
	     if(document.links.indexFile != null)
		{
		  window.location=document.links.indexFile;
		}else if(document.all.indexFile !=null) 
		{
		  window.location=document.all.indexFile;
	  	}
	  } 
	else if(keyEvent==bigLeftArrow)
	  {
	     if(document.links.prevSection != null)
		{
		  window.location=document.links.prevSection;
		}else if(document.all.prevSection !=null) 
		{
		  window.location=document.all.prevSection;
	  	}
	  } 
	else if(keyEvent==bigRightArrow)
	  {
	     if(document.links.nextSection != null)
		{
		  window.location=document.links.nextSection;
		}else if(document.all.nextSection !=null) 
		{
		  window.location=document.all.nextSection;
	  	}
	  }
	
      }

