// ENLEVE LE FOCUS SUR LES LIENS
function blurLinks(){
	lnks = document.getElementsByTagName('a');
	for (i = 0; i < lnks.length; i++){
		lnks[i].onfocus = new Function("if(this.blur) this.blur()");
	}
	lnks2 = document.getElementsByTagName('area');
	for (j = 0; j < lnks2.length; j++){
		lnks2[j].onfocus = new Function("if(this.blur) this.blur()");
	}
}

// LANCE UNE FONCTION AU CHARGEMENT DE LA PAGE
function addOnloadEvent(fnc){
  if ( typeof window.addEventListener != "undefined" )
    window.addEventListener( "load", fnc, false );
  else if ( typeof window.attachEvent != "undefined" ) {
    window.attachEvent( "onload", fnc );
  }
  else {
    if ( window.onload != null ) {
      var oldOnload = window.onload;
      window.onload = function ( e ) {
        oldOnload( e );
        window[fnc]();
      };
    }
    else
      window.onload = fnc;
  }
}