I have an array of pictures...
pic0,pic1,pic2,pic3

I want to change the the position of each pic using a loop.

for(i=0;i<(picarray.length/2);i++){
document.all."pic"+i.style.top=10}

Wont work, although when pic0,pic1 etc is written in it works fine.