<html>
<head>
   <script>
   function blink() {
      var f = document.getElementById('Foo');
      setInterval(function() {
         f.style.display = (f.style.display == 'none' ? '' : 'none');
      }, 1000);
   }


</script>
</head>
<body onload="blink();">

<div id="Foo" >news</div>

</body>
</html>

hi I have the code for blinking the text but i need to change the color of the text plz help me to change my blinking text....my code is

ruchi

<div id="Foo" style='color:red;background-color:black'>news</div>