How to move an image with javascript
===

I'm having trouble getting this image to move to the right can anyone help ive just started scripting and I am finding it very confusing.

    <html>
    <head>
    </head>
    <body style="margin:0px;">
    <img id="tank" style="position:absolute;"src="tank.png"/>
    <script type="text/javascript">
    var change = document.getElementById('tank').style.left = '0';

    while(change < 200)
    {
    change++;
    }
    </script>
    </body>
    </html>