cómo mover / deslizar una imagen de izquierda a derecha

Quiero deslizar o mover una imagen de izquierda a derecha algo como en

http://rajeevkumarsingh.wix.com/pramtechnology

La caja pentagonal leída que se mueve bien!

Lo intenté un poco, pero no lo hice, así que utilicé los códigos que se indican a continuación.

<script type="text/javascript">

<!--
var imgObj = null;
var animate ;
function init(){
   imgObj = document.getElementById('myImage');
   imgObj.style.position= 'absolute'; 
   imgObj.style.top = '240px';
   imgObj.style.left = '-300px';
   imgObj.style.visibility='hidden';
   moveRight();
} 
function moveRight(){
if (parseInt(imgObj.style.left)<=10)
{
   imgObj.style.left = parseInt(imgObj.style.left) + 5 + 'px';
   imgObj.style.visibility='visible';
   animate = setTimeout(moveRight,20); // call moveRight in 20msec
   //stopanimate = setTimeout(moveRight,20);
  }
else
  stop();
  f();
}

function stop(){
   clearTimeout(animate);
}
window.onload =init;
//-->
</script>
<img id="myImage" src="xyz.gif" style="margin-left:170px;" />

Hay algún tipo de problema de resolución con Firefox e IE también. Cómo resolverlos. Tampoco soy capaz de mover las cosas tan claramente. ¿Es esto posible o no? Quiero que sea con javascript y no flash.

Respuestas a la pregunta(3)

Su respuesta a la pregunta