function BookmarkAndShare(){document.writeln('<table border=\"0\"><tr valign=\"top\"><td><p class=\"bookmarkandshare\">Bookmark &amp; share: ');if (window.sidebar){document.writeln('<\/p><\/td><td><p class=\"bookmarkandshare\">');document.writeln("<a href=\"javascript:window.sidebar.addPanel(document.title, document.URL,\"\"); \" title=\"Add to browser Favourites\"><img src=\"http://shared.burghhouse.com/addtofavourites.gif\" alt=\"Add To Browser Favourites\" width=\"20\" height=\"20\" /><\/a>")}else if(window.external){document.writeln('<\/p><\/td><td><p class=\"bookmarkandshare\">');document.writeln("<a href=\"javascript:window.external.AddFavorite(document.URL,document.title); \" title=\"Add to browser Favourites\"><img src=\"http://shared.burghhouse.com/addtofavourites.gif\" alt=\"Add To Browser Favourites\" width=\"20\" height=\"20\" /><\/a>")};document.writeln('<\/p><\/td><td><p class=\"bookmarkandshare\">');document.writeln("<a href=\"http://twitter.com/share\" target=\"_blank\" class=\"twitter-share-button\" data-count=\"none\" title=\"Tweet with Twitter\">Tweet<\/a>");document.writeln("<script type=\"text/javascript\" src=\"http://platform.twitter.com/widgets.js\"><\/script>");document.writeln('<\/p><\/td><td><p class=\"bookmarkandshare\">');document.writeln('<iframe src=\"http://www.facebook.com/plugins/like.php?href=http://software.burghhouse.com/\" scrolling=\"no\" frameborder=\"0\" style=\"border:none; width:50px; height:25px\" allowTransparency=\"true\" title=\"Like in Facebook\"><\/iframe>');document.writeln('<\/p><\/td><td><p class=\"bookmarkandshare\">');document.writeln("<script type=\"text/javascript\">var addthis_pub=\"burghhouse\";<\/script>");document.writeln("<a href=\"http://www.addthis.com/bookmark.php\" onmouseover=\"return addthis_open(this, '', document.URL, document.title)\" onmouseout=\"addthis_close()\" onclick=\"return addthis_sendto()\" title=\"Share in various social networking systems\"><img src=\"http://s7.addthis.com/static/btn/sm-plus.gif\" width=\"20\" height=\"20\" alt=\"Share in various social networking systems\" /><\/a>");document.writeln("<script type=\"text/javascript\" src=\"http://s7.addthis.com/js/152/addthis_widget.js\"><\/script>");document.writeln('<\/p><\/td><\/tr><\/table>');return false};function ImageDisplayPage(linktarget, titletext, alttext){tempImagePage = window.open();tempImagePage.document.write('<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\"><html xmlns=\"http://www.w3.org/1999/xhtml\" xml:lang=\"en\" >'+'<head>'+'<title>Image display page: '+titletext+'<\/title>'+'<meta http-equiv=\"content-type\" content=\"text/html;charset=iso-8859-1\" />'+'<link type=\"text/css\" rel=\"stylesheet\" href=\"normal.css\" />'+'<\/head>'+'<body>'+'<p class=\"pagetitle\">Image display page<\/p>'+'<p class=\"pagesubtitle\">'+titletext+'<\/p>'+'<p class=\"center\"><small>This image has been opened in a new window or tab which you can close after viewing<\/small><\/p>'+'<p class=\"center\"><img src=\"'+linktarget+'\" alt=\"'+alttext+'\" /><\/p>'+'<p class=\"footer\">From '+tempImagePage.opener.location+'<\/p>'+'<p class=\"footer\">At '+tempImagePage.document.lastModified.toLocaleString()+'<\/p>'+'<\/body>'+'<\/html>');tempImagePage.document.close();tempImagePage.defaultStatus=tempImagePage.document.title};function PeriodOfDay(){var today = new Date();var hrs = today.getHours();if (hrs < 12){return'morning'}else if (hrs < 18){return'afternoon'}else{return'evening'}};function goodPeriodOfDay(){document.write('Good '+PeriodOfDay()+'.')};function proceedifbefore(pibDate){var datenow = new Date();var datenownum = Date.parse(datenow);var pibDatenum = Date.parse(pibDate);return (datenownum < pibDatenum)};function reportLocalTimeUpdater(){if (!document.all&&!document.getElementById) return;var spanObject = document.getElementById? document.getElementById("updateTimeID"): document.all.updateTimeID;var dateUser = new Date();var dateGMT = new Date(dateUser.getUTCFullYear(), dateUser.getUTCMonth(), dateUser.getUTCDate(), dateUser.getUTCHours(), dateUser.getUTCMinutes(), dateUser.getUTCSeconds());spanObject.innerHTML=dateGMT.toLocaleString();setTimeout("reportLocalTimeUpdater()",1000)};function reportLocalTime(priorText, postText){document.write(priorText+'<span id=\"updateTimeID\"><\/span>'+postText);reportLocalTimeUpdater()};var SecurityStringAlpha ="";var SecurityStringDigits ="";var SecurityStringAll ="";var SecurityStringSelected ="";var SetupSecurityCodeLen = 5;function SetupSecurityCode(){var result = GenerateSecurityString();if (SecurityStringDigits.length < SecurityStringAlpha.length){ToFoilSpammersMsg.innerText ="Please enter just the DIGITS from the following: "+SecurityStringAll;SecurityStringSelected = SecurityStringDigits}else{ToFoilSpammersMsg.innerText ="Please enter just the NON-DIGITS from the following: "+SecurityStringAll;SecurityStringSelected = SecurityStringAlpha};return true};function GenerateSecurityString(){var CharNum = 0;SecurityStringAlpha ="";SecurityStringDigits ="";SecurityStringAll ="";SecurityStringSelected ="";while ((SecurityStringAlpha.length < SetupSecurityCodeLen) || (SecurityStringDigits.length < SetupSecurityCodeLen)){if (Math.random() < 0.5){CharNum = Math.round(Math.random()*7)+50;SecurityStringDigits += String.fromCharCode(CharNum)}else{do{CharNum = Math.round(Math.random()*26)+65}while ((CharNum == 64) || (CharNum == 73) || (CharNum == 79) || (CharNum == 91));SecurityStringAlpha += String.fromCharCode(CharNum)};SecurityStringAll += String.fromCharCode(CharNum)+' '};return true};function Reset(){document.emailform.elements[1].value ="";document.emailform.elements[2].value ="";document.emailform.elements[1].focus();SetupSecurityCode()};function submitForm(){if (isValidEntry()){if (confirm("Your message is:\n"+document.emailform.elements[1].value+"\nOK to send?")){return true}else{return false}}else{return false}};function isValidEntry(){var str = document.emailform.elements[1].value;while (str.charAt(0) ==" "){str = str.slice(1)};document.emailform.elements[1].value = str;if (str ==""){alert("The message field is blank.\nPlease enter your message.");document.emailform.elements[1].focus();return false}else{if (document.emailform.elements[2].value.toUpperCase() != SecurityStringSelected.toUpperCase()){alert("The security code was not correct.\nPlease try again.");document.emailform.elements[2].value ='';document.emailform.elements[2].focus();return false}else{return true}}};function doAnimalTrivia(){document.write("<table bgcolor=#FFFFFF border=1 cellpadding=2 cellspacing=0 width=100%>");document.write("<tr><td valign=top align=center bgcolor=#EEE8AA>");document.write("<font face=arial,helvetica size=-1 color=#FF0000><b>Animal Trivia<\/b><\/font>");document.write("<\/td><\/tr>");document.write("<tr><td valign=top align=center bgcolor=#F5F5DC>");document.write("<font face=arial,helvetica size=-1 color=#00008B><br>");RandomDate = new Date();RandomNo = (RandomDate.getMilliseconds());if (RandomNo < 50){document.write(" The family Theraphosadae (spider), holds the record for the heaviest spider. A female specimen collected in Surinam weighed a whopping 4.3 ounces. She also had 1 inch fangs. ")}else if (RandomNo < 100){document.write(" Nurse bees heads exude Royal Jelly to feed larvae and the queen. ")}else if (RandomNo < 150){document.write(" A starfish can turn its stomach inside out. ")}else if (RandomNo < 200){document.write(" Kangaroos are found in Australia, Tasmania, and New Guinea. Most are terrestrial and all are herbivorous, grazing and browsing for their food. ")}else if (RandomNo < 250){document.write(" Ostriches are often not taken seriously. They can run faster than horses, and the males can roar like lions. ")}else if (RandomNo < 300){document.write(" An elephant can smell water 3 miles away. ")}else if (RandomNo < 350){document.write(" A 7-year study, which concluded in the summer of 2000, found that 33 U.S. deaths were caused by rottweilers, pit bulls were responsible for 27 deaths. ")}else if (RandomNo < 400){document.write(" Most sharks give birth to live sharks which are called pups. Other sharks lay eggs which are called Mermaid's Purse. ")}else if (RandomNo < 450){document.write(" The Narwhal has a long horn which protrudes from the front of its head and it is actually an overgrown tooth. Sailors, many years ago thought it was related to the mythical unicorn! ")}else if (RandomNo < 500){document.write(" A shark can grow a new set of teeth in a week. ")}else if (RandomNo < 550){document.write(" Elephants can't jump. ")}else if (RandomNo < 600){document.write(" Rats rely predominantly on smell, taste, touch and hearing as opposed to vision. They move around mainly in the dark, using their long, sensitive whiskers and the guard hairs on their body to guide them. ")}else if (RandomNo < 650){document.write(" The only dog to ever appear in a Shakespearean play was Crab in The Two Gentlemen of Verona ")}else if (RandomNo < 700){document.write(" When cats are 'declawed' they are actually having their 3rd phalanx removed. It is the equivalent of you having your fingers cut off at the 3rd knuckle. ")}else if (RandomNo < 750){document.write(" On average, dogs have better eyesight than humans, although not as colorful. ")}else if (RandomNo < 800){document.write(" The world's largest rodent is the Capybara. An Amazon water hog that looks like a guinea pig, it can weigh more than 100 pounds. ")}else if (RandomNo < 850){document.write(" A woodpecker can peck twenty times a second. ")}else if (RandomNo < 900){document.write(" Rats are omnivorous, eating nearly any type of food, including dead and dying members of their own species. ")}else if (RandomNo < 950){document.write(" Whales belong to the mammalian order Cetacea, and are divided into two groups, Baleen (or whale-bone) whales and Toothed whales. ")}else{document.write(" The lifespan of a squirrel is about nine years. ")};document.write("<br><br><\/font>");document.write("<\/td><\/tr>");document.write("<tr><td valign=top align=center bgcolor=#EEE8AA>");document.write("<font face=arial,helvetica size=-2 color=red>");document.write("Free webcontent from <a href=http://www.davidpye.com target=newpage>www.davidpye.com<\/a><\/font>");document.write("<\/td><\/tr><\/table>")};function doAnnounce(){if (proceedifbefore('25 November 2009 23:59')){document.write('<table style=\"width:100%;\" cellpadding=\"10\"><tr><td class=\"announcebox\"><table style=\"width:100%;\"><tr><td class=\"announcetext\"><p class=\"announcehead\">Announcement<\/p><p class=\"announcetext\">Cable &amp; Wireless South Atlantic is moving buildings and keeps disconnecting Internet access to and from St.&nbsp;Helena.&nbsp; This will not affect this website, as it is hosted in the UK, but it may cause a delay in replying to emails.&nbsp; Sorry.<\/p><\/td><\/tr><\/table><\/td><\/tr><\/table>')}}function checkPageWidth(){if (document.body.clientWidth < 1000){document.writeln('<p class=\"pagewidthwarning\">A minimum viewing window of 1000 pixels is recommended for this site.<\/p>')}};function googleCustomSearchHeadline(){document.write('<p style=\"color:#0f0f0f;background:#f0f0f0;\">Search all the Burgh House Limited sites with Google&trade; Custom Search:<\/p>')};function googleTranslateHeader(){document.write('<p style=\"color:#0f0f0f;background:#f0f0f0;\"><img src=\"http://shared.burghhouse.com/googletranslateflagsbanner.jpg\" alt=\"Translate this page, using Google&trade; Translate\" width=\"300\" \/><\/p>');document.write('<p style=\"color:#0f0f0f;background:#f0f0f0;float:left;\">traducir&nbsp; &ouml;vers&auml;tta&nbsp; vertalen&nbsp; &uuml;bersetzen&nbsp; tradurre<\/p>')};function displaynewsheadline(){var testDate = new Date(2011,11,29,0,0,0,1);if (proceedifbefore(testDate.toLocaleString())){document.writeln('<p class=\"newshead\" title=\"Click on the link to read the most recent news item\">LATEST NEWS:&nbsp; <a href=\"news.htm#newsitem0001\" title=\"Click for: Burgh House Software News&nbsp;&bull;&nbsp;Information on recent events\">Important notice - browser compatibility<\/a> (<small>November&nbsp;2011<\/small>)<\/p>')}}function socialNetworkingExplain(){document.write("<p>There are now just four buttons, looking like this:&nbsp;<\/p>");BookmarkAndShare();document.write("<p>The first helps you bookmark the page in your browser.  The second is for linking to Twitter&trade;.  The third is the Facebook&trade; 'Like' button.  The last links to 'Add This', a route to a wide variety of other social networking sites.<\/p>");document.write("<p>You will find these buttons towards the bottom of each page.  We hope you find these links useful.<\/p>")};/* Copyright (c) Burgh House Limited 2012 all rights reserved */

