How can I create an array of images?

why won't this work?


Img = new Image()

Img[1].src = "1.jpg"
Img[2].src = "2.jpg"
Img[3].src = "3.jpg"