(function(){if(typeof MKAvail!=="boolean"){var j=function(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};j.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){for(var b in a)this.style(b,a[b]);return this},anim:function(a,b,c,d,e){var g=this;for(var i in b)if(i!=="opacity"||i!=="zIndex")c[i]-=b[i];var k=(new Date).getTime()+d;setTimeout(function(){var h=d-(k-(new Date).getTime());if(d<=h)h=d;for(var f in b)if(f==="scrollLeft"||f==="scrollTop")g.all(function(l){l[f]=a(h,b[f],c[f],d)});else{var m=f==="zIndex"||f==="opacity"?"":"px";g.style(f,Math.floor(a(h,b[f],c[f],d))+m)}if(h===d)e&&e();else setTimeout(arguments.callee,30)},30);return this}};window.$=function(){return new j(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){var c=b?$i(b):document;if(!document.getElementsByClassName){var d=[];a=RegExp("\\b"+a+"\\b");c=c.getElementsByTagName("*");for(var e=0;e<c.length;e++)a.test(c[e].className)&&d.push(c[e]);return d}return c.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 g=e.responseText;if(e.status===200)c&&c(g,e);else d&&d(g,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;var d=$e(document,"head")[0];d.insertBefore(c,d.firstChild)};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"]);load(("https:"==document.location.protocol?"https://ssl":"http://www")+".google-analytics.com/ga.js");$(window).on("load",function(){load("/modules/blog/blogCalNav.js");load("/media/js/imageOverlay.js")});
