function attente() {
	setTimeout("invisible()",5000);
}

function invisible() {
	document.getElementById("d1").style.visibility="hidden";
}

/*
var i = 1,timer;
timer = setInterval('blink()', 1000);
}*/
function blink() {
 if (i<1000) {
        if (i%2 == 0) {
              document.getElementById('esplocation').style.backgroundColor = '#FF797C';
         } else {
              document.getElementById('esplocation').style.backgroundColor = '#000000';
         }
 } else {
      document.getElementById('esplocation').style.backgroundColor = '#000000';
      clearInterval(timer);
  }
 i++;
}

