// ============================================================
// Script:     Random Quote
// To Use:     <script language="javascript" src="random quote.js"></script>
// Functions:  This simple script allows you to print random
//             quotations in the page.  Any number of quotes
//             may be used.            
// Browsers:   All

// Author:     etLux
// ============================================================

// INSTRUCTIONS:

// Put the following script in the <body> of your page,
// wherever you want the quotes to appear.  Simply set up the
// quotations in the Quotations[] array, then paste in the 
// whole block of code.  To format the text, wrap the usual
// font tags around the script (view source on our demo on this
// page for an example.)

// TECH NOTE:

// In quotation 8, note the text, \"beauty\" -- if you need
// to use double-quote " marks, you *must* precede each
// double-quote with a backslash \... otherwise the script
// will break.

// THE CODE:
// ==============================================
// Copyright 2004 by CodeLifter.com
// Free for all; but please leave in this header.
// ==============================================

var Quotation=new Array() // do not change this!

// 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!

Quotation[0] = "\"For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life.\" John 3:16";
Quotation[1] = "\"For even the Son of man came not to be ministered unto, but to minister, and to give his life a ransom for many.\" Mark 10:45";
Quotation[2] = "\"For as by one man's disobedience many were made sinners, so by the obedience of one shall many be made righteous.\" Romans 5:19";
Quotation[3] = "\"For as in Adam all die, even so in Christ shall all be made alive.\" 1 Corinthians 15:22";
Quotation[4] = "\"That if thou shalt confess with thy mouth the Lord Jesus, and shalt believe in thine heart that God hath raised him from the dead, thou shalt be saved.\" Romans 10:9";
Quotation[5] = "\"Jesus saith unto him, I am the way, the truth, and the life: no man cometh unto the Father, but by me.\" John 14:6";
Quotation[6] = "\"For the wages of sin is death; but the gift of God is eternal life through Jesus Christ our Lord.\" Romans 6:23";
Quotation[7] = "\"Jesus said unto her, I am the resurrection, and the life: he that believeth in me, though he were dead, yet shall he live.\" John 11:25";
Quotation[8] = "\"Neither is there salvation in any other: for there is none other name under heaven given among men, whereby we must be saved.\" Acts 4:12";
Quotation[9] = "\"Look unto me, and be ye saved, all the ends of the earth: for I am God, and there is none else.\" Isaiah 45:22";
Quotation[10] = "\"Greater love hath no man than this, that a man lay down his life for his friends.\" John 15:13";
Quotation[11] = "\"He that believeth on the Son hath everlasting life: and he that believeth not the Son shall not see life; but the wrath of God abideth on him.\" John 3:36";
Quotation[12] = "\"And call upon me in the day of trouble: I will deliver thee, and thou shalt glorify me.\" Psalm 50:15";
Quotation[13] = "\"For whosoever shall call upon the name of the Lord shall be saved.\" Romans 10:13";
Quotation[14] = "\"For what shall it profit a man, if he shall gain the whole world, and lose his own soul?\" Mark 8:36";
Quotation[15] = "\"O taste and see that the LORD is good: blessed is the man that trusteth in him.\" Psalm 34:8";
Quotation[16] = "\"The harvest is past, the summer is ended, and we are not saved.\" Jeremiah 8:20";
Quotation[17] = "\"And whosoever liveth and believeth in me shall never die. Believest thou this?\" John 11:26";
Quotation[18] = "\"For the Son of man is come to seek and to save that which was lost.\" Luke 19:10";
Quotation[19] = "\"For by grace are ye saved through faith; and that not of yourselves: it is the gift of God: Not of works, lest any man should boast.\" Ephesians 2:8-9";




// ======================================
// Do not change anything below this line
// ======================================
var Q = Quotation.length;
var whichQuotation=Math.round(Math.random()*(Q-1));
function showQuotation(){document.write(Quotation[whichQuotation]);}
showQuotation();

