div is moving very slowly
<p>I am trying to move a div (avatar).</p>

<p>I get final position by clicking on page, so i run the move function,</p>

<pre><code>var avi =  document.getElementById('avi_div');

move(start_left, start_top, end_left, end_top,avi)


function move(a,b,c,d,e) { 
    if ((a != c) || (b != d) ) {

        (c &gt; a) ? a++ : a--;
        (d &gt; b) ? b++ : b--;

        e.style.left = a  +'px';
        e.style.top = b  +'px';

        setTimeout(function(){ move(a,b,c,d,e)}, 1);
    }
}
</code></pre>

<p>well, it works, but although the timer is set to 1, it moves just good in Chrome, but very slowly in Firefox and extremely slow in IE </p>
