(function(){function g(a){this.els=[];for(var b=0,c=a.length;b<c;b++){var d=a[b];if(typeof d=="string")d=$i(d);this.els.push(d)}return this}if(typeof MKAvail!="boolean"){g.prototype={push:function(a){for(var b=0,c=a.length;b<c;b++)this.els.push(a[b]);return this},all:function(a){for(var b=0,c=this.els.length;b<c;++b)a.call(this,this.els[b]);return this},on:function(a,b){var c=function(d){if(window.addEventListener)d.addEventListener(a,b,false);else window.attachEvent&&d.attachEvent("on"+a,function(){b.call(d,window.event)})};this.all(function(d){c(d)});return this},style:function(a,b){this.all(function(c){var d=b;if(a=="opacity"){c.style.filter="alpha(opacity="+d+")";d/=100}c.style[a]=d});return this},css:function(a){var b=this;this.all(function(){for(var c in a)b.style(c,a[c])});return this},anim:function(a,b,c,d,e){var h=this;for(var j in b)if(j!="opacity"||j!="zIndex")c[j]-=b[j];var k=(new Date).getTime()+d,m=window.setInterval(function(){var i=d-(k-(new Date).getTime());h.all(function(l){if(d<=i){window.clearInterval(m);i=d}for(var f in b)if(f=="scrollLeft"||f=="scrollTop")l[f]=a(i,b[f],c[f],d);else{var n=f=="zIndex"||f=="opacity"?"":"px";h.style(f,Math.floor(a(i,b[f],c[f],d))+n)}d==i&&e&&e()})},15);return this}};window.$=function(){return new g(arguments)};$i=function(a){if(typeof a=="string")return document.getElementById(a);return a};$e=function(a,b){return(a?$i(a):document).getElementsByTagName(b)};$c=function(a,b){b=b?$i(b):document;if(!document.getElementsByClassName){var c=[];a=new RegExp("\\b"+a+"\\b");b=b.getElementsByTagName("*");for(var d=0;d<b.length;d++)a.test(b[d].className)&&c.push(b[d]);return c}return b.getElementsByClassName(a)};xhr=function(a,b,c,d){var e=window.XMLHttpRequest?new XMLHttpRequest:new ActiveXObject("Microsoft.XMLHTTP");if(b=="")e.open("GET",a,true);else{e.open("POST",a,true);e.setRequestHeader("Content-type","application/x-www-form-urlencoded")}e.onreadystatechange=function(){if(e.readyState==4){var h=e.responseText;if(e.status==200)c&&c(h,e);else d&&d(h,e)}};e.send(b)};load=function(a,b){var c=document.createElement("script");c.type="text/javascript";c.setAttribute("async","true");c.onloadDone=false;if(b){c.onload=function(){c.onloadDone=true;b()};c.onreadystatechange=function(){if(("loaded"===c.readyState||"complete"===c.readyState)&&!c.onloadDone){c.onloadDone=true;b()}}}c.src=a;$e(document,"head")[0].appendChild(c)};offSet=function(a){var b=0,c=0;if(a.offsetParent){do{b+=a.offsetLeft;c+=a.offsetTop}while(a=a.offsetParent);return[b,c]}};preventDefault=function(a){if(!a)a=window.event;a.cancelBubble=true;a.returnValue=false;a.preventDefault&&a.preventDefault()};if(!Array.indexOf)Array.prototype.indexOf=function(a,b){var c=this.length;for(b=b<0?b+c<0?0:b+c:b||0;b<c&&this[b]!==a;b++);return c<=b?-1:b};ease={cubic:function(a,b,c,d){if((a/=d/2)<1)return(c/2*a*a*a+b)*1;return(c/2*((a-=2)*a*a+2)+b)*1},bounce:function(a,b,c,d){return(a/=d)<1/2.75?c*7.5625*a*a+b:a<2/2.75?c*(7.5625*(a-=1.5/2.75)*a+0.75)+b:a<2.5/2.75?c*(7.5625*(a-=2.25/2.75)*a+0.9375)+b:c*(7.5625*(a-=2.625/2.75)*a+0.984375)+b}};MKAvail=true}})();var _gaq=_gaq||[];_gaq.push(["_setAccount","UA-9880812-1"]);_gaq.push(["_trackPageview"]);(function(){var g=document.createElement("script");g.src=("https:"==document.location.protocol?"https://ssl":"http://www")+".google-analytics.com/ga.js";g.setAttribute("async","true");$e(document,"head")[0].appendChild(g)})();$(window).on("load",function(){load("/modules/blog/blogCalNav.js");load("/media/js/imageOverlay.js")});