How to put a JavaScript timer in a box?
<p>I have this JavaScript code:</p>

<pre><code>&lt;script type="text/javascript"&gt;
                function timeMsg() {
                var t=setTimeout("doRedirect()",10000);
                }
                function doRedirect() {
                window.location.replace( "http://www.codemeh.com/" );
                }
                timeMsg();
              &lt;/script&gt;
</code></pre>

<p>But I want to show how much time is left in a box that floats at the top right, and with my l;ittle knowledge of JavaScript i have no idea where to start :(</p>

<p>Can someone help me?</p>
