var ranPix = new Array("imgs/photos/rand/1.jpg","imgs/photos/rand/2.jpg","imgs/photos/rand/3.jpg","imgs/photos/rand/4.jpg","imgs/photos/rand/5.jpg","imgs/photos/rand/6.jpg","imgs/photos/rand/8.jpg", "imgs/photos/rand/9.jpg","imgs/photos/rand/10.jpg","imgs/photos/rand/13.jpg","imgs/photos/rand/14.jpg","imgs/photos/rand/18.jpg","imgs/photos/rand/19.jpg","imgs/photos/rand/20.jpg","imgs/photos/rand/21.jpg","imgs/photos/rand/22.jpg","imgs/photos/rand/23.jpg","imgs/photos/rand/24.jpg","imgs/photos/rand/25.jpg");
var imgCt = ranPix.length;
var imgCt2 = 19;
function choosePic(){
	if(document.images){
		randomNum = Math.floor ((Math.random() * imgCt));
		document.promo1.src = ranPix[randomNum];
		randomNum2 = Math.floor ((Math.random() * imgCt2));
		while (randomNum2 == randomNum) { 
			randomNum2 = Math.floor ((Math.random() * imgCt2))
			}
		document.promo2.src = ranPix[randomNum2];
		
		randomNum3 = Math.floor ((Math.random() * imgCt2));
		
		while (randomNum3 == randomNum || randomNum3 == randomNum2) { 
			randomNum3 = Math.floor ((Math.random() * imgCt2))
			}
		document.promo3.src = ranPix[randomNum3];
		}
}
