
var scripture = new Array();
var i=0;

<!-- OLD TESTAMENT -->
var oldTestamentVerses = 7;
scripture[i++]=new Array('Leviticus&nbsp;11:44&nbsp;(NRSV)','I am the LORD your God; sanctify yourselves therefore, and be holy, for I am holy.');
scripture[i++]=new Array('Deuteronomy&nbsp;13:3&nbsp;(NRSV)','The LORD your God is testing you, to know whether you indeed love the LORD your God with all your heart and soul.');
scripture[i++]=new Array('Jeremiah&nbsp;1:9&nbsp;(NIV)','The LORD your God will be with you wherever you go.');
scripture[i++]=new Array('Jeremiah&nbsp;29:11&nbsp;(NRSV)','I know the plans I have for you, says the Lord, plans for your welfare and not for harm, to give you a future with hope.');
scripture[i++]=new Array('Psalm&nbsp;19:1&nbsp;(NIV)','The heavens declare the glory of God; the skies proclaim the work of his hands.');

scripture[i++]=new Array('Psalm&nbsp;118:24&nbsp;(KJV)','This is the day which the LORD hath made; we will rejoice and be glad in it.');
scripture[i++]=new Array('Proverbs&nbsp;12:25&nbsp;(NRSV)','Anxiety weighs down the human heart, but a good word cheers it up.');

<!-- NEW TESTAMENT -->
var newTestamentVerses = 15;
scripture[i++]=new Array('Matthew&nbsp;6:21&nbsp;(NIV)','Where your treasure is, there your heart will be also.');
scripture[i++]=new Array('Matthew&nbsp;6:28-29&nbsp;(NRSV)','Consider the lilies of the field... even Solomon in all his glory was not clothed like one of these.');
scripture[i++]=new Array('Matthew&nbsp;6:33&nbsp;(NIV)','Seek first [God\'s] kingdom and... righteousness, and all these things will be given to you as well.');
scripture[i++]=new Array('Matthew&nbsp;25:40&nbsp;(NRSV)','The King will answer them, "Truly I tell you, just as you did it to one of the least of these who are members of my family, you did it to me."');
scripture[i++]=new Array('Matthew&nbsp;28:19&nbsp;(NRSV)','Go... and make disciples of all nations, baptizing them in the name of the Father and of the Son and of the Holy Spirit.');

scripture[i++]=new Array('Matthew&nbsp;28:20&nbsp;(NRSV)','Jesus said to his disciples, "Remember, I am with you always, to the end of the age."');
scripture[i++]=new Array('Luke&nbsp;2:14&nbsp;(NRSV)','Glory to God in the highest heaven, and on earth peace among those whom he favors!');
scripture[i++]=new Array('John&nbsp;8:12&nbsp;(NIV)','Jesus said, "I am the light of the world. Whoever follows me will never walk in darkness, but will have the light of life."');
scripture[i++]=new Array('John&nbsp;9:39&nbsp;(NIV)','Jesus said, "For judgement I have come into this world, so that the blind will see and those who see will become blind."');
scripture[i++]=new Array('John&nbsp;10:10&nbsp;(NRSV)','Jesus said, "I came that they may have life, and have it abundantly."');

scripture[i++]=new Array('1&nbsp;John&nbsp;5:5&nbsp;(NRSV)','Who is it that conquers the world but the one who believes that Jesus is the Son of God?');
scripture[i++]=new Array('2&nbsp;Corinthians&nbsp;3:3&nbsp;(NRSV)','You are a letter of Christ,... written not with ink but with the Spirit of the living God, not on tablets of stone but on tablets of human hearts.');
scripture[i++]=new Array('Hebrews&nbsp;12:2&nbsp;(NIV)','Let us fix our eyes on Jesus, the author and perfecter of our faith.');
scripture[i++]=new Array('Romans&nbsp;12:18&nbsp;(NRSV)','If it is possible, so far as it depends on you, live peaceably with all.');
scripture[i++]=new Array('James&nbsp;1:22&nbsp;(NIV)','Do not merely listen to the word, and so deceive yourselves. Do what it says.');


<!-- NOTE: functions MUST follow array creation otherwise script error -->

var verses = oldTestamentVerses+newTestamentVerses;
var randomNumber = Math.floor(Math.random()*(verses));
//randomNumber = 8;

var dailyVerse = getScriptureVerse();
var dailyNumber = getScriptureNumber();

function getScriptureNumber() {
  scriptureNumber = scripture[randomNumber][0];
  return scriptureNumber;
}

function getScriptureVerse() {
  scriptureText = scripture[randomNumber][1];
  return scriptureText;
}




