// JavaScript Document
// 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()
{
// Make sure that random()*X) has the correct

// number. The number of images defined below.

var ranNum= Math.floor(Math.random()*4);
return ranNum;
}



var whichQuote=get_random();
var large=whichQuote;
function show_random_quote() {

// Add your images here.

// Make sure that Array(X) has the number

// of images that you want to include

var img=new Array()

img[0]="/images/layout/quotes/1.jpg";

img[1]="/images/layout/quotes/2.jpg";

img[2]="/images/layout/quotes/3.jpg";

img[3]="/images/layout/quotes/4.jpg";







 // Here the actual displaying of the image is taking place.

document.write('<img src="'+img[whichQuote]+'" alt="" />');



}
