<style>
#qqq{
background: url(bg_green.gif) repeat;
}
</style>
<script type="text/javascript">
var x = 1, element = document.getElementById('qqq');
setInterval(function(){
element.style.backgroundPosition = x++ + 'px 50%';
if(x > 1000) x = 1;
}, 16)
</script>
<div id="qqq">11
</div>
Не работает