function doAnnounce(){if (proceedifbefore('25 November 2009 23:59')){document.write('<table cellpadding=\"10\" width=\"100%\"><tr><td class=announcebox>');document.write('  <table width=\"100%\"><tr><td class=announcetext>');document.write('    <p class=announcehead>Announcement<\/p>');document.write('    <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>');document.write('  <\/td><\/tr><\/table>');document.write('<\/td><\/tr><\/table>')}}
function PresentBookmarkOpportunity(){document.writeln('<p class=normal>Bookmark this page:&nbsp;');if (window.sidebar){document.writeln("<a href=\"javascript:window.sidebar.addPanel(document.title, document.URL,\"\"); \" title=\"Add to browser Favourites\"><img border=\"0\" src=\"http://shared.burghhouse.com/addtofavourites.gif\" alt=\"Add To Browser Favourites\"><\/a>")}else if( window.external ){document.writeln("<a href=\"javascript:window.external.AddFavorite(document.URL,document.title); \" title=\"Add to browser Favourites\"><img border=\"0\" src=\"http://shared.burghhouse.com/addtofavourites.gif\" alt=\"Add To Browser Favourites\"><\/a>")};document.writeln('<a href=\"http://delicious.com/save\" onclick=\"window.open(\'http://delicious.com/save?v=5&amp;noui&amp;jump=close&amp;url=\'+encodeURIComponent(document.URL)+\'&amp;title=\'+encodeURIComponent(document.title), \'delicious\',\'toolbar=no,width=550,height=550\'); return false;\" rel=nofollow><img border=\"0\" src=\"http://shared.burghhouse.com/deliciousicon.gif\" height=\"12\" width=\"12\" alt=\"delicious.com\"><\/a>&nbsp;');document.writeln("<a href=\"http://www.facebook.com/share.php?u="+encodeURIComponent(document.URL)+"\" target=\"_blank\" title=\"Facebook.com\"><img border=\"0\" src=\"http://shared.burghhouse.com/facebookicon.gif\" alt=\"Facebook\"><\/a> ");document.writeln("<a href=\"http://www.technorati.com/faves?add="+encodeURIComponent(document.URL)+"\" target=\"_blank\" title=\"Technorati.com\"><img border=\"0\" src=\"http://shared.burghhouse.com/technoratiicon.gif\" alt=\"Technorati\"><\/a> ");document.writeln("<a href=\"http://www.stumbleupon.com/submit?url="+encodeURIComponent(document.URL)+"\" target=\"_blank\" title=\"StumbleUpon.com\"><img border=\"0\" src=\"http://shared.burghhouse.com/stumbleuponicon.gif\" alt=\"StumbleUpon\"><\/a> ");document.writeln("<a href=\"http://digg.com/submit?phase=2&amp;url="+encodeURIComponent(document.URL)+"\" target=\"_blank\" title=\"Digg.com\"><img border=\"0\" src=\"http://shared.burghhouse.com/diggicon.gif\" alt=\"Digg\"><\/a> ");document.writeln("<a href=\"http://www.reddit.com/submit?url="+encodeURIComponent(document.URL)+"\" target=\"_blank\"><img src=\"http://shared.burghhouse.com/reddit.gif\" alt=\"Reddit\" border=\"0\" /><\/a>");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()\"><img src=\"http://s7.addthis.com/static/btn/sm-plus.gif\" width=\"16\" height=\"16\" border=\"0\" alt=\"Bookmark and Share\" style=\"border:0\"><\/a>");document.writeln("<script type=\"text/javascript\" src=\"http://s7.addthis.com/js/152/addthis_widget.js\"><\/script>");document.writeln('<\/p>');return false};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 proceedifbefore(pibDate){var datenow = new Date();var datenownum = Date.parse(datenow);var pibDatenum = Date.parse(pibDate);return (datenownum < pibDatenum)};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 postdefaultstatusbar(){window.defaultStatus= document.title};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()};function ImageDisplayPage(linktarget, titletext, alttext){tempImagePage = window.open();tempImagePage.document.write('<!doctype html public \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/REC-html40/loose.dtd\"><html 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.location+' at '+tempImagePage.document.lastModified.toLocaleString()+'<\/p>'+'<\/body>'+'<\/html>');tempImagePage.document.close();tempImagePage.defaultStatus=tempImagePage.document.title};function googleTranslateMyPagePreamble(){document.writeln('<div class=left id="translatethispagelink">'+'<table style=\"color:#000000; background: #eeeeee; border: solid #000000; \"><tr><td>'+'<img src="flagsbanner.jpg" alt="Translate this page, using Google&trade; Translate"><br>'+'<table width="100%"><tr><td class=normal>')};function googleTranslateMyPagePostscript(){document.writeln('<\/td><td class=center>'+'<table style=\"color:#000000; background: #eeeeee;\">'+'<tr><td>traducir<\/td><td>&ouml;vers&auml;tta<\/td><\/tr>'+'<tr><td>vertalen<\/td><td>&uuml;bersetzen<\/td><\/tr>'+'<tr><td>tradurre<\/td><td>&nbsp;<\/td><\/tr>'+'<\/table>'+'<\/td><\/tr><\/table>'+'<\/td><\/tr><\/table>'+'<\/div>')};var innerCountdownToEventDateStr ='';var innerCountdownToEventTextFuture ='';var innerCountdownToEventTextPast ='';function reportCountdownToEventUpdater(){var spanObject = document.getElementById? document.getElementById("reportCountdownToEventID"): document.all.reportCountdownToEventID;var targetDateTime = new Date(innerCountdownToEventDateStr);var dayName = new Array('Sunday','Monday','Tuesday','Wednesday','Thursday','Friday','Saturday');var nowDateTime = new Date();var nowDateTimeGMT = new Date(nowDateTime.getUTCFullYear(), nowDateTime.getUTCMonth(), nowDateTime.getUTCDate(), nowDateTime.getUTCHours(), nowDateTime.getUTCMinutes(), nowDateTime.getUTCSeconds());var tomorrowDateTimeGMT = new Date(Math.floor(nowDateTimeGMT) + (24 * 60 * 60 *1000));var diffSecs = Math.round((targetDateTime.getTime() - nowDateTimeGMT.getTime()) / 1000);var diffMins = Math.round(diffSecs / 60);var diffDays = targetDateTime.getDate() - nowDateTimeGMT.getDate();var diffYears = targetDateTime.getYear() - nowDateTimeGMT.getYear();var diffMonths = (targetDateTime.getMonth() - nowDateTimeGMT.getMonth()) + (12 * diffYears);var fullDateTimeStr = targetDateTime.toLocaleString();var dateDateTimeStr = fullDateTimeStr.substr(0, fullDateTimeStr.length-9);var timeDateTimeStr = fullDateTimeStr.substr(fullDateTimeStr.length-8, 5);var displayAtTimeStr =', at '+timeDateTimeStr+' GMT.';if ((tomorrowDateTimeGMT.getDate() == targetDateTime.getDate()) && (tomorrowDateTimeGMT.getMonth() == targetDateTime.getMonth()) && (tomorrowDateTimeGMT.getYear() == targetDateTime.getYear())){spanObject.innerHTML=innerCountdownToEventTextFuture+' tomorrow'+displayAtTimeStr}else if (diffSecs <= 90){if (diffSecs < 1){spanObject.innerHTML=innerCountdownToEventTextPast+' on '+dayName[targetDateTime.getDay()]+' '+dateDateTimeStr+', at '+timeDateTimeStr+' GMT.'}else{spanObject.innerHTML=innerCountdownToEventTextFuture+' in '+diffSecs+' seconds.'}}else if (diffMins <= 90){spanObject.innerHTML=innerCountdownToEventTextFuture+' in '+diffMins+' minutes'+displayAtTimeStr}else{var diffHours = Math.floor(diffMins / 60);diffMins = Math.round(diffMins - (diffHours * 60));if (diffHours < 24){spanObject.innerHTML=innerCountdownToEventTextFuture+' in '+diffHours+' hours '+diffMins+' minutes'+displayAtTimeStr}else{if (diffMonths > 0){diffDays = Math.round(diffHours / 24)};if (diffMonths > 18){diffYears = Math.floor(diffMonths / 12);diffMonths = Math.floor(diffMonths - (diffYears * 12));spanObject.innerHTML=innerCountdownToEventTextFuture+' in '+diffYears+((diffYears < 2) ?' year':' years')+((diffMonths > 0) ?' '+diffMonths+((diffMonths < 2) ?' month':' months') :'')+', on '+dayName[targetDateTime.getDay()]+' '+dateDateTimeStr+displayAtTimeStr}else if (diffDays > 90){spanObject.innerHTML=innerCountdownToEventTextFuture+' in '+diffMonths+' months, on '+dayName[targetDateTime.getDay()]+' '+dateDateTimeStr+displayAtTimeStr}else{spanObject.innerHTML=innerCountdownToEventTextFuture+' in '+diffDays+' days, on '+dayName[targetDateTime.getDay()]+' '+dateDateTimeStr+displayAtTimeStr}}};setTimeout("reportCountdownToEventUpdater()",1000)};function reportCountdownToEvent(eventDateStr, countdownPriorText, countdownPostText, eventTextPast, eventTextFuture){if (!document.all&&!document.getElementById) return;innerCountdownToEventTextPast = eventTextPast;innerCountdownToEventTextFuture = eventTextFuture;innerCountdownToEventDateStr = eventDateStr;document.write(countdownPriorText);document.write('<span id=reportCountdownToEventID><\/span>');document.write(countdownPostText);reportCountdownToEventUpdater()};function displaynewsheadline(){var testDate = new Date(2010,02,31, 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#i0001\" title=\"Burgh House Limited News&nbsp;&bull;&nbsp;Information on recent events\">Moonbeams<\/a> (<small>February&nbsp;2010<\/small>)<\/p>')}}
function displayrandomfaq(){faqs = new Array();faqs[0]='01: How easy is it to start a business on St.&nbsp;Helena?';faqs[1]="02: I'm a St.&nbsp;Helenian looking to return to St.&nbsp;Helena.&nbsp; Can you help me?";faqs[2]="03: I'm not a St.&nbsp;Helenian but I'm looking to invest.&nbsp; Can you help me?";faqs[3]="04: Is it right that you don't charge for doing business plans?";faqs[4]='05: Do you do anything other than business plans?';faqs[5]='06: Do you just do training at AVES?';faqs[6]='07: Who have you worked for?';faqs[7]='08: Are you funded by St.&nbsp;Helena Government?';faqs[8]='09: So what do you know about business that qualifies you to advise me?';faqs[9]='10: What is your relationship with SHDA?';faqs[10]='11: How many people do you employ?';faqs[11]='12: How much do you charge?';faqs[12]='13: Your logo - what does it mean?';faqs[13]='14: <span style=\"font-style: italic; font-weight: bolder; color: #000064;\">Just imagine . . .<\/span>?  Just imagine what?';faqs[14]="15: Your site mentions the 'Institute of Business Consulting'.&nbsp; What's that?";faqs[15]="16: Where is 'Burgh House'";faqs[16]="17: Is there any kind of business you won't help?";faqs[17]='18: Can you help with residence in St.&nbsp;Helena?';faqs[18]='19: Where is St.&nbsp;Helena and how would I get there?';var s = 19;var d = new Date() % s;var i = d+1;document.write('<a href=\"faq.htm#faqi'+i+'\" title=\"Frequently Asked Questions&nbsp;&bull;&nbsp;... and other useful information\">'+faqs[d]+'<\/a>')};function displayrandomsd(){sdnames = new Array();sdnames[0]='Free Business Solutions';sdnames[1]='Branding, Design and Packaging';sdnames[2]='Business Communications';sdnames[3]='Business Planning';sdnames[4]='Business Process Improvement';sdnames[5]='Business Risk Review';sdnames[6]='Computer Systems Review';sdnames[7]='Employment Law Compliance';sdnames[8]='Financial analysis you can understand';sdnames[9]='Interim Management';sdnames[10]='Managing Change';sdnames[11]='Marketing and Advertising';sdnames[12]='Project Management';sdnames[13]='Starting Your Own Business';sdnames[14]='Tendering';sdnames[15]='Training and Coaching';sdnames[16]='Just imagine . . . What can we do for you?';sdlinks = new Array();sdlinks[0]='freebusinesssolutions.htm';sdlinks[1]='brandingdesignandpackaging.htm';sdlinks[2]='businesscommunications.htm';sdlinks[3]='businessplanning.htm';sdlinks[4]='businessprocessimprovement.htm';sdlinks[5]='businessriskreview.htm';sdlinks[6]='computersystemsreview.htm';sdlinks[7]='employmentlawcompliance.htm';sdlinks[8]='financialanalysis.htm';sdlinks[9]='interimmanagement.htm';sdlinks[10]='managingchange.htm';sdlinks[11]='marketingandadvertising.htm';sdlinks[12]='projectmanagement.htm';sdlinks[13]='startingyourownbusiness.htm';sdlinks[14]='tendering.htm';sdlinks[15]='trainingandcoaching.htm';sdlinks[16]='whatcanwedoforyou.htm';sdsubtitles = new Array();sdsubtitles[0]='Maximum benefit; minimum risk';sdsubtitles[1]='Presenting your products';sdsubtitles[2]='Getting closer to your customers and staff';sdsubtitles[3]='You wouldn&rsquo;t build a house without having a plan&nbsp;.&nbsp;.&nbsp;.';sdsubtitles[4]='A tune-up for your business';sdsubtitles[5]='Keeping on top of risk';sdsubtitles[6]='Keeping on top of Information Technology';sdsubtitles[7]='Keeping up with the new employment legislation';sdsubtitles[8]='An aid to business planning';sdsubtitles[9]='Keeping you in business by filling gaps in your management team';sdsubtitles[10]='Making a difference';sdsubtitles[11]='Getting your business noticed';sdsubtitles[12]='On target, on time and within budget';sdsubtitles[13]='Is it right for you? And how do you begin?';sdsubtitles[14]='Support for both sides';sdsubtitles[15]='Keeping your people up-to-date';sdsubtitles[16]='Business solutions to meet your needs';sdimages = new Array();sdimages[0]='freebusinesssolutionsimage.png';sdimages[1]='brandingdesignandpackagingimage.jpg';sdimages[2]='businesscommunicationsimage.jpg';sdimages[3]='businesplanningimage.jpg';sdimages[4]='businessprocessimprovementimage.jpg';sdimages[5]='businessriskreviewimage.jpg';sdimages[6]='computersystemsreviewimage.jpg';sdimages[7]='employmentlawimage.jpg';sdimages[8]='financialanalysisimage.jpg';sdimages[9]='interimmanagerimage.jpg';sdimages[10]='managingchangeimage.jpg';sdimages[11]='marketingandadvertisingimage.gif';sdimages[12]='projectmanagementimage.jpg';sdimages[13]='startingabusinessimage.jpg';sdimages[14]='tenderingimage.jpg';sdimages[15]='trainingcrest300x300.jpg';sdimages[16]='crest300x300.png';var sdd = new Date() % 17;document.write('<div align=\"center\"><table><tr valign=\"middle\"><td>');document.write('<p class=normal><b>One of our business services:<\/b>&nbsp; <a href=\"'+sdlinks[sdd]+'\" title=\"'+sdnames[sdd] +': '+sdsubtitles[sdd] +'\"><img src=\"'+sdimages[sdd]+'\" alt=\"'+sdnames[sdd] +': '+sdsubtitles[sdd] +'\" height=\"12\" border=\"0\">&nbsp;'+sdnames[sdd] +': '+sdsubtitles[sdd] +'<\/a><\/p>');document.write('<\/td><\/tr><\/table><\/div>')};// Copyright (c) Burgh House Limited 2010 all rights reserved
