/*—————————————————————/
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(x)
{

// Make sure that random()*X) has the correct
// number. The number of images defined below.
var ranNum= Math.floor(Math.random()*x);
return ranNum;
}
// make this one less than total as array indices are 0 to n-1
var i = 58;
var whichImg = get_random(i);

// Add your images here.
// Make sure that Array(X) has the number
// of images that you want to include

var img=new Array(i)
img[0]="1.jpg";
img[1]="2.jpg";
img[2]="3.jpg";
img[3]="4.jpg";
img[4]="5.jpg";
img[5]="6.jpg";
img[6]="7.jpg";
img[7]="8.jpg"; 
img[8]="9.jpg";
img[9]="10.jpg";
img[10]="11.jpg";
img[11]="12.jpg";
img[12]="13.jpg";
img[13]="14.jpg";
img[14]="15.jpg";
img[15]="16.jpg"; 
img[16]="17.jpg"; 
img[17]="18.jpg"; 
img[18]="19.jpg";
img[19]="20.jpg";
img[20]="21.jpg";
img[21]="22.jpg";
img[22]="23.jpg";
img[23]="24.jpg";
img[24]="25.jpg";
img[25]="26.jpg";
img[26]="27.jpg";
img[27]="28.jpg";
img[28]="29.jpg";
img[29]="30.jpg";
img[30]="31.jpg";
img[31]="32.jpg";
img[32]="33.jpg";
img[33]="34.jpg";
img[34]="35.jpg";
img[35]="36.jpg";
img[36]="37.jpg";
img[37]="38.jpg";
img[38]="39.jpg";
img[39]="40.jpg";
img[40]="41.jpg";
img[41]="42.jpg";
img[42]="43.jpg";
img[43]="44.jpg";
img[44]="45.jpg";
img[45]="46.jpg";
img[46]="47.jpg";
img[47]="48.jpg";
img[48]="49.jpg";
img[49]="50.jpg";
img[50]="51.jpg";
img[51]="52.jpg";
img[52]="53.jpg";
img[53]="54.jpg";
img[54]="55.jpg";
img[55]="56.jpg";
img[56]="57.jpg";
img[57]="58.jpg";
img[58]="59.jpg";

// Here the actual displaying of the image is taking place.
document.write('<img src="');
document.write(img[whichImg]+'"'+ ' />');
whichImg = whichImg+1;
j = i+1;
document.write('<p>The Big Box contains  '+j+' things<br />');
document.write('You are viewing thing '+whichImg+ '</p>');