
today = new Date()
date = today.getDate()
month = today.getMonth()

// =======================
function getTodaydata() {
totDyk = dyk.length
dayNum = (Math.floor(today.getTime() / (1000 * 60 * 60 * 24)) % totDyk)

if (otd[month][date] != "") {
return "<div class='adbox'><p class='ad2'>" + otd[month][date] + "</p></div>"
}
else if (dyk[dayNum] != "") {
return "<div class='adbox'><p class='ad2'>" + dyk[dayNum] + "</p></div>"
//return "<div class='adbox'><p class='ad2'>" + dyk[Math.floor((Math.random() * totDyk)) % totDyk] + "</p></div>"
}
return
}
// =======================

memoriam = ""
if (date == 26 && month == 4){
memoriam = "<div class='memoriam'>Today is the anniversary of my mother&#8217;s death &#8211; on her 85th birthday<br /><span>Gladys Isabel Hanson (n&#233;e Randell)</span><br />1910-1995</div>"
}

if (date == 13 && month == 6){
memoriam = "<div class='memoriam'>Today is the anniversary of my father&#8217;s death<br /><span>Reginald Francis Leonard Hanson</span><br />1908-1995</div>"
}

//=========================


var totPic = 16
function choosePic() {
  if (document.images) {
  dayNum = (Math.floor(now.getTime() / (1000 * 60 * 60 * 24)) % totPic) + 1
  if (date == 5 && month == 5) dayNum = 4
  if (date == 13 && month == 10) dayNum = 1
  todayPic = "000" + dayNum
  todayPic = todayPic.substring(todayPic.length-4,todayPic.length)
  }
}
//=========================

function bonMot() {
totMot = mot.length
return "<div id='bonmot'>" + mot[Math.floor((Math.random() * totMot)) % totMot] + "</div>"
}

mot = new Array (
"Peace &amp; Plenty, the Reward of Temperance.",
"Power tends to corrupt and absolute power corrupts absolutely.<p class='credit'>(First Baron Acton)</p>",
"Even God cannot change the past.<p class='credit'>(Agathon)</p>",
"What&#8217;s the use of worrying?<br />It never was worthwhile,<br />So, pack up your troubles in your old kit-bag,<br />And smile, smile, smile.<p class='credit'>(George Asaf)</p>",
"Journalists say a thing that they know isn&#8217;t  true, in the hope that if they keep saying it long enough it will be true.<p class='credit'>(Enoch Arnold Bennett)</p>",
"The art of Biography,<br />Is different from Geography.<br />Geography is about maps,<br />But Biography is about chaps.<p class='credit'>(Edmund Clerihew Bentley)</p>",
"In England there are sixty different religions, and only one sauce.<p class='credit'>(Francesco Caraccioli)</p>",
"Life is an incurable disease.<p class='credit'>(Abraham Cowley)</p>",
"What is this life if, full of care, We have no time to stand and stare?<p class='credit'>(W H Davies)</p>",
"I think, therefore I am.<p class='credit'>(Descartes)</p>",
"Time is the great physician.<p class='credit'>(Benjamin Disraeli)</p>",
"Genius is one percent inspiration and ninety-nine percent perspiration.<p class='credit'>(Thomas Alva Edison)</p>",
"Quod est demonstrandum.<p class='credit'>(Euclid)</p>",
"History is bunk.<p class='credit'>(Henry Ford)</p>",
//"Justice should not only be done, but manifestly and undoubtedly be seen to be done.<p class='credit'>(Lord Hewart)</p>",
"Life is just one damned thing after another.<p class='credit'>(Elbert Hubbard)</p>",
"Cheer up, the worst is yet to come.<p class='credit'>(Philander Chase Johnson)</p>",
"You ain&#8217;t heard nothin&#8217; yet, folks.<p class='credit'>(Al Jolson)</p>",
"The ballot is stronger than the bullet.<p class='credit'>(Abraham Lincoln)</p>",
"Slow and steady wins the race.<p class='credit'>(Robert Lloyd)</p>",
"England expects that every man will do his duty.<p class='credit'>(Nelson)</p>",
"The man who makes no mistakes does not usually make anything.<p class='credit'>(Edward John Phelps)</p>",
"To err is human, to forgive, divine.<p class='credit'>(Alexander Pope)</p>",
"A little learning is a dang&#8217;rous thing.<p class='credit'>(Alexander Pope)</p>",
"Fools rush in where angels fear to tread.<p class='credit'>(Alexander Pope)</p>",
"The golden rule is that there are no golden rules.<p class='credit'>(George Bernard Shaw)</p>",
"It takes two to speak the truth &#8211; one to speak, and another to listen.<p class='credit'>(Henry David Thoreau)</p>",
"Genealogy: is it a thing of the past?",
"Important families are like potatoes. The best parts are underground.<p class='credit'>(Francis Bacon)</p>",
"All happy families resemble each other, each unhappy family is unhappy <nobr>in its own way.</nobr><p class='credit'>(Leo Tolstoy)</p>"
)




