/*jslint bitwise: true, browser: true, eqeqeq: true, immed: true, newcap: true, nomen: false, onevar: true, plusplus: true, regexp: false, undef: true *//*global _gat, analogue*/if (analogue.msie && analogue.msie.version === 6) {document.loadStyleSheet('/assets/css/msie6.css.ashx');}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.addEvent('ready', function () {if (document.get('blog-archive')) {var click = function (event) {if (this.hasClass('active')) {this.removeClass('active');this.parentNode.getElementsByTagName('ul')[0].addClass('hide');} else {this.addClass('active');this.parentNode.getElementsByTagName('ul')[0].removeClass('hide');}event.preventDefault();}, i, link, links = document.get('#blog-archive strong') || [];for (i = 0; (link = links[i]); i += 1) {link.addEvent('click', click);}document.get('#content-sidebar form input[type="text"]')[0].addEvent('blur', function () {if (this.getProperty('value') === '') {this.setProperty('value', this.getProperty('title').toLowerCase());}}).addEvent('focus', function () {if (this.getProperty('value') === this.getProperty('title').toLowerCase()) {this.setProperty('value', '');}});}});document.addEvent('ready', function () {if (document.get('social')) {var description = encodeURIComponent(document.get('meta[name="description"]')[0].getProperty("content")),title = encodeURIComponent(document.title),url = encodeURIComponent(location.href);document.get('social').appendChild(document.set('span', {'class': 'social'}, [document.set('a', {'class': 'buzz', 'href': 'http://buzz.yahoo.com/buzz?guid=' + url + '&headline=' + title + '&summary=' + description, 'target': '_blank', 'title': 'Buzz up!'}),document.set('a', {'class': 'delicious', 'href': 'http://delicious.com/save?jump=yes&url=' + url + '&title=' + title, 'target': '_blank', 'title': 'Bookmark this on Delicious'}),document.set('a', {'class': 'digg', 'href': 'http://digg.com/submit?url=' + url + '&title=' + title + '&bodytext=' + description + '&media=news&topic=tech_news&thumbnails=0', 'target': '_blank', 'title': 'Digg This'}),document.set('a', {'class': 'facebook', 'href': 'http://www.facebook.com/share.php?u=' + url + '&t=' + title, 'target': '_blank', 'title': 'Share on Facebook'}),document.set('a', {'class': 'google', 'href': 'http://www.google.com/bookmarks/mark?op=add&bkmk=' + url + '&title=' + title, 'target': '_blank', 'title': 'Add to Google Bookmarks'}),document.set('a', {'class': 'stumbleupon', 'href': 'http://www.stumbleupon.com/submit?url=' + url + '&title=' + title, 'target': '_blank', 'title': 'Thumb it up on Stumbleupon'}),document.set('a', {'class': 'twitter', 'href': 'http://twitter.com/?status=' + title + '%20' + url, 'target': '_blank', 'title': 'Tweet This'})]));}});document.ready();try {var pageTracker = _gat._getTracker('UA-3994801-1');pageTracker._trackPageview();} catch (e) {}