var today = new Date();
proverb = new Array;
myMonth = new Array("Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec");
num = 0;

var thisYear = today.getFullYear();
if (thisYear < 1000){
   thisYear += 1900;
}

// proverb Array
proverb[num++] = "To the mind that is still the whole universe surrenders."
proverb[num++] = "To what shall I compare this life of ours? Even before I can say it is like a lightning flash or a dewdrop it is no more."
proverb[num++] = "How do you step from the top of a 100-foot pole?"
proverb[num++] = "Do your work, then step back.  The only path to serenity."
proverb[num++] = "If you try to aim for it, you are turning away from it."
proverb[num++] = "A day without work is a day without eating."
proverb[num++] = "Water which is too pure has no fish."
proverb[num++] = "Crying is for the dojo, laughing is for the battlefield."
proverb[num++] = "While young, the tree can be easily bent."
proverb[num++] = "One can not quarrel without an opponent."
proverb[num++] = "Hearing 100 times is not as good as seeing once."
proverb[num++] = "Even when he has not eaten, a samurai wields his toothpick like a lord."
proverb[num++] = "A protruding post is hammered down."
proverb[num++] = "To know and to act are one and the same."
proverb[num++] = "If you understand, things are just as they are; if you do not understand, things are just as they are."
proverb[num++] = "The obstacle is the path."
proverb[num++] = "The mouth is the front-gate of all misfortune."
proverb[num++] = "Do not seek the truth. Only cease to cherish opinions."
proverb[num++] = "Even a good thing isn't as good as nothing."
proverb[num++] = "Do not seek to follow in the footsteps of the old; seek what they sought."
proverb[num++] = "Everything the same; everything distinct."
proverb[num++] = "An effective stance is to be attached neither to the opponent's sword nor to one's own sword."
proverb[num++] = "To be swayed neither by the opponent nor by his sword is the essence of swordsmanship."
proverb[num++] = "An unpolished crystal does not shine; an undisciplined samurai does not have brilliance."
proverb[num++] = "When a cow drinks water, it becomes milk. When a snake drinks water, it becomes poison."
proverb[num++] = "When the student is ready, the Master appears."
proverb[num++] = "Be master of mind rather than mastered by mind."
proverb[num++] = "A frog in the well knows not the great ocean."
proverb[num++] = "The angry man will defeat himself in battle as well as in life."
proverb[num++] = "Holding on to anger is like grasping a hot coal with the intent of throwing it at someone else; you are the one getting burned." 
proverb[num++] = "We are what we think. All that we are arises with our thoughts. With our thoughts, we make the world." 

increment = Math.floor(Math.random() * num);
document.write(myMonth[today.getMonth()] + " " + today.getDate() + ", " + thisYear);
document.write("<BR>");
document.write(proverb[today.getDate() - 1]);
