/*  <script language="JavaScript">

// Drummy's Random Image Script
// (C) 2006 Paul Voth, Drummy.org
// Please leave this copyright notice
// In the script if you're gonna use it :)

*/

function get_random_left()
{

// Make sure that random()*X) has the correct
// number. The number of images defined below.
var ranNum_left= Math.floor(Math.random()*25);
return ranNum_left;
}
var whichImg_left=get_random_left();

function get_random_right()
{

// Make sure that random()*X) has the correct
// number. The number of images defined below.
var ranNum_right= Math.floor(Math.random()*25);
return ranNum_right;
}
var whichImg_right=get_random_right();

function show_image_left() {

// Add your images here.
// Make sure that Array(X) has the number
// of images that you want to include
var img=new Array(25)
img[0]="images/left01.png";
img[1]="images/left02.png";
img[2]="images/left03.png";
img[3]="images/left04.png";
img[4]="images/left05.png";
img[5]="images/left06.png";
img[6]="images/left07.png";
img[7]="images/left08.png";
img[8]="images/left09.png";
img[9]="images/left10.png";
img[10]="images/left11.png";
img[11]="images/left12.png";
img[12]="images/left13.png";
img[13]="images/left14.png";
img[14]="images/left15.png";
img[15]="images/left16.png";
img[16]="images/left17.png";
img[17]="images/left18.png";
img[18]="images/left19.png";
img[19]="images/left20.png";
img[20]="images/left21.png";
img[21]="images/left22.png";
img[22]="images/left23.png";
img[23]="images/left24.png";
img[24]="images/left25.png";
 // Here the actual displaying of the image is taking place.
document.write("<img src='");
document.write(img[whichImg_left]);
document.write("' border='0' style='width: 200px; height: 56px;' />");
}

function show_image_right() {

// Add your images here.
// Make sure that Array(X) has the number
// of images that you want to include
var img=new Array(25)
img[0]="images/right01.png";
img[1]="images/right02.png";
img[2]="images/right03.png";
img[3]="images/right04.png";
img[4]="images/right05.png";
img[5]="images/right06.png";
img[6]="images/right07.png";
img[7]="images/right08.png";
img[8]="images/right09.png";
img[9]="images/right10.png";
img[10]="images/right11.png";
img[11]="images/right12.png";
img[12]="images/right13.png";
img[13]="images/right14.png";
img[14]="images/right15.png";
img[15]="images/right16.png";
img[16]="images/right17.png";
img[17]="images/right18.png";
img[18]="images/right19.png";
img[19]="images/right20.png";
img[20]="images/right21.png";
img[21]="images/right22.png";
img[22]="images/right23.png";
img[23]="images/right24.png";
img[24]="images/right25.png";
 // Here the actual displaying of the image is taking place.
document.write("<img src='");
document.write(img[whichImg_right]);
document.write("' border='0' style='width: 200px; height: 56px;' />");
}

