/*=========================================================
Script:     Random Quote

Functions:  This simple script allows you to print random
            quotations in the page.  Any number of quotes
            may be used.
            
Browsers:   All

Original Author:  etLux
Modified by:  R3D
===========================================================
 | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
===========================================================
Original Code Copyright 2004 by CodeLifter.com
Modification Copyright 2008 by Anesthesia Dev
Free for all; but please leave in this header.
===========================================================*/

var Quotation = new Array() 
var Images = new Array()

// Set up the quotations to be shown, below.
// To add more quotations, continue with the
// pattern, adding to the array.  Remember
// to increment the Quotation[x] index!
// Same applies to adding Images

Quotation[0] = "Did you know?<br/>Since tigers hunt mostly at dusk and dawn their stripes help them<br/>hide in the shadows of tall grasses. They stalk and pounce<br/>because they are not able to chase prey a for long distances.";
Quotation[1] = "Man is not the lord of all the world's animals. He is the protector.<br/><span class=\"italic\">~John Forsythe</span>";


Images[0] = "quotes1.jpg";
Images[1] = "quotes2.jpg";
Images[2] = "quotes3.jpg";
Images[3] = "quotes4.jpg";
Images[4] = "quotes5.jpg";
Images[5] = "quotes6.jpg";
Images[6] = "quotes7.jpg";
Images[7] = "quotes8.jpg";
Images[8] = "quotes9.jpg";


// ===========================================================
// Functions
// ===========================================================
var Q = Quotation.length;
var whichQuotation=Math.round(Math.random()*(Q-1));

var I = Images.length;
var whichImage=Math.round(Math.random()*(I-1));

function showQuotation()
{ 
	document.write(Quotation[whichQuotation]);
}

function showImage(ImagePath)
{ 
	var ImageOutput = "<img src=\""+ImagePath+"/"+Images[whichImage]+"\" width=\"85\" height=\"59\">";
	document.write(ImageOutput);
}
