/*
Criado em 12/07/2007
Autores: José Moreli Neto
         Julio Cezar Chrystopher Quirino
Desabilitar o F5 de atualização que causa muitos acessos
*/

function checkKeyCode(e)
{
  if( !e ) {
    if( window.event ) {
      e = window.event;
    } else {
	  e = null;
      return;
    }
  }
  if( typeof( e.keyCode ) == 'number' ) {
    //DOM
    e = e.keyCode;
  } else if( typeof( e.which ) == 'number' ) {
    //NS 4 compatible
    e = e.which;
  } else if( typeof( e.charCode ) == 'number' ) {
    //also NS 6+, Mozilla 0.9+
    e = e.charCode;
  } else {
    //total failure, we have no way of obtaining the key code
    return;
  }
	if ( e == "116" )
	{
	    if( window.event ) {
			window.event.keyCode=0;
		} else {
			e.keyCode=0;
		}
		return false;
	}
}

document.onkeydown=checkKeyCode;
