
var rand1 = 0;
var useRand = 0;

images = new Array;

images[1] = new Image(); images[1].src = "/gfx/uses/01.gif";
images[2] = new Image(); images[2].src = "/gfx/uses/02.gif";
images[3] = new Image(); images[3].src = "/gfx/uses/03.gif";
images[4] = new Image(); images[4].src = "/gfx/uses/04.gif";
images[5] = new Image(); images[5].src = "/gfx/uses/05.gif";
images[6] = new Image(); images[6].src = "/gfx/uses/06.gif";
images[7] = new Image(); images[7].src = "/gfx/uses/07.gif";
images[8] = new Image(); images[8].src = "/gfx/uses/08.gif";
images[9] = new Image(); images[9].src = "/gfx/uses/09.gif";
images[10] = new Image(); images[10].src = "/gfx/uses/10.gif";
images[12] = new Image(); images[12].src = "/gfx/uses/12.gif";
images[13] = new Image(); images[13].src = "/gfx/uses/13.gif";
images[14] = new Image(); images[14].src = "/gfx/uses/14.gif";



function ranDom()

{
var imgnum = images.length - 1;
do {
var randnum = Math.random();
rand1 = Math.round((imgnum - 1) * randnum) + 1;
}

while (rand1 == useRand);
useRand = rand1;

document.random.src = images[useRand].src;
}


function ranDom2()

{
var imgnum = images.length - 1;
do {
var randnum = Math.random();
rand1 = Math.round((imgnum - 1) * randnum) + 1;
}

while (rand1 == useRand);
useRand = rand1;

document.random2.src = images[useRand].src;
}


function ranDom3()


{
var imgnum = images.length - 1;
do {
var randnum = Math.random();
rand1 = Math.round((imgnum - 1) * randnum) + 1;
}

while (rand1 == useRand);
useRand = rand1;

document.random3.src = images[useRand].src;
}

