var beginDate=new Date(2005,10,1)
var wordList=new Array()
addWord("ABLEISM n. - Discrimination in favor of those who are not physically or mentally challenged.")
addWord("BOXBALL n. - A form of baseball played by children using a tennis ball, with the batter's strike zone drawn on a wall.")
addWord("CHYTRID n. - A microscopic fungus found in fresh water and soil that feeds on decaying organic matter or on other living organisms such as algae, other fungi, or plants.")
addWord("DICAMBA n. - A chlorinated organic herbicide.")
addWord("EUSTASY n. - A worldwide change in sea level caused, e.g. by melting glaciers.")
addWord("FLEHMEN n. - A behavioral response of many male mammals, esp. deer, antelope, and other artiodactyls, consisting of lip curling and head raising after sniffing a female's urine.")
addWord("GODETIA n. - A North American plant with showy lilac to red flowers.")
addWord("HOTLINK n. - A connection between two files that automatically updates one whenever the other is updated.")
addWord("IGUANID n. - Lizards of the New World and Madagascar and some Pacific islands; typically having a long tail and bright throat patch in males.")
addWord("JAGGIES n.pl. - A jagged, stairstep effect on curved or diagonal lines that are reproduced in low resolution, as on a printout or computer display.")
addWord("KEYPALS n.pl. - Somebody with whom regular e-mail is exchanged.")
addWord("LIRIOPE n. - Any of several plants belonging to the genus Liriope, of the lily family, having tufted, grasslike leaves and clusters of small bluish or white flowers.")
addWord("MIZUNAS n. - An edible plant (Brassica rapa var. nipposinica) in the mustard family, having dark green, glossy, feathery leaves and white stems.")
addWord("NEATNIK n. - One who is habitually neat and orderly.")
addWord("OSIERED a. - Covered or adorned with osiers; as, osiered banks.")
addWord("PRELOAD n. - The load to which a muscle is subjected before shortening.")
addWord("QUELEAS n. - An African weaverbird of the genus Quelea, especially Q. quelea, a small red-billed bird that is extremely destructive to grain crops.")
addWord("RIPSAW n. - A coarse-toothed saw used to cut wood in the direction of the grain.")
addWord("SANTOOR n. - South Asian musical instrument resembling dulcimer.")
addWord("TARDIVE adj. - Having symptoms that develop slowly or appear long after inception. Used of a disease.")
addWord("UNIBODY n. - Of a vehicle, a one-piece frame and body structure.")
addWord("VANLOAD n. - The amount of goods or passengers that a van can transport at one time.")
addWord("WAITRON n. - U.S. occupations (slang) Same as waiter.")
addWord("XENOPUS n. - A water frog. Native to: southern Africa.")
addWord("YOHIMBE n. - A tropical African tree, Corynanthe johimbe, whose bark is a source of the alkaloid yohimbine.")
addWord("ZEBRANO n. - A genus in the family Fabaceae (legume family).")
addWord("ZUGZWANG n. - Disadvantageous chess situation, force into bad chess position.")
addWord("POCOSONS n.pl. - Low, wooded grounds or swamps in Eastern Maryland and Virginia.")
addWord("PANTALET n. - Long underpants trimmed with ruffles extending below the skirt, worn by women in the mid-19th century. Often used in the plural.")
addWord("REUPTAKE n. - The reabsorption of neurotransmitters by the nerve cells that produced them.")
addWord("POSTPUNK n.pl. - A musical movement beginning at the end of the 1970s, following on the heels of the initial punk rock explosion.")
function addWord(aWordWithDef)
{wordList[wordList.length]=aWordWithDef;}
function showWordOfDay()
{if(wordList.length>0)
{var now=new Date();var monthsDiff=12*(now.getYear()-beginDate.getYear())+now.getMonth()-beginDate.getMonth()
var daysDiff=(31*monthsDiff)+now.getDate()-beginDate.getDate()
var index=daysDiff%wordList.length
while(index<0)index+=wordList.length
var word=wordList[index]
document.getElementById('WordOfDay').innerHTML=word}
else
{alert("No words were found in the word list, the Word Of The Day cannot be displayed");}};var now=new Date();var days=new Array('Sunday','Monday','Tuesday','Wednesday','Thursday','Friday','Saturday');var months=new Array('January','February','March','April','May','June','July','August','September','October','November','December');var date=((now.getDate()<10)?"0":"")+now.getDate();function fourdigits(number){return(number<1000)?number+1900:number;}
today=days[now.getDay()]+", "+
months[now.getMonth()]+" "+
date+", "+
(fourdigits(now.getYear()));
