// Image flipper....
var rand1 = 0;
var useRand = 0;
images1 = new Array;
images1[1] = new Image(217,75);
images1[1].src = "quotes/quote1.jpg";
images1[2] = new Image(217,75);
images1[2].src = "quotes/quote2.jpg";
images1[3] = new Image(217,75);
images1[3].src = "quotes/quote3.jpg";
images1[4] = new Image(217,75);
images1[4].src = "quotes/quote4.jpg";
images1[5] = new Image(217,75);
images1[5].src = "quotes/quote5.jpg";
images1[6] = new Image(217,75);
images1[6].src = "quotes/quote6.jpg";
function swapPic1() {
var imgnum = images1.length - 1;
do {
var randnum = Math.random();
rand1 = Math.round((imgnum - 1) * randnum) + 1;
} while (rand1 == useRand);
useRand = rand1;
document.randimg1.src = images1[useRand].src;
}

var rand2 = 0;
var useRand1 = 0;
images2 = new Array;
images2[1] = new Image(217,95);
images2[1].src = "RandImg/random2.jpg";
images2[2] = new Image(217,95);
images2[2].src = "RandImg/random3.jpg";
images2[3] = new Image(217,95);
images2[3].src = "RandImg/random4.jpg";
images2[4] = new Image(217,95);
images2[4].src = "RandImg/random5.jpg";


function swapPic2() {
var imgnum = images2.length - 1;
do {
var randnum = Math.random();
rand2 = Math.round((imgnum - 1) * randnum) + 1;
} while (rand2 == useRand1);
useRand1 = rand2;
document.randimg2.src = images2[useRand1].src;
}