How to add hyperlink in this code? : This is a code to show blinking text on webpages. I want to add a hyperlink to the blinking text. How to do that?

    <script type="text/javascript">
    function blinker()
    {
        if(document.getElementById("blink"))
        {
            var d = document.getElementById("blink") ;
            d.style.color= (d.style.color=='red'?'white':'red');
            setTimeout('blinker()', 500);
        }
    }
    </script>

    <body onload="blinker();">
    <div id="blink">GOOGLE</div>
    </body>


I want to add www.google.com to that GOOGLE . When a user  click on that GOOGLE, google.com should open. How to add a hperlink to the above code? Thanks in advance.