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://media.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 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 Media Productions News&nbsp;&bull;&nbsp;Information on recent events\">Important notice - browser compatibility<\/a> (<small>November&nbsp;2011<\/small>)<\/p>')}}function displayrandompd(){pdnames = new Array();pdnames[0]='&lsquo;Monday PM&rsquo;';pdnames[1]='Radio Adverts';pdnames[2]='&lsquo;Rock+&rsquo;';pdnames[3]='&lsquo;Sounds of the Sixties&rsquo;';pdnames[4]='&lsquo;Sounds of the Seventies&rsquo;';pdnames[5]='&lsquo;SaintFM Investigates&rsquo;';pdnames[6]='&lsquo;The Sunday Night Rock Show&rsquo;';pdnames[7]='Reading the International News on SaintFM';pdnames[8]='Fun Stuff';pdnames[9]='&lsquo;Music for Peace &amp; World Unity&rsquo;';pdnames[10]='Other Activities';pdlinks = new Array();pdlinks[0]='mondaypm.htm';pdlinks[1]='radioadverts.htm';pdlinks[2]='rockplus.htm';pdlinks[3]='soundsofthesixties.htm';pdlinks[4]='soundsoftheseventies.htm';pdlinks[5]='saintfminvestigates.htm';pdlinks[6]='sundaynightrockshow.htm';pdlinks[7]='saintfminternationalnews.htm';pdlinks[8]='funstuff.htm';pdlinks[9]='musicforpeaceandworldunity.htm';pdlinks[10]='otheractivities.htm';pdsubtitles = new Array();pdsubtitles[0]='Something different on a Monday afternoon';pdsubtitles[1]='Getting the message across';pdsubtitles[2]='Rock, events, and whatever&rsquo;s topical';pdsubtitles[3]='A look at the 1960s in music and words';pdsubtitles[4]='A look at the 1970s in music and words';pdsubtitles[5]='An offbeat look at a topical subject';pdsubtitles[6]='Classic Rock for a Sunday evening';pdsubtitles[7]='Keeping St.&nbsp;Helena up-to-date';pdsubtitles[8]='Various things we produced just because . . .';pdsubtitles[9]='A special programme';pdsubtitles[10]='Some to note';pdimages = new Array();pdimages[0]='mondaypmimage.jpg';pdimages[1]='radioadvertsimage.jpg';pdimages[2]='rockplusimage.jpg';pdimages[3]='soundsofthesixtiesimage.jpg';pdimages[4]='soundsoftheseventiesimage.jpg';pdimages[5]='saintfminvestigatesimage.jpg';pdimages[6]='sundaynightrockshowimage.jpg';pdimages[7]='internationalnews.jpg';pdimages[8]='funstuffimage.jpg';pdimages[9]='musicforpeace.jpg';pdimages[10]='otheractivitiesimage.jpg';var pdd = new Date() % 11;document.write('<p class=\"randjavapd\"><b>One of our productions:<\/b>&nbsp; <a href=\"'+pdlinks[pdd]+'\" title=\"Click for: '+pdnames[pdd]+'&nbsp;&bull;&nbsp;'+pdsubtitles[pdd]+'\"><img src=\"'+pdimages[pdd]+'\" alt=\"Click for: '+pdnames[pdd]+'&nbsp;&bull;&nbsp;'+pdsubtitles[pdd]+'\" height=\"12\" />&nbsp; '+pdnames[pdd]+'&nbsp;&bull;&nbsp;'+pdsubtitles[pdd]+'<\/a><\/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 */

