(function(a){a.fn.adjust=function(){var b=document.compatMode=="CSS1Compat"&&document.documentElement.clientHeight||document.body.clientHeight;return this.each(function(){var c=a(this).height();c=c<b?Math.floor((b-c)/3):0;a(this).css("top",c)})};a.fn.follow=function(b){a(this).css("top",parseInt(a(b).css("top"),10)+a(b).height()+12);return this}})(jQuery); $(function(){$("#page").adjust();$('<p id="scrollDirection">Scroll this way!</p>').insertAfter("#page").follow("#page").css("visibility","visible");$(window).resize(function(){$("#page").adjust();$("#scrollDirection").follow("#page")})});$(function(){var a=$("a[href$=.pdf]").after('<span class="ext pdf">&nbsp;</span>');$("a[href^=http://]:not([href$=.pdf])").filter(function(){return this.hostname!==location.hostname}).after('<span class="ext lnk">&nbsp;</span>').add(a).attr({target:"_blank",title:"Opens in a new window"})}); $(function(){$("#content a:not([href^=http://]) > img").each(function(){var a=$(this).attr("title");$(this).parent().attr({rel:"lightbox",title:a})})});$(function(){$(window).mousewheel(function(a,b){if(b!=0)window.scrollBy(b>0?-75:75,0);return false})});$(function(){$("#identification > ul").append("<li><a>").find("li:last").attr({id:"excontact"}).find("a").attr({href:"mailto:mike@freedestate.com"}).text("mike@freedestate.com")}); $(function(){if($.fn.goMap){$.FreedPoint={lat:43.1158,lng:-123.3936};$("#contact #roadmapImage").remove("p").goMap({latitude:$.FreedPoint.lat,longitude:$.FreedPoint.lng,zoom:12,markers:[{latitude:$.FreedPoint.lat,longitude:$.FreedPoint.lng,title:"Freed Estate"}]})}});