otd = new Array (

// January
[0,
"", //"otd style='background:#eff8ad;border-color:#b5bd31;''><SPAN>Happy New Year</SPAN>", //1
"", //2
"", //3
"", //4
"", //5
"", //6
"", //7
"", //8
"", //9
"", //10
"", //11
"", //12
"", //13
"", //14
"On this day in 1880 the first London telephone directory was published &#8211; it contained 255 names.", //15
"", //16
"", //17
"", //18
"", //19
"", //20
"", //21
"", //22
"", //23
"", //24
"", //25
"", //26
"", //27
"", //28
"", //29
"", //30
""  //31
],

// February
[0,
"", //1
"", //2
"", //3
"", //4
"", //5
"", //6
"", //7
"", //8
"", //9
"", //10
"", //11
"", //12
"", //13
"", //"otd><IMG SRC='valtine1.gif' HEIGHT=45 WIDTH=37 align=absmiddle><SPAN style='color: magenta;'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;St Valentine&#8217;s Day&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><IMG SRC='valtine2.gif' HEIGHT=45 WIDTH=37 align=absmiddle>", //14
"", //15
"", //16
"", //17
"", //18
"", //19
"", //20
"", //21
"", //22
"", //23
"", //24
"", //25
"", //26
"", //27
"", //28
"" //29
],

// March
[0,
"", //"otd><IMG SRC='wales.gif' HEIGHT=40 WIDTH=62 align=absmiddle><SPAN>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;St David&#8217;s Day</SPAN>", //1
"", //2
"", //3
"", //4
"", //5
"", //6
"", //7
"", //8
"", //9
"On this day in 1876 the first telephone call was made by Alexander Graham Bell to Thomas Watson.", //10
"", //11
"", //12
"", //13
"", //14
"&#8216;Beware the Ides of March&#8217;", //15
"", //16
"", //"otd><IMG SRC='shamrock.gif' HEIGHT=42 WIDTH=34 align=absmiddle><SPAN style='color: green;'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;St Patrick&#8217;s Day&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><IMG SRC='shamrock.gif' HEIGHT=42 WIDTH=34 align=absmiddle>", //17
"", //18
"", //19
"", //20
"", //21
"", //22
"", //23
"", //24
"", //25
"", //26
"", //27
"", //28
"", //29
"On this day in 1840 Regency dandy &#8216;Beau&#8217; Brummel died penniless in a French poorhouse aged 62 after fleeing from his creditors.", //30
""  //31
],

// April
[0,
"", //"otd><SPAN>All Fools&#8217;s Day</SPAN>", //1
"", //2
"", //3
"", //4
"", //5
"On this day in 1580 an earthquake shook London, killing two people and damaging old St Paul&#8217;s.", //6
"", //7
"", //8
"", //9
"", //10
"", //11
"", //12
"", //13
"On this day in 1360 the weather was so severe that there were reports of men freezing to death on horseback.", //14
"", //15
"", //16
"", //17
"", //18
"", //19
"", //20
"", //21
"", //22
"", //"otd><IMG SRC='england.gif' HEIGHT=40 WIDTH=62 align=absmiddle><SPAN>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;St George&#8217;s Day</SPAN>", //23
"", //24
"", //25
"", //26
"", //27
"", //28
"", //29
"" //30
],

// May
[0,
"", //1
"", //2
"", //3
"", //4
"", //5
"", //6
"", //7
"", //8
"", //9
"", //10
"", //11
"", //12
"", //13
"", //14
"", //15
"", //16
"", //17
"", //18
"", //19
"", //20
"", //21
"", //22
"", //23
"", //24
"", //25
"", //26
"", //27
"", //28
"", //29
"", //30
""  //31
],

// June
[0,
"", //1
"", //2
"", //3
"", //4
"On this day in 1932 my parents, Reginald Francis Leonard Hanson and Gladys Isabel Randell, were married. (Pictured above)", //5
"", //6
"", //7
"", //8
"", //9
"", //10
"", //11
"", //12
"", //13
"", //14
"", //15
"", //16
"", //17
"", //18
"", //19
"", //20
"", //21
"", //22
"", //23
"", //24
"", //25
"", //26
"", //27
"", //28
"On this day in 1905 the Automobile Association was set up by motorists angered by police harassment, and to warn drivers of speed traps.", //29
"" //30
],

// July
[0,
"On this day in 1838, at the Linnean Society in London, Charles Darwin and naturalist Alfred Russel Wallace presented a paper setting out their theory of evolution.", //1
"", //2
"", //3
"", //4
"", //5
"", //6
"", //7
"", //8
"", //9
"", //10
"", //11
"", //12
"", //13
"On this day in 1867 Alfred Nobel, now famous for his Peace Prize, first demonstrated dynamite in a quarry at Redhill, Surrey.", //14
"Today is St Swithun&#8217;s Day. According to folklore, if it rains on this day it will rain for the next 40 days.", //15
"", //16
"On this day in 1917 the Royal Family changed its surname from Saxe-Coburg-Gotha to Windsor.", //17
"", //18
"On this day in 1799 the Rosetta Stone was discovered in Egypt.", //19
"", //20
"", //21
"", //22
"", //23
"", //24
"", //25
"", //26
"", //27
"", //28
"", //29
"", //30
""  //31
],

// August
[0,
"", //1
"", //2
"", //3
"", //4
"", //5
"", //6
"On this day in 1840 the sending of boys younger than 16 years of age up chimneys as sweeps was made illegal by Act of Parliament.", //7
"", //8
"", //9
"", //10
"", //11
"", //12
"", //13
"", //14
"", //15
"", //16
"", //17
"", //18
"", //19
"", //20
"", //21
"", //22
"", //23
"", //24
"", //25
"", //26
"", //27
"", //28
"", //29
"", //30
""  //31
],

// September
[0,
"", //1
"", //2
"", //3
"", //4
"", //5
"", //6
"", //7
"", //8
"", //9
"", //10
"", //11
"", //12
"", //13
"", //14
"", //15
"On this day in 1620 the <I>Mayflower</I> set sail from Plymouth bound for the New World.", //16
"", //17
"", //18
"", //19
"", //20
"", //21
"", //22
"", //23
"", //24
"", //25
"", //26
"", //27
"", //28
"", //29
"" //30
],

// October
[0,
"", //1
"", //2
"", //3
"", //4
"", //5
"", //6
"", //7
"", //8
"", //9
"", //10
"", //11
"", //12
"On this day in 1884 Greenwich was adopted as the universal time meridian of longitude, from which standard times throughout the world are calculated.", //13
"", //14
"", //15
"", //16
"", //17
"", //18
"", //19
"", //20
"<p style='color:maroon; text-align:center'>England expects that every man will do his duty.<p class='credit' style='margin-bottom:6pt'>(Horatio Nelson)", //21
"", //22
"", //23
"", //24
"", //25
"", //26
"", //27
"", //28
"", //29
"", //30
""  //31
],

// November
[0,
"On this day in 1922 the first radio licences went on sale in Britain at a cost of ten&nbsp;shillings&nbsp;a&nbsp;year.", //1
"", //2
"On this day in 1534 the English parliament accepted the Act of Supremacy, putting King Henry VIII in place of the Pope at the head of the English Church.", //3
"", //4
"On this day in 1605 Guy Fawkes was caught trying to blow up the Houses of Parliament. He was executed for treason.", //5
"", //6
"", //7
"", //8
"On this day in 1868 an Act of Parliament was passed declaring voting by women illegal. An earlier act allowed all ratepayers to vote without specifying that they must be male.", //9
"", //10
"Most towns and villages have War Memorials, erected by public subscription following the Great War. These record the names of local people who fought and died. See <a href=\"http://collections.iwm.org.uk/server.php?show=nav.00g00c\" onclick=\"blankWindow(this);return false\"><i>National Inventory of War Memorials</i></a>", //11
"", //12
"On this day in 1883 my great-grandparents Horatio & Eliza Randell and 12-year-old Horatio Frederick set sail for Queensland aboard the SS Corona. (Pictured above)<br /><a href='ozdiary.htm'>Read my great-grandfather&#8217;s diary of the voyage.</a>", //13
"", //14
"", //15
"", //16
"", //17
"", //18
"", //19
"", //20
"", //21
"", //22
"", //23
"On this day in 1715 the River Thames in London froze over with ice so thick that a Frost Fair was held&nbsp;on&nbsp;it.", //24
"", //25
"On this day in 1703 England experienced the &#8216;great storm&#8217;, in which an estimated 8,000 people died.", //26
"", //27
"", //28
"", //29
"", //"otd><IMG SRC='scotland.gif' HEIGHT=40 WIDTH=62 align=absmiddle><SPAN style='color: blue;'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;St Andrew&#8217;s Day</SPAN>" //30
],

// December
[0,
"", //1
"", //2
"", //3
"", //4
"", //5
"", //6
"", //7
"", //8
"", //9
"On this day in 1907 Rudyard Kipling became the first British winner of the Nobel Prize for Literature.", //10
"", //11
"", //12
"", //13
"", //14
"", //15
"On this day in 1653 Oliver Cromwell became Lord Protector of England, Scotland and Ireland.", //16
"", //17
"", //18
"", //19
"", //20
"", //21
"", //22
"", //23
"", //24
"", //"otd style='background:#ffb573; border-color:red;'><SPAN>Merry Christmas</SPAN>", //25
"", //26
"", //27
"", //28
"", //29
"", //30
""  //31
]

);



