OK, getting even closer and I'm definitely learning from this ... so don't give up on me ... BUT!!! Now, it will run with no errors, but the images won't change. So, I'm thinking there's something in the function itself. Here's what I have.
imgarr = new Array()
for (var x=1;x<=10;x++){...