var col='White';
setInterval('colore()',1000)
function colore()
 {
  document.getElementById('blinky').style.color=col;
  if (col=='White') col='Red';
  else if (col=='Red') col='White';
 }
