function HideHeader(){var n=document.querySelector("#header");new Headroom(n,{tolerance:{down:2,up:5},offset:100,classes:{initial:"slide",pinned:"slide--reset",unpinned:"slide--up"}}).init()}function DeliciousOpen(n,t){window.open("http://del.icio.us/post?url="+encodeURIComponent(n)+"&title="+encodeURIComponent(t),"Del.icio.us","width=800,height=660,status=no,location=no")}function DiggOpen(n,t,i){window.open("http://digg.com/submit?phase=2&url="+encodeURIComponent(n)+"&title="+encodeURIComponent(t)+"&bodytext="+encodeURIComponent(i),"Digg","width=800,height=660,status=no,location=no")}function FacebookOpen(n){window.open("http://www.facebook.com/sharer.php?u="+encodeURIComponent(n),"Facebook","width=500,height=400,status=no,location=no")}function BloggerOpen(n,t,i){window.open("https://www.blogger.com/blog-this.g?u="+encodeURIComponent(n)+"&n="+encodeURIComponent(t)+"&t="+encodeURIComponent(i),"Blogger","width=800,height=660,status=no,location=no")}function LinkedInOpen(n,t){window.open("http://www.linkedin.com/shareArticle?mini=true&url="+encodeURIComponent(n)+"&title="+encodeURIComponent(t)+"&source=LinqTo.me","LinkedIn","width=800,height=660,status=no,location=no")}function RedditOpen(n,t){window.open("http://reddit.com/submit?url="+encodeURIComponent(n)+"&title="+encodeURIComponent(t),"Reddit","width=800,height=660,status=no,location=no")}function TumblrOpen(n,t){window.open("http://tumblr.com/share?s=&v=3&t="+encodeURIComponent(t)+"&u="+encodeURIComponent(n),"Reddit","width=800,height=660,status=no,location=no")}function StumbleUponOpen(n,t){window.open("http://www.stumbleupon.com/submit?url="+encodeURIComponent(n)+"&title="+encodeURIComponent(t),"Reddit","width=800,height=660,status=no,location=no")}function TwitterOpen(n){window.open("http://www.twitter.com/share?url="+encodeURIComponent(n),"Twitter","width=700,height=700,status=no,location=no")}function WhatsAppOpen(n){window.open("https://wa.me/?text="+encodeURIComponent(n),"WhatsApp","width=700,height=700,status=no,location=no")}(function(n,t){"use strict";function u(n){this.callback=n;this.ticking=!1}function e(t){return t&&typeof n!="undefined"&&(t===n||t.nodeType)}function f(n){var i,t,r,u;if(arguments.length<=0)throw new Error("Missing arguments in extend function");for(i=n||{},r=1;r<arguments.length;r++){u=arguments[r]||{};for(t in u)i[t]=typeof i[t]!="object"||e(i[t])?i[t]||u[t]:f(i[t],u[t])}return i}function o(n){return n===Object(n)?n:{down:n,up:n}}function i(n,t){t=f(t,i.options);this.lastKnownScrollY=0;this.elem=n;this.debouncer=new u(this.update.bind(this));this.tolerance=o(t.tolerance);this.classes=t.classes;this.offset=t.offset;this.scroller=t.scroller;this.initialised=!1;this.onPin=t.onPin;this.onUnpin=t.onUnpin;this.onTop=t.onTop;this.onNotTop=t.onNotTop}var r={bind:!!function(){}.bind,classList:"classList"in t.documentElement,rAF:!!(n.requestAnimationFrame||n.webkitRequestAnimationFrame||n.mozRequestAnimationFrame)};n.requestAnimationFrame=n.requestAnimationFrame||n.webkitRequestAnimationFrame||n.mozRequestAnimationFrame;u.prototype={constructor:u,update:function(){this.callback&&this.callback();this.ticking=!1},requestTick:function(){this.ticking||(requestAnimationFrame(this.rafCallback||(this.rafCallback=this.update.bind(this))),this.ticking=!0)},handleEvent:function(){this.requestTick()}};i.prototype={constructor:i,init:function(){if(i.cutsTheMustard)return this.elem.classList.add(this.classes.initial),setTimeout(this.attachEvent.bind(this),100),this},destroy:function(){var n=this.classes;this.initialised=!1;this.elem.classList.remove(n.unpinned,n.pinned,n.top,n.initial);this.scroller.removeEventListener("scroll",this.debouncer,!1)},attachEvent:function(){this.initialised||(this.lastKnownScrollY=this.getScrollY(),this.initialised=!0,this.scroller.addEventListener("scroll",this.debouncer,!1),this.debouncer.handleEvent())},unpin:function(){var n=this.elem.classList,t=this.classes;(n.contains(t.pinned)||!n.contains(t.unpinned))&&(n.add(t.unpinned),n.remove(t.pinned),this.onUnpin&&this.onUnpin.call(this))},pin:function(){var n=this.elem.classList,t=this.classes;n.contains(t.unpinned)&&(n.remove(t.unpinned),n.add(t.pinned),this.onPin&&this.onPin.call(this))},top:function(){var n=this.elem.classList,t=this.classes;n.contains(t.top)||(n.add(t.top),n.remove(t.notTop),this.onTop&&this.onTop.call(this))},notTop:function(){var n=this.elem.classList,t=this.classes;n.contains(t.notTop)||(n.add(t.notTop),n.remove(t.top),this.onNotTop&&this.onNotTop.call(this))},getScrollY:function(){return this.scroller.pageYOffset!==undefined?this.scroller.pageYOffset:this.scroller.scrollTop!==undefined?this.scroller.scrollTop:(t.documentElement||t.body.parentNode||t.body).scrollTop},getViewportHeight:function(){return n.innerHeight||t.documentElement.clientHeight||t.body.clientHeight},getDocumentHeight:function(){var n=t.body,i=t.documentElement;return Math.max(n.scrollHeight,i.scrollHeight,n.offsetHeight,i.offsetHeight,n.clientHeight,i.clientHeight)},getElementHeight:function(n){return Math.max(n.scrollHeight,n.offsetHeight,n.clientHeight)},getScrollerHeight:function(){return this.scroller===n||this.scroller===t.body?this.getDocumentHeight():this.getElementHeight(this.scroller)},isOutOfBounds:function(n){var t=n<0,i=n+this.getViewportHeight()>this.getScrollerHeight();return t||i},toleranceExceeded:function(n,t){return Math.abs(n-this.lastKnownScrollY)>=this.tolerance[t]},shouldUnpin:function(n,t){var i=n>this.lastKnownScrollY,r=n>=this.offset;return i&&r&&t},shouldPin:function(n,t){var i=n<this.lastKnownScrollY,r=n<=this.offset;return i&&t||r},update:function(){var n=this.getScrollY(),i=n>this.lastKnownScrollY?"down":"up",t=this.toleranceExceeded(n,i);this.isOutOfBounds(n)||(n<=this.offset?this.top():this.notTop(),this.shouldUnpin(n,t)?this.unpin():this.shouldPin(n,t)&&this.pin(),this.lastKnownScrollY=n)}};i.options={tolerance:{up:0,down:0},offset:0,scroller:n,classes:{pinned:"headroom--pinned",unpinned:"headroom--unpinned",top:"headroom--top",notTop:"headroom--not-top",initial:"headroom"}};i.cutsTheMustard=typeof r!="undefined"&&r.rAF&&r.bind&&r.classList;n.Headroom=i})(window,document)