Hi there,

I'm using the following code:

HTML Code:
document.pic+"new_pic"+.src=pics[currentPic]
I'm hoping that it will resolve itself as the following:

HTML Code:
document.pic2.src=pics[currentPic]
Needless to say, that the variable new_pic has the number 2 stored in it, but I keep getting JavaScript errors whenever I load up the page.

I'd be REALLY grateful to anyone telling me just where I'm going wrong.

Thanks very much,