// JavaScript Document

<!-- Original:  Mike W. (mikew@dvol.com) -->
<!-- Web Site:  http://www.dvol.com/~users/mikew -->

<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com -->

<!-- Begin
var msg = new Array();
var month = new Array();
var Stamp = new Date();
var today = Stamp.getDate();
var dateline = Stamp.getMonth();

if(dateline == 11)
{
  season = "winter";
}
else if(dateline == 0)
{
  season = "winter";
}
else if(dateline == 1)
{
  season = "winter";
}
else if(dateline == 2)
{
  season = "spring";
}
else if(dateline == 3)
{
  season = "spring";
}
else if(dateline == 4)
{
  season = "spring";
}
else if(dateline == 5)
{
  season = "summer";
}
else if(dateline == 6)
{
  season = "summer";
}
else if(dateline == 7)
{
  season = "summer";
}
else if(dateline == 8)
{
  season = "fall";
}
else if(dateline == 9)
{
  season = "fall";
}
else if(dateline == 10)
{
  season = "fall";
}

msg[1] = "<p>O Lord, how awesome is  you name through all the earth!</p><p>(Psalm 8:1)";
msg[2] = "<p>I see your heavens, the work of your hands.</p><p>(Psalm 8:4)";
msg[3] = "<p>I will praise you, Lord, with all my heart; I will declare all your wondrous deeds.</p><p>(Psalm 9:2)";
msg[4] = "<p>You will show me the path to life, abounding joy in your presence.</p><p>(Psalm 16:11)";
msg[5] = "<p>The Lord is my shepherd..., to safe waters you lead me; you restore my strength.</p><p>(Psalm 23:2)";
msg[6] = "<p>Give to the Lord the glory due God's name. Bow down before the Lord's holy splendor!</p><p>(Psalm 29:2)";
msg[7] = "<p>By the Lord's word the heavens were made.</p><p>(Psalm 33:6)";
msg[8] = "<p>I will bless the Lord at all times; praise shall be always in my mouth.</p><p>(Psalm 34:2)";
msg[9] = "<p>Be still before the Lord; wait for God.</p><p>(Psalm 37:7)";
msg[10] = "<p>As the deer longs for streams of water, so my soul longs for you, O God.</p><p>(Psalm 42:2)";
msg[11] = "<p>Every animal of the forest is mine..</p><p>(Psalm 50:10)";
msg[12] = "<p>Come and see the works of God; awesome in deeds done for us.</p><p>(Psalm 66:5)";
msg[13] = "<p>May God be gracious to us and bless us; may God's face shine upon us.</p><p>(Psalm 67:2)";
msg[14] = "<p>The earth has yielded its harvest\; God, our God, blesses us.</p><p>(Psalm 67:7)";
msg[15] = "<p>The heavens praise  you marvels, Lord.</p><p>(Psalm 89:6)";
msg[16] = "<p>How great are  your works, Lord! How profound your purpose!</p><p>(Psalm 92:6)";
msg[17] = "<p>As the heavens tower over the earth, so God's love towers over the faithful.</p><p>(Psalm 103:11)";
msg[18] = "<p>I will praise the Lord with all my heart in the assembled congregation of the upright.</p><p>(Psalm 111:1)";

month[0] = "January";
month[1] = "February";
month[2] = "March";
month[3] = "April";
month[4] = "May";
month[5] = "June";
month[6] = "July";
month[7] = "August";
month[8] = "September";
month[9] = "October";
month[10] = "November";
month[11] = "December";

function writeTip() { 
  if(today > 18)
  {  
    today = today - 18;
  }
  document.write(msg[today]);
  //document.write(today);
}

function writeDatline() {
  document.write(month[dateline]);
  document.write(" ");
  document.write(today);
}

function writePix() {
  if(today > 16)
  {
    pix = today - 16;
  }
  else
  {
    pix = today;
  }
  document.write("<center><img src='images/" + season + "/" + pix + ".jpg'></center>");
}

//  End -->