dyk = new Array (

"Thomas John &#8216;Dr&#8217; Barnado founded his first orphanage for destitute children in the East End of London in 1870. He was known as &#8216;The Foster-Father of Nobody&#8217;s Children&#8217;.",
"The first Huguenot refugees arrived in England in the mid 1500s. In 1685 there was an influx of at least 40,000 after the Revocation of the Edict of Nantes. They settled principally in London and the towns of eastern and south-eastern England, notably Canterbury, Maidstone, Norwich, Sandwich, and Southampton. On arrival in England, many Huguenots applied for denization or naturalization.",
"Bigamy is the crime of marrying when one is already married. It wasn&#8217;t until 1857 that it became possible to obtain a divorce without an Act of Parliament.",
"George Fox (1624-1691), the son of a Leicestershire weaver, was founder of the religious Society of Friends. His followers were known contemptuously as Quakers from the trembling and shaking that characterized their behaviour at early meetings.",
"Queen Victoria reigned from 20 June 1837 to 22 January 1901 &#8211; a total of 63 years and 216 days.",
"By the mid-19th century, many urban churchyards were full and unable to accommodate any more burials. In order to deal with the problem municipal authorities, burial boards, and private companies established new cemeteries not linked to the churches. Some nonconformist cemeteries had also been established.",
"In 1741 Thomas Coram opened his first Foundling Hospital, in London. Infants were placed in a basket outside the door, which was connected to a bell. No attempt was made to trace the mother.",
//"Slavery was abolished in the British Empire in 1833 and in the USA at the end of the Civil War 1863-65.",
"Jethro Tull (1674-1741), an English farmer, invented the drill for sowing seed.",
"Sir Robert Walpole (1676-1745) was Britain&#8217;s first prime minister.",
"John Wesley (1703-1791) the founder of Methodism, travelled many thousands of miles preaching. His last open-air sermon was in Winchelsea, Sussex on 7th October 1790. His brother, Charles (1707-1788) wrote over 6,000 hymns.",
"Sir Christopher Wren (1632-1723) built more than 50 churches in London &#8211; including St Paul&#8217;s Cathedral.",
"William Booth (1829-1912) founded the Christian Mission in 1865. This was later re-named as the Salvation Army.",
"Lord Baden-Powell (1857-1941) defended Mafeking in the Boer War. In 1908 he founded the Boy Scout movement.",
"London houses did not acquire street numbers until 1763 &#8211; 300 years after Paris introduced the idea.",
"The Domesday Book was the earliest systematic survey of land ownership in England. It was drawn up by order of William the Conqueror in 1086 to record who owned what before and after the Norman Conquest.",
"The word &#8216;teetotal&#8217; was inadvertantly coined by Dicky Turner (one of the &#8216;seven men of Preston&#8217;) who stuttered when saying that he would be a <em>total</em>&nbsp;abstainer.<br />His tombstone reads: &#8216;Beneath this stone are deposited the remains of Richard Turner, author of the word <em>Teetotal</em> as applied to abstinence from all intoxicating liquors, who departed this life on the 27th day of October 1846, aged 56 years.&#8217;",
"The Hundred Years&#8217; War lasted for 116 years! It was a series of battles between Britain and France between 1337 and 1453."
);


