
//FH1: The array which is going to hold the image information. Store the image info along with their correct path; I've omitted the path here as I've stored the images in the same folder where my web page resides.
function doIt1()
{
var rand = Math.floor(Math.random()*3); //Generating a random number between 0 and 3 here in your case you can replace 4 with 11 if you have 10 images

var imgPath = "<img src='"+imageArray1[rand]+"' alt='heder' border='0' width='243' height='174' align='absmiddle' />";

document.getElementById("FtrdHomeImgTst1").innerHTML = imgPath;

}
//FH2: The array which is going to hold the image information. Store the image info along with their correct path; I've omitted the path here as I've stored the images in the same folder where my web page resides.
function doIt2()
{
var rand = Math.floor(Math.random()*3); //Generating a random number between 0 and 3 here in your case you can replace 4 with 11 if you have 10 images

var imgPath = "<img src='"+imageArray2[rand]+"' alt='heder' border='0' width='243' height='174' align='absmiddle' />";

document.getElementById("FtrdHomeImgTst2").innerHTML = imgPath;

}

//FH3: The array which is going to hold the image information. Store the image info along with their correct path; I've omitted the path here as I've stored the images in the same folder where my web page resides.
function doIt3()
{
var rand = Math.floor(Math.random()*3); //Generating a random number between 0 and 3 here in your case you can replace 4 with 11 if you have 10 images

var imgPath = "<img src='"+imageArray3[rand]+"' alt='heder' border='0' width='243' height='174' align='absmiddle' />";

document.getElementById("FtrdHomeImgTst3").innerHTML = imgPath;

}

