I rewrote it again. And this is what I got but it still does not work at all.
<SCRIPT LANGUAGE="JavaScript">
//store the quotations in arrays
quotes = new Array(6);
authors = new Array(6);
quotes[0] = "Give, and it shall be given to you. For whatever measure you deal out to others, it will be dealt to you in return.";
authors[0] = ".";
quotes[1] = "Praying always with all prayer and supplication in the Spirit, and watching thereunto with all perseverance and supplication for all saints.";
authors[1] = "Ephesians 6:18";
quotes[2] = "Work hard and become a leader; be lazy and never succeed.";
authors[2] = "Proverbs 12:24";
quotes[3] = "I know the plans I have for you, declares the Lord, plans to prosper you and not to harm you, plans to give you hope and a future.";
authors[3] = "Jeremiah 29:11";
quotes[4] = "Therefore, do not worry about tomorrow, for tomorrow will worry about itself. Each day has enough trouble of its own.";
authors[4] = Matthew 6:34;
quotes[5] = "Above all, love each other deeply, because love covers over a multitude of sins. Offer hospitality to one another without grumbling ";
authors[5] = "1 Peter 4:8-9";
//calculate a random index
index = Math.floor(Math.random() * quotes.length);
//display the quotation
document.write("<DL>\n");
document.write("<DT>" + "\"" + quotes[index] + "\"\n");
document.write("<DD>" + "-- " + authors[index] + "\n");
document.write("</DL>\n");
//done
</SCRIPT>