function genquote(){
theDate= new Date();
var day = theDate.getDate();
var month = theDate.getMonth();
var kdays=0;
var edays=0;
ndays = new Array(13);
ndays[0] = 0
ndays[1] = 31
ndays[2] = 59
ndays[3] = 90
ndays[4] = 120
ndays[5] = 151
ndays[6] = 181
ndays[7] = 212
ndays[8] = 243
ndays[9] = 273
ndays[10] = 304
ndays[11] = 334
ndays[12] = 365
edays=ndays[month]+day;


var numquotes = 106;
quotes = new Array(numquotes+1);
kdays=edays%numquotes;
edays=kdays;
if(edays>numquotes)edays=1;
if(edays<1)edays=1;
quotes[1] = "Absence makes the heart grow fonder.</B><p align='right'>American Proverb";
quotes[2] = "A brief death ends the longest life. </B><p align='right'>Russian Proverb";
quotes[3] = "Honesty in our age has become conspicuous by its absence. </B><p align='right'>American Proverb";
quotes[4] = "Yanking a dog's ears is no more foolish than interfering in an argument that isn't any of your business.</B><p align='right'>Bible, Proverbs of Solomon";
quotes[5] = "He who follows his own advice must take the consequences. </B><p align='right'>Spanish Proverb";
quotes[6] = "Long absent, soon forgotten.</B><p align='right'>American Proverb";
quotes[7] = "The truly grateful is patient, whilst the sullen is thankless indeed. </B><p align='right'>Arabic Proverb";
quotes[8] = "You can't put out a fire with oil. </B><p align='right'>American Proverb";
quotes[9] = "A straight candle will cast no crooked shadow.</B><p align='right'>Russian Proverb";
quotes[10] = "The best cloth has uneven threads.</B><p align='right'>Spanish Proverb";
quotes[11] = "Fire goes out for lack of fuel, and tensions disappear when gossip stops.</B><p align='right'>Bible, Proverbs of Solomon";
quotes[12] = "The green of grass as seen afar is gone when near. </B><p align='right'>Ran Yu, Tang Dynasty (Chinese Proverb)";
quotes[13] = "Two heads are better than one. </B><p align='right'>American Proverb";
quotes[14] = "People count up the faults of those who keep them waiting.</B><p align='right'>French Proverb";
quotes[15] = "One look is worth a thousand rumors.</B><p align='right'>Wen Hou, Warring States Period (Chinese Proverb)";
quotes[16] = "Two birds of prey do not keep company with each other.</B><p align='right'>Spanish Proverb";
quotes[17] = "Better a laughing enemy than a weeping friend.</B><p align='right'>Russian Proverb";
quotes[18] = "A quarrelsome man starts fights as easily as a match sets fire to paper.</B><p align='right'>Bible, Proverbs of Solomon";
quotes[19] = "What we acquire without sweat we give away without regret.</B><p align='right'>American Proverb";
quotes[20] = "It is not the fire that makes the kettle black but the smoke.</B><p align='right'>Russian Proverb";
quotes[21] = "The bow that is always bent slackens or breaks.</B><p align='right'>Spanish Proverb";
quotes[22] = "Pretty words may hide a wicked heart, just as a pretty glaze covers a common clay pot.</B><p align='right'>Bible, Proverbs of Solomon";
quotes[23] = "Practical wisdom benefits man hereafter, while wordly wisdom extends not beyond this transient world.</B><p align='right'>Arabic Proverb";
quotes[24] = "Distant water cannot quench a fire close at hand.</B><p align='right'>Li chu, Spring and Autumn Period (Chinese Proverb)";
quotes[25] = "Actions speak louder than words.</B><p align='right'>American Proverb";
quotes[26] = "The wrath of brothers is the wrath of devils.</B><p align='right'>Spanish Proverb";
quotes[27] = "A man with hate in his heart may sound pleasant enough, but don't believe him; for he is cursing you in his heart. Though he pretends to be so kind, his hatred will finally come to light for all to see.</B><p align='right'>Bible, Proverbs of Solomon";
quotes[28] = "He who is feared by many fears many.</B><p align='right'>German Proverb";
quotes[29] = "Don't throw stones at your neighbor if your house is made of glass.</B><p align='right'>Russian Proverb";
quotes[30] = "Let not the opportunity pass, for it may not return.</B><p align='right'>Kuai Tong, Western Ran Dynasty (Chinese Proverb)";
quotes[31] = "Don't brag about your plans for tomorrow-wait and see what happens.</B><p align='right'>Bible, Proverbs of Solomon";
quotes[32] = "The chain of wedlock is so heavy that it takes three to carry it.</B><p align='right'>American Proverb";
quotes[33] = "He that mindeth not his own business shall never be trusted with mine.</B><p align='right'>Spanish Proverb";
quotes[34] = "The wise man has his own thoughts, the fool seeks thoughts in others.</B><p align='right'>Russian Proverb";
quotes[35] = "A coin a day makes a thousand coins in a thousand days. In time, a rope may saw through a tree, and dripping water can wear away stone.</B><p align='right'>Zhang Guiya, Southern Song Dynasty (Chinese Proverb)";
quotes[36] = "Don't praise yourself; let others do it!</B><p align='right'>Bible, Proverbs of Solomon";
quotes[37] = "People give nothing so willingly as advice.</B><p align='right'>American Proverb";
quotes[38] = "Chastise one that is worthless and he will presently hate you.</B><p align='right'>Spanish Proverb";
quotes[39] = "Everything goes to him who does not want it.</B><p align='right'>French Proverb";
quotes[40] = "He who asks everybody for advice, remains without advice in the end.</B><p align='right'>Russian Proverb";
quotes[41] = "Who begins too much accomplishes little.</B><p align='right'>German Proverb";
quotes[42] = "Do not use firewood to put out a fire.</B><p align='right'>Minister Su Dai, Warring States Period (Chinese Proverb)";
quotes[43] = "You can't teach an old dog new tricks.</B><p align='right'>American Proverb";
quotes[44] = "Patience does not help always; impatience never helps.</B><p align='right'>Russian Proverb";
quotes[45] = "Jealousy is more dangerous and cruel than anger.</B><p align='right'>Bible, Proverbs of Solomon";
quotes[46] = "He that is more civil than usual either wants to cozen you or has need of you.</B><p align='right'> Spanish Proverb";
quotes[47] = "He who has once burnt his mouth always blows his soup.</B><p align='right'>German Proverb";
quotes[48] = "‘Almost’ never killed a fly.</B><p align='right'>American Proverb";
quotes[49] = "A wheel that is not oiled, creaks.</B><p align='right'>Russian Proverb"; 
quotes[50] = "Wounds from a friend are better than kisses from an enemy!</B><p align='right'>Bible, Proverbs of Solomon";
quotes[51] = "The apples on the other side of the wall are the sweetest.</B><p align='right'>American Proverb";
quotes[52] = "The beard does not make the philosopher.</B><p align='right'>Italian Proverb";
quotes[53] = "Let not the opportunity pass, for it may not return.</B><p align='right'>Kuai Tong (Chinese Proverb)";
quotes[54] = "The lazy man hates even gold, if he has to drag it out of the mountain.</B><p align='right'>Russian Proverb";
quotes[55] = "Timely advice is as lovely as golden apples in a silver basket.</B><p align='right'>Bible, Proverbs of Solomon";
quotes[56] = "You never miss the water till the well runs dry.</B><p align='right'>American Proverb";
quotes[57] = "Better fall from the window than the roof.</B><p align='right'>Italian Proverb";
quotes[58] = "Even the hardiest plant will not flourish if left in the cold for ten days out of every eleven.</B><p align='right'>Mencius (Chinese Proverb)";
quotes[59] = "Even the elegant will grab a mucky pole when he is drowning.</B><p align='right'>Russian Proverb";
quotes[60] = "It is a badge of honor to accept valid criticism.</B><p align='right'>Bible, Proverbs of Solomon";
quotes[61] = "Hitch your wagon to a star.</B><p align='right'>American Proverb";
quotes[62] = "To make the cart go you must grease the wheels.</B><p align='right'>Italian Proverb";
quotes[63] = "A coin a day makes a thousand coins in a thousand days. In time, a rope may saw through a tree, and dripping water can wear away stone.</B><p align='right'>Zhang Guiya (Chinese Proverb)";
quotes[64] = "Possessions bring worries; poverty has them already.</B><p align='right'>Russian Proverb";
quotes[65] = "One who doesn't give the gift he promised is like a cloud blowing over a desert without dropping any rain.</B><p align='right'>Bible, Proverbs of Solomon";
quotes[66] = "Tell me whom you associate with, and I will tell you who you are.</B><p align='right'>American Proverb";
quotes[67] = "He who commences many things finishes but few.</B><p align='right'>Italian Proverb";
quotes[68] = "Dying embers can still start a fire.</B><p align='right'>Western Ran Dynasty (Chinese Proverb)";
quotes[69] = "Hope is more a food of the poor than of the rich.</B><p align='right'>Russian Proverb";
quotes[70] = "Be patient and you will finally win, for a soft tongue can break hard bones.</B><p align='right'>Bible, Proverbs of Solomon";
quotes[71] = "An empty bag cannot stand upright.</B><p align='right'>American Proverb";
quotes[72] = "An open countenance often conceals close thoughts.</B><p align='right'>Italian Proverb";
quotes[73] = "Find enlightenment through heeding many points of view. Find ignorance through heeding few.</B><p align='right'>Wei Zheng (Chinese Proverb)";
quotes[74] = "A small hole can sink a big ship.</B><p align='right'>Russian Proverb";
quotes[75] = "Telling lies about someone is as harmful as hitting him with an axe, or wounding him with a sword, or shooting him with a sharp arrow.</B><p align='right'>Bible, Proverbs of Solomon";
quotes[76] = "Beggars can't be choosers.</B><p align='right'>American Proverb";
quotes[77] = "Curses are like processions; they return to whence they came.</B><p align='right'>Italian Proverb";
quotes[78] = "You are only playing a single note. You should find others who can teach you how to use the other holes in your intellectual flute.</B><p align='right'>Zhou Dynasty (Chinese Proverb)";
quotes[79] = "Virginity is recognized only when it is gone.</B><p align='right'>Russian Proverb";
quotes[80] = "Putting confidence in an unreliable man is like chewing with a sore tooth, or trying to run on a broken foot.</B><p align='right'>Bible, Proverbs of Solomon";
quotes[81] = "A cracked bell can never be sound.</B><p align='right'>American Proverb";
quotes[82] = "Better have an egg today than a hen tomorrow.</B><p align='right'>Italian Proverb";
quotes[83] = "Fish big enough to swallow a boat are not found in ditches.</B><p align='right'>Yang Zhu (Chinese Proverb)";
quotes[84] = "Thirst teaches best how valuable water is.</B><p align='right'>Russian Proverb";
quotes[85] = "If your enemy is hungry, give him food! If he is thirsty, give him something to drink! This will make him feel ashamed of himself, and God will reward you.</B><p align='right'>Bible, Proverbs of Solomon";
quotes[86] = "Nothing ventured, nothing gained.</B><p align='right'>American Proverb";
quotes[87] = "They who shun the smoke often fall into the fire.</B><p align='right'>Italian Proverb";
quotes[88] = "The higher the rank I attain, the more humbly I behave. The greater my power, the less I exercise it. The richer my wealth, the more I give away. Thus I avoid envy, spite and misery.</B><p align='right'>Sun Shu Ao (Chinese Proverb)";
quotes[89] = "The man who has nothing can lose neither his money nor his purse.</B><p align='right'>Russian Proverb";
quotes[90] = "Just as it is harmful to eat too much honey, so also it is bad for men to think about all the honors they deserve!</B><p align='right'>Bible, Proverbs of Solomon";
quotes[91] = "If you want to know how much a dollar is still worth, try to borrow it from a friend.</B><p align='right'>American Proverb";
quotes[92] = "Every fool wants to give advice.</B><p align='right'>Italian Proverb";
quotes[93] = "Do not worry if others do not understand you. Worry if you do not understand them.</B><p align='right'>Confucius (Chinese Proverb)";
quotes[94] = "Honor comes by itself but glory has to be conquered.</B><p align='right'>Russian Proverb";
quotes[95] = "There is one thing worse than a fool, and that is a man who is conceited.</B><p align='right'>Bible, Proverbs of Solomon";
quotes[96] = "Half a loaf is better than none.</B><p align='right'>American Proverb";
quotes[97] = "There is no fool like a learned fool.</B><p align='right'>Italian Proverb";
quotes[98] = "Reading without thinking will confuse you. Thinking without reading will place you in danger.</B><p align='right'>Confucius (Chinese Proverb)";
quotes[99] = "Fire goes out for lack of fuel, and tensions disappear when gossip stops.</B><p align='right'>Bible, Proverbs of Solomon";
quotes[100] = "Never cross a bridge until you come to it.</B><p align='right'>American Proverb";
quotes[101] = "Wisdom is born, stupidity is learned.</B><p align='right'>Russian Proverb";
quotes[102] = "Everything may be borne except good fortune.</B><p align='right'>Italian Proverb";
quotes[103] = "Some seeds sprout but never bloom. Some bloom but never bear fruit.</B><p align='right'>Confucius (Chinese Proverb)";
quotes[104] = "The riches that are in the heart cannot be stolen.</B><p align='right'>Russian Proverb";
quotes[105] = "The unfortunate know who are their real friends.</B><p align='right'>Italian Proverb";
quotes[106] = "Only in winter do the pine and cypress show they are evergreen.</B><p align='right'>(All trees are green when times are easy.) Confucius (Chinese Proverb)";
quotes[107] = "It is better to start in the evening than not at all.</B><p align='right'>Russian Proverb";


quote_text="<B>"+ quotes[edays];
return(quote_text);
}
function getCalendarDay(n){
var dow=new Array(7)
dow[0]="Sunday"
dow[1]="Monday"
dow[2]="Tuesday"
dow[3]="Wednesday"
dow[4]="Thursday"
dow[5]="Friday"
dow[6]="Saturday"
return dow[n];
}
function getCalendarMonth(n){
var moy=new Array(12)
moy[0] = "January"
moy[1] = "February"
moy[2] = "March"
moy[3] = "April"
moy[4] = "May"
moy[5] = "June"
moy[6] = "July"
moy[7] = "August"
moy[8] = "September"
moy[9] = "October"
moy[10] = "November"
moy[11] = "December"
return moy[n];
}

