/*jslint bitwise: true, browser: true, eqeqeq: true, immed: true, newcap: false, nomen: false, onevar: true, plusplus: true, regexp: false, undef: true *//*global _gat, GBrowserIsCompatible, GEvent, GLatLng, GMap2, GMarker, GOverviewMapControl, GUnload, window*/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.addEvent('ready', function () {if (document.get('#contact')) {if (GBrowserIsCompatible()) {var map = new GMap2(document.getElementById("gmap")), text = '<span class="gmap-title">Harper Law PLLC</span><br /><span class="gmap-address">903 5th Ave Ste 203<br />Kirkland WA 98033-6348</span><br /><span class="gmap-directions">Get directions to our office</span><form action="http://maps.google.com/maps" target="_blank"><label for="saddr">Enter your address:</label><br /><input id="saddr" name="saddr" size="20" type="text" /><input name="daddr" type="hidden" value="903 5th Ave, Kirkland, WA 98033-6348 @47.678882,-122.192438" /><input type="submit" value="GO" class="gmap-submit" /></form>', marker;map.setCenter(new GLatLng(47.678882, -122.192438), 15);map.setUIToDefault();map.addControl(new GOverviewMapControl());marker = new GMarker(new GLatLng(47.678882, -122.192438));map.addOverlay(marker);marker.openInfoWindowHtml(text);GEvent.addListener(marker, 'click', function () {marker.openInfoWindowHtml(text);});window.addEvent('unload', GUnload);}}});document.ready();try {var pageTracker = _gat._getTracker('UA-2093727-1');pageTracker._trackPageview();} catch (e) {}