/* Name:  j_bible.js
   Function:  Get verse for the day.  Arrays for both the verses and
   books for each month are loaded with day as index.
   Date of Last update: 3/10/2001
*/

var dDate = new Date;
var nDay, nMonth, nX;
var cBook, cVerse;
var aVerse1 = new Array();
var aBook1 = new Array();
var aVerse2 = new Array();
var aBook2 = new Array();
var aVerse3 = new Array();
var aBook3 = new Array();
var aVerse4 = new Array();
var aBook4 = new Array();
var aVerse5 = new Array();
var aBook5 = new Array();
var aVerse6 = new Array();
var aBook6 = new Array();
var aVerse7 = new Array();
var aBook7 = new Array();
var aVerse8 = new Array();
var aBook8 = new Array();
var aVerse9 = new Array();
var aBook9 = new Array();
var aVerse10 = new Array();
var aBook10 = new Array();
var aVerse11 = new Array();
var aBook11 = new Array();
var aVerse12 = new Array();
var aBook12 = new Array();

function GetVerseforToday()
  {
    LoadVersesArray(); 
    nDay = dDate.getDate();
    nMonth= dDate.getMonth();
    switch(nMonth)
      {
        case 0:
	  cBook = aBook1[nDay];
          cVerse = aVerse1[nDay];
	  break;
        case 1:
	  cBook = aBook2[nDay];
          cVerse = aVerse2[nDay];
	  break;
        case 2:
	  cBook = aBook3[nDay];
          cVerse = aVerse3[nDay];
	  break;
        case 3:
	  cBook = aBook4[nDay];
          cVerse = aVerse4[nDay];
	  break;
        case 4:
	  cBook = aBook5[nDay];
          cVerse = aVerse5[nDay];
	  break;
        case 5:
	  cBook = aBook6[nDay];
          cVerse = aVerse6[nDay];
	  break;
        case 6:
	  cBook = aBook7[nDay];
          cVerse = aVerse7[nDay];
	  break;
        case 7:
	  cBook = aBook8[nDay];
          cVerse = aVerse8[nDay];
	  break;
        case 8:
	  cBook = aBook9[nDay];
          cVerse = aVerse9[nDay];
	  break;
        case 9:
	  cBook = aBook10[nDay];
          cVerse = aVerse10[nDay];
	  break;
        case 10:
	  cBook = aBook11[nDay];
          cVerse = aVerse11[nDay];
	  break;
        case 11:
	  cBook = aBook12[nDay];
          cVerse = aVerse12[nDay];
	  break;
        default:
          cBook = '';
          cVerse = '';
          break;
      }

    document.write("<P CLASS='VERSE'><B><FONT COLOR='#AF0063'>" +
      cBook + "&nbsp;</FONT></B>" + cVerse +"</P>");
  }

function LoadVersesArray()
  {

aBook8[1]='Matthew 13:44';	aVerse8[1]='  FINDING TRUE LOVE<BR>The kingdom of heaven is like a treasure buried in a field, which a person finds and  hides again, and out of joy goes and sells all that he has and buys that field.';
aBook8[2]='Matthew 13:49-50';	aVerse8[2]='  HEAVEN OR HELL<BR>Thus it will be the end of the age. The angels will go out an separate the wicked from the righteous and throw them in to the fiery furncae, where there will be wailing and grinding of eeth.';
aBook8[3]='Matthew 13:58';	aVerse8[3]='  BIGGER THAN THE BIGGEST<BR>And he did not work many mighty deeds there because of their lack of faith.';
aBook8[4]='Matthew 14:7';	aVerse8[4]='  ASK AND RECEIVE<BR>…he swore to give her whatever she might ask for';
aBook8[5]='Luke 12:15';	aVerse8[5]='  GOD ANSWERS<BR>Take care to guard against all greed, for though one may be rich, ones life does not consist of possesions';
aBook8[6]='Luke 9:33';	aVerse8[6]='  CHECK-OUT TIME<BR>Master, it is good that we are here…';
aBook8[7]='Mt. 14:31';	aVerse8[7]='  UPSIDE DOWN<BR>O you of little faith, why did you doubt?';
aBook8[8]='Mt. 15:28';	aVerse8[8]='  WE CAN DO IT, LORD!<BR>O woman, great is your faith! Let it be done for your as you wish.';
aBook8[9]='Mt. 16:13';	aVerse8[9]='  WHO ARE YOU<BR>Who do people say that the Son of Man is?';
aBook8[10]='John 12:25';	aVerse8[10]='  GOOD HEALTH FOR A PURPOSE<BR>Whoever loves his life loses it, and whoever hates his life in this world will preserve it for eternal life.';
aBook8[11]='Matthew 17:20';	aVerse8[11]='  THE POWER OF FAITH<BR>I assure  you that if you have faith as big as a mustard seed, you can do anything';
aBook8[12]='Luke 12:24';	aVerse8[12]='  MY TREASURE<BR>For where your treasure is, there will your heart be';
aBook8[13]='Matthew 17:23';	aVerse8[13]='  DEATH BRINGS LIFE<BR>…and he will be raised on the third day';
aBook8[14]='Matthew 18:12';	aVerse8[14]='  PASSED UP OPPORTUNITIES<BR>If a man has a hundred sheep and one of them goes astray, will he not leave the ninety-nine in the hills and go in search of the stray?';
aBook8[15]='Luke 1:45';	aVerse8[15]='  LISTEN AND OBEY<BR>Blessed are you who believed that what was spoken to you by the Lord would be fulfilled.';
aBook8[16]='Matthew 18:35';	aVerse8[16]='  FROM THE HEART<BR>So will my heavenly Father do to ou, unless each of you forgives his brother from his heart.';
aBook8[17]='Matthew 19:6';	aVerse8[17]='  GLUED TWO-GETHER<BR>So they are no longer two, but one flesh.  Therefore, what God has joined together, no human being must separate.';
aBook8[18]='Matthew 19:14';	aVerse8[18]='  BE A CHILD AGAIN<BR>Let the children come to me, and do not prevent them; for the kingdom of heaven belongs to such as these.';
aBook8[19]='Luke 12:53';	aVerse8[19]='  STORY OF A PROUD FATHER<BR>From now on a household of five will be divided, three against two and two against three, a father will be divided against hi sson and a son against his father, a mother against her daughter and a daughter against her mother, a mother-in-law against her daughter-in-law and a daughter-in-law against her mother-in-law.';
aBook8[20]='Matthew 19:21';	aVerse8[20]='  GOD ALONE<BR>If you wish to be perfect, go, sell what you have and give to the poor, and you will have treasure in heaven.';
aBook8[21]='Matthew 19:24';	aVerse8[21]='  IN SEARCH OF BREAD<BR>Again I say to you, it is easier for a camel to pass through the eye of a needle than for one who is rich to enter the kingdom of God.';
aBook8[22]='Matthew 20:16';	aVerse8[22]='  ME? ENVIOUS?<BR>Or are you envious because I am generous?';
aBook8[23]='Matthew 22:14';	aVerse8[23]='  DIMINISHING NUMBERS<BR>Many are invited, but few are chosen';
aBook8[24]='Luke 13:24';	aVerse8[24]='  LORD, I SURRENDER<BR>Strive to enter through the narrow gate, for many, I tell you, will attempt to enter but will not be strong enough';
aBook8[25]='Matthew 23:12';	aVerse8[25]='  A LESSON ON HUMILITY<BR>Whoever exalts himself will be humbled; but whoever humbles himself will be exalted';
aBook8[26]='Luke 13:24';	aVerse8[26]='  NOT ALONE<BR>Strive to enter through the narrow gate, for many, I tell you, will attempt to enter but will not be strong enough';
aBook8[27]='Matthew 23:13';	aVerse8[27]='  GOT WONT LET US GO<BR>Woe to you, scribes and Pharisees, you hypocrites.  You lock the kingdom of heaven before human beings.  You do no tenter yourselves, nor do you allow entrance to those trying to enter.';
aBook8[28]='Matthew 23:25';	aVerse8[28]='  OBSESSED!<BR>Woe to you, scribes and Pharisees, you hypocrites.  You cleanse the outside of cup and dish, but inside they are full of plunder and self-indulgence.';
aBook8[29]='Mark 6:20';	aVerse8[29]='  NO GRAY AREAS<BR>Herod feared John, knowing him to be a righteous and holy man…Whe he heard him speak he was very much perplexed, yet he liked to listen to him.';
aBook8[30]='Matthew 24:42';	aVerse8[30]='  FORESIGHT<BR>Therefore, stay awake! For you do not know on which day your Lord will come.';
aBook8[31]='Matthew 25:10';	aVerse8[31]='  QUALITY TIME<BR>While they went, off to buy it, the bridegroom came and those who were ready went into the wedding feast with him. Then the door was locked.';


aBook9[1]='Matthew 25:21';	aVerse9[1]='  ALL FOR GOD<BR>Well done, my good and faithful servant.  Since you were faithful in small matters, I will give you great responsibilities. Come, share your master'+"'s"+' joy.';
aBook9[2]='Luke 14:11';	aVerse9[2]='  OF BEING HUMBLE<BR>For everyone who exalts himself will be humbled, but the one who humbles himself will be humbled.';
aBook9[3]='Luke 4:24';	aVerse9[3]='  IT'+"'S"+' GOD WHO'+"'S"+' KNOCKING<BR>And he said, "Amen, I say to you, no prophet is accepted in his one native place.';
aBook9[4]='Luke 4:34';	aVerse9[4]='  HE IS OUR GOD<BR>What have yu to do with us, Jesus of Nazareth?  Have you come to destory us?  I know who you are -- the Holy One of God!';
aBook9[5]='Luke 4:40';	aVerse9[5]='  FRIENDS AND HEALING<BR>At sunset, all who had people sick with various diseases brought them to him.  He laid his hands on each of them and cured them.';
aBook9[6]='Luke 5:10';	aVerse9[6]='  COMMITMENT TO SERVICE<BR>Do not be afraid; from now on you will be catching men';
aBook9[7]='Luke 5:39';	aVerse9[7]='  I LOVE MY MOM<BR>No one who has been dringking old wine desires new, for he says, "The old is good."';
aBook9[8]='Matthew 1:23';	aVerse9[8]='  THE TRUE WOMAN OF GOD<BR>Behold, the virgin shall be with child and bear a son, and they shall name him Emmanuel.';
aBook9[9]='Luke 14:27';	aVerse9[9]='  SOFT AND WOUNDED HANDS<BR>Those wo do not carry their own cross and come after me can  not be my disciple.';
aBook9[10]='Luke 6:7';	aVerse9[10]='  MORE THAN WORDS<BR>The scribes and the Pharisees watched him closely to see if he would cure on the sabbath so that they might discover a reason to accuse him';
aBook9[11]='Luke 6:12';	aVerse9[11]='  MY OWN MOUNTAIN<BR>In those days he departed to the mountain to pray, and he spent the night in prayer to God.';
aBook9[12]='Luke 6:20';	aVerse9[12]='  MAY HIS KINGDOM COME<BR>And raising his eyes toward his disciples he said: "Blessed are you who are poor, for the kingdom of God is  yours."';
aBook9[13]='Luke 6:27';	aVerse9[13]='  HEARTS THAT LOVE<BR>Love your enemies, do good to those you hate you';
aBook9[14]='John 3:16';	aVerse9[14]='  UNTHINKABLE PAIN<BR>For God so loved the world that he gave his only son, so that everyone who believes in him might not perish but might have eternal life.';
aBook9[15]='John 19:27';	aVerse9[15]='  A LOVELY GIFT<BR>Then he said to the disciple, "Behold, your mother."  And from that hour the disciple took her into his home.';
aBook9[16]='Luke 15:4';	aVerse9[16]='  DRESSED UP<BR>What man among you having a hundred sheep and losing one of them would not leave the ninety-nine in the dessert and go after the lost one until he finds it?';
aBook9[17]='Luke 7:7';	aVerse9[17]='  JUST SPEAK THE WORD<BR>Therefore, I did not consider myself worthy to come to you; but say the word and let my servant be healed.';
aBook9[18]='Luke 7:13,16';	aVerse9[18]='  ASSURANCE OF HIS LOVE<BR>When the Lord saw her, he was moved with pity for her and said to her, "Do not weep." … Fear seized them all, and they glorified God, exclaiming, "A great prophet has risen in our midst," and God has visited his people."';
aBook9[19]='Luke 7:35';	aVerse9[19]='  WISDOM IN DISGUISE<BR>But wisdom is vindicated by all her children.';
aBook9[20]='Luke 7:39';	aVerse9[20]='  JUDGING OTHERS<BR>If this man were a prophet, he would know who and what sort of woman this is who is touching him, that she is a sinner.';
aBook9[21]='Matthew 9:12';	aVerse9[21]='  MORE THAN MATERIAL WEALTH<BR>Those who are well do not need a physician, but the sick do.';
aBook9[22]='Luke 8:8';	aVerse9[22]='  GOD'+"'S"+' MESSENGER<BR>The plants grew and bore grain, one hundred grains each';
aBook9[23]='Luke 16:8';	aVerse9[23]='  IMITATE THE DISHONEST<BR>For the children of this world are more prudent in dealing with their own generation that are the children of light';
aBook9[24]='Luke 8:16';	aVerse9[24]='  THE TIME WILL COME<BR>No one who lights a lamp conceals it with a vessel or sets it under the bed, rather, he places it on a lampstand so that those who enter may see the light';
aBook9[25]='Luke 8:21';	aVerse9[25]='  GOD'+"'S"+' ARMY<BR>He said to them, "My mother and my brothers are those who hear the word of God and act on it."';
aBook9[26]='Luke 9:2';	aVerse9[26]='  GOD PREPARED US<BR>…and he sent them to proclaim the kingdom of God and to heal…';
aBook9[27]='Luke 9:9';	aVerse9[27]='  WITH GOD'+"'S"+' EYES<BR>But Heroed said, "John I beheaded.  Who is then is this about whom I hear such things?" And he kept trying to see him.';
aBook9[28]='Luke 9:20';	aVerse9[28]='  WHO IS JESUS CHRIST TO ME?<BR>Then he said to them, "But who do you say I am?"  Peter said in reply, "The Messiah of God."';
aBook9[29]='John 1:50';	aVerse9[29]='  GOD CHUCKLES<BR>Jesus answered and said to him,  "Do you believe because I told you thag I saw you under the fig tree?  You will see greater things than this."';
aBook9[30]='Luke 16:31';	aVerse9[30]='  BE STILL AND LISTEN<BR>Then Abraham said, "if they will not listen to Moses and the prophets, neither will they be oersuaded if someone should rise from the dead."';


  }
