function showMakeMyHomePageButton() { var homePageURL = window.location.protocol + "//" + window.location.host + "/"; if (BrowserDetect.browser == "Explorer" && BrowserDetect.OS == "Windows") { document.write('
'); } else { document.write('
'); } } /* Icon Link Animation */ oLinks = { obj : function(sName) { return document.getElementById(sName); }, w : 800, h : 1, tw : 800, tH : 1, x : 20, y : 26, oY : 26, // Original Y Location navY : -24, oNavY : -24, // Original Nav Y Location topH : 90, botH : 0, step : 5, speed : 1, bOpen : true, timer : null, timerOut : null, animTimeout : 2000, nCurrent : 1, startTime : null, currentTime : function () { var cTime = new Date(); return cTime; }, redraw : function() { if (this.h > this.tH) { this.h -= this.step; this.y += this.step; this.navY += this.step; if ((this.currentTime() - this.startTime) > this.animTimeout) { this.h = this.tH; } if (this.h <= this.tH) { this.h = this.tH; this.y = this.oY; this.navY = this.oNavY; clearInterval(this.timer); this.timer = null; } } else if (this.h < this.tH) { this.h += this.step; this.y -= this.step; this.navY -= this.step; if ((this.currentTime() - this.startTime) > this.animTimeout) { this.h = this.tH; } if (this.h >= this.tH) { this.h = this.tH; this.y = this.oY - this.tH; this.navY = this.oNavY - this.tH; clearInterval(this.timer); this.timer = null; } } this.obj("iconLinks").style.height = this.h + 'px'; this.obj("iconLinks").style.top = this.y + 'px'; this.obj("nav-foot").style.top = this.navY + 'px'; }, animate : function() { return (this.h != this.tH); }, openIt : function(nOpen) { if (nOpen == 0) { clearTimeout(this.timerOut); clearInterval(this.timer); this.timer == null; this.tH = this.botH; this.startTime = new Date(); this.timer = setInterval('oLinks.redraw()', this.speed); } else { clearTimeout(this.timerOut); clearInterval(this.timer); document.getElementById("extLink"+this.nCurrent).style.display = "none"; this.nCurrent = nOpen; document.getElementById("extLink"+this.nCurrent).style.display = "block"; this.timer == null; this.tH = this.topH; this.startTime = new Date(); this.timer = setInterval('oLinks.redraw()', this.speed); } } } function loopit() { clearTimeout(oLinks.timerOut); oLinks.timerOut = setTimeout('oLinks.openIt(0)', 200); } /* Browser Detection */ var BrowserDetect = { init: function () { this.browser = this.searchString(this.dataBrowser) || "An unknown browser"; this.version = this.searchVersion(navigator.userAgent) || this.searchVersion(navigator.appVersion) || "an unknown version"; this.OS = this.searchString(this.dataOS) || "an unknown OS"; }, searchString: function (data) { for (var i=0;i

    "; for (var i=2; i"; } oContent.innerHTML = sWrite+""; } toggleDisplay("popup",null); } var sWebsite = window.location.protocol + "//" + window.location.host + "/"; homeDisplay = { cWin : 0, cMac : 1, aOS : ["Windows","Macintosh"], OS : "Browser not recognised.", browser : -1, // Current Browser - Data Reference version : -1, pBrowserName : 0, pBrowserVersion : 1, init : function() { if (BrowserDetect.OS == "Windows") { this.OS = this.cWin; } else if (BrowserDetect.OS == "Mac") { this.OS = this.cMac; } for (var i=0; i