/*jslint bitwise: true, browser: true, eqeqeq: true, immed: true, newcap: true, nomen: true, onevar: true, plusplus: true, regexp: false, undef: true */document.addEvent('ready', function () {if (document.get('greeting')) {var current = new Date(), hour = current.getHours(), greeting = 'Still awake? Thank you for visiting!';if (hour >= 5 && hour <= 11) {greeting = 'Good morning and thank you for visiting!';} else if (hour === 12) {greeting = 'Welcome, thank you for visiting!';} else if (hour >= 13 && hour <= 17) {greeting = 'Good afternoon and thank you for visiting!';} else if (hour >= 18 && hour <= 22) {greeting = 'Good evening and thank you for visiting!';}document.get('greeting').setProperty('html', greeting);}});document.addEvent('ready', function () {var i, link, links = document.links;for (i = 0; (link = links[i]); i += 1) {if (!(/mailto:/).test(link.href) && link.hostname.search(location.hostname) === -1 && (/http(s)?:/).test(link.href)) {link.target = '_blank';link.title = 'Link opens in new window';}}});document.ready();(function () {var ga = document.createElement('script');ga.src = ('https:' === document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';ga.setAttribute('async', 'true');document.documentElement.firstChild.appendChild(ga);}());