Array question

How can i define the source of an array?
say i have an array of pictures like:



pictures = new Array("dogs.jpg", "cats.jpg", "birds.jpg");


and lets say they are in a different directory, like www.animals.com/random/pics

?