whats wrong with the following script..it is supposed to move 50px in every 2 seconds but there is an error!!
please tell me more on "setInterval"..thanks

<html>
<head>
<script>
a=setInterval('Moveit()',2000);
function moveit()
{
text1.style.posLeft=text1.style.posLeft+50;

}
</script>
</head>


<body onload="moveit()">
<input type=text style="position:absolute" name=text1 id=text1>

</body>

</html>