jQuery.easing.jswing=jQuery.easing.swing;jQuery.extend(jQuery.easing,{def:"easeOutQuad",swing:function(e,f,a,h,g){return jQuery.easing[jQuery.easing.def](e,f,a,h,g)},easeInQuad:function(e,f,a,h,g){return h*(f/=g)*f+a},easeOutQuad:function(e,f,a,h,g){return -h*(f/=g)*(f-2)+a},easeInOutQuad:function(e,f,a,h,g){if((f/=g/2)<1){return h/2*f*f+a}return -h/2*((--f)*(f-2)-1)+a},easeInCubic:function(e,f,a,h,g){return h*(f/=g)*f*f+a},easeOutCubic:function(e,f,a,h,g){return h*((f=f/g-1)*f*f+1)+a},easeInOutCubic:function(e,f,a,h,g){if((f/=g/2)<1){return h/2*f*f*f+a}return h/2*((f-=2)*f*f+2)+a},easeInQuart:function(e,f,a,h,g){return h*(f/=g)*f*f*f+a},easeOutQuart:function(e,f,a,h,g){return -h*((f=f/g-1)*f*f*f-1)+a},easeInOutQuart:function(e,f,a,h,g){if((f/=g/2)<1){return h/2*f*f*f*f+a}return -h/2*((f-=2)*f*f*f-2)+a},easeInQuint:function(e,f,a,h,g){return h*(f/=g)*f*f*f*f+a},easeOutQuint:function(e,f,a,h,g){return h*((f=f/g-1)*f*f*f*f+1)+a},easeInOutQuint:function(e,f,a,h,g){if((f/=g/2)<1){return h/2*f*f*f*f*f+a}return h/2*((f-=2)*f*f*f*f+2)+a},easeInSine:function(e,f,a,h,g){return -h*Math.cos(f/g*(Math.PI/2))+h+a},easeOutSine:function(e,f,a,h,g){return h*Math.sin(f/g*(Math.PI/2))+a},easeInOutSine:function(e,f,a,h,g){return -h/2*(Math.cos(Math.PI*f/g)-1)+a},easeInExpo:function(e,f,a,h,g){return(f==0)?a:h*Math.pow(2,10*(f/g-1))+a},easeOutExpo:function(e,f,a,h,g){return(f==g)?a+h:h*(-Math.pow(2,-10*f/g)+1)+a},easeInOutExpo:function(e,f,a,h,g){if(f==0){return a}if(f==g){return a+h}if((f/=g/2)<1){return h/2*Math.pow(2,10*(f-1))+a}return h/2*(-Math.pow(2,-10*--f)+2)+a},easeInCirc:function(e,f,a,h,g){return -h*(Math.sqrt(1-(f/=g)*f)-1)+a},easeOutCirc:function(e,f,a,h,g){return h*Math.sqrt(1-(f=f/g-1)*f)+a},easeInOutCirc:function(e,f,a,h,g){if((f/=g/2)<1){return -h/2*(Math.sqrt(1-f*f)-1)+a}return h/2*(Math.sqrt(1-(f-=2)*f)+1)+a},easeInElastic:function(f,h,e,l,k){var i=1.70158;var j=0;var g=l;if(h==0){return e}if((h/=k)==1){return e+l}if(!j){j=k*0.3}if(g<Math.abs(l)){g=l;var i=j/4}else{var i=j/(2*Math.PI)*Math.asin(l/g)}return -(g*Math.pow(2,10*(h-=1))*Math.sin((h*k-i)*(2*Math.PI)/j))+e},easeOutElastic:function(f,h,e,l,k){var i=1.70158;var j=0;var g=l;if(h==0){return e}if((h/=k)==1){return e+l}if(!j){j=k*0.3}if(g<Math.abs(l)){g=l;var i=j/4}else{var i=j/(2*Math.PI)*Math.asin(l/g)}return g*Math.pow(2,-10*h)*Math.sin((h*k-i)*(2*Math.PI)/j)+l+e},easeInOutElastic:function(f,h,e,l,k){var i=1.70158;var j=0;var g=l;if(h==0){return e}if((h/=k/2)==2){return e+l}if(!j){j=k*(0.3*1.5)}if(g<Math.abs(l)){g=l;var i=j/4}else{var i=j/(2*Math.PI)*Math.asin(l/g)}if(h<1){return -0.5*(g*Math.pow(2,10*(h-=1))*Math.sin((h*k-i)*(2*Math.PI)/j))+e}return g*Math.pow(2,-10*(h-=1))*Math.sin((h*k-i)*(2*Math.PI)/j)*0.5+l+e},easeInBack:function(e,f,a,i,h,g){if(g==undefined){g=1.70158}return i*(f/=h)*f*((g+1)*f-g)+a},easeOutBack:function(e,f,a,i,h,g){if(g==undefined){g=1.70158}return i*((f=f/h-1)*f*((g+1)*f+g)+1)+a},easeInOutBack:function(e,f,a,i,h,g){if(g==undefined){g=1.70158}if((f/=h/2)<1){return i/2*(f*f*(((g*=(1.525))+1)*f-g))+a}return i/2*((f-=2)*f*(((g*=(1.525))+1)*f+g)+2)+a},easeInBounce:function(e,f,a,h,g){return h-jQuery.easing.easeOutBounce(e,g-f,0,h,g)+a},easeOutBounce:function(e,f,a,h,g){if((f/=g)<(1/2.75)){return h*(7.5625*f*f)+a}else{if(f<(2/2.75)){return h*(7.5625*(f-=(1.5/2.75))*f+0.75)+a}else{if(f<(2.5/2.75)){return h*(7.5625*(f-=(2.25/2.75))*f+0.9375)+a}else{return h*(7.5625*(f-=(2.625/2.75))*f+0.984375)+a}}}},easeInOutBounce:function(e,f,a,h,g){if(f<g/2){return jQuery.easing.easeInBounce(e,f*2,0,h,g)*0.5+a}return jQuery.easing.easeOutBounce(e,f*2-g,0,h,g)*0.5+h*0.5+a}});var FORMALIZE=(function(b,e,f,a){var h="placeholder" in f.createElement("input");var i="autofocus" in f.createElement("input");var g="webkitAppearance" in f.createElement("select").style;var d=!!(b.browser.msie&&parseInt(b.browser.version,10)===6);var c=!!(b.browser.msie&&parseInt(b.browser.version,10)===7);return{go:function(){for(var j in FORMALIZE.init){FORMALIZE.init[j]()}},init:{detect_webkit:function(){if(!g){return}b(f.documentElement).addClass("is_webkit")},full_input_size:function(){if(!c||!b("textarea, input.input_full").length){return}b("textarea, input.input_full").wrap('<span class="input_full_wrap"></span>')},ie6_skin_inputs:function(){if(!d||!b("input, select, textarea").length){return}var j=/button|submit|reset/;var k=/date|datetime|datetime-local|email|month|number|password|range|search|tel|text|time|url|week/;b("input").each(function(){var l=b(this);if(this.getAttribute("type").match(j)){l.addClass("ie6_button");if(this.disabled){l.addClass("ie6_button_disabled")}}else{if(this.getAttribute("type").match(k)){l.addClass("ie6_input");if(this.disabled){l.addClass("ie6_input_disabled")}}}});b("textarea, select").each(function(){if(this.disabled){b(this).addClass("ie6_input_disabled")}})},autofocus:function(){if(i||!b(":input[autofocus]").length){return}b(":input[autofocus]:visible:first").focus()},placeholder:function(){if(h||!b(":input[placeholder]").length){return}FORMALIZE.misc.add_placeholder();b(":input[placeholder]").each(function(){var j=b(this);var k=j.attr("placeholder");j.focus(function(){if(j.val()===k){j.val("").removeClass("placeholder_text")}}).blur(function(){FORMALIZE.misc.add_placeholder()});j.closest("form").submit(function(){if(j.val()===k){j.val("").removeClass("placeholder_text")}}).bind("reset",function(){setTimeout(FORMALIZE.misc.add_placeholder,50)})})}},misc:{add_placeholder:function(){if(h||!b(":input[placeholder]").length){return}b(":input[placeholder]").each(function(){var j=b(this);var k=j.attr("placeholder");if(!j.val()||j.val()===k){j.val(k).addClass("placeholder_text")}})}}}})(jQuery,this,this.document);jQuery(document).ready(function(){FORMALIZE.go()});
/*! Copyright (c) 2008 Brandon Aaron (brandon.aaron@gmail.com || http://brandonaaron.net)
 * Dual licensed under the MIT (http://www.opensource.org/licenses/mit-license.php)
 * and GPL (http://www.opensource.org/licenses/gpl-license.php) licenses.
 */
(function(b){var a=0;b.getScrollbarWidth=function(){if(!a){if(b.browser.msie){var e=b('<textarea cols="10" rows="2"></textarea>').css({position:"absolute",top:-1000,left:-1000}).appendTo("body"),d=b('<textarea cols="10" rows="2" style="overflow: hidden;"></textarea>').css({position:"absolute",top:-1000,left:-1000}).appendTo("body");a=e.width()-d.width();e.add(d).remove()}else{var c=b("<div />").css({width:100,height:100,overflow:"auto",position:"absolute",top:-1000,left:-1000}).prependTo("body").append("<div />").find("div").css({width:"100%",height:200});a=100-c.width();c.parent().remove()}}return a}})(jQuery);
/*!
// Infinite Scroll jQuery plugin
// copyright Paul Irish, licensed GPL & MIT
// version 2.0b1.110420

// home and docs: http://www.infinite-scroll.com
*/
(function(g){g.fn.infinitescroll=function i(s,u){function K(O){var M=g.fn.infinitescroll._debug;for(var N in O){if(N.indexOf&&N.indexOf("Selector")>-1&&g(O[N]).length===0){M("Your "+N+" found no elements.");return false}return true}}function I(M){if(g.isFunction(C.pathParse)){D("pathParse");return[M]}else{if(M.match(/^(.*?)\b2\b(.*?$)/)){M=M.match(/^(.*?)\b2\b(.*?$)/).slice(1)}else{if(M.match(/^(.*?)2(.*?$)/)){if(M.match(/^(.*?page=)2(\/.*|$)/)){M=M.match(/^(.*?page=)2(\/.*|$)/).slice(1);return M}M=M.match(/^(.*?)2(.*?$)/).slice(1)}else{if(M.match(/^(.*?page=)1(\/.*|$)/)){M=M.match(/^(.*?page=)1(\/.*|$)/).slice(1);return M}else{D("Sorry, we couldn't parse your Next (Previous Posts) URL. Verify your the css selector points to the correct A tag. If you still get this error: yell, scream, and kindly ask for help at infinite-scroll.com.");r.isInvalidPage=true}}}}D("determinePath",M);return M}function y(N){var M=0;g(N).children().each(function(){M=M+g(this).outerHeight(false)});return M}function L(M){var N=g(M).length+g(M).html().length+g(M).attr("class").length+g(M).attr("id").length;C.infid=N}if(typeof s=="string"){var t=s,A=u,w=(t=="pause"||t=="destroy"||t=="retrieve"||t=="binding"),D=g.fn.infinitescroll._debug;A=A||null;t=(w)?g.fn.infinitescroll[t](A):D("Invalid command");return false}var C=g.infinitescroll.opts=g.extend({},g.infinitescroll.defaults,s),r=g.infinitescroll,x,z,p,J,v,H,G,q,B;u=g.fn.infinitescroll._callback=u||function(){},D=g.fn.infinitescroll._debug,H=g.fn.infinitescroll._error,v=g.fn.infinitescroll.pause,destroy=g.fn.infinitescroll.destroy,binding=g.fn.infinitescroll.binding;if(!K(C)){return false}C.container=C.container||document.documentElement;C.contentSelector=C.contentSelector||this;C.infid=(C.infid==0)?L(C.contentSelector):C.infid;C.loadMsgSelector=C.loadMsgSelector||C.contentSelector;var F=/(.*?\/\/).*?(\/.*)/,E=g(C.nextSelector).attr("href");if(!E){D("Navigation selector not found");return}C.path=I(E);r.loadingMsg=g('<div id="infscr-loading"><div id="infscr-loading-inner"><img src='+C.loadingImg+' style="float: left; margin-right: 10px;"><span style="float: left;">'+C.loadingText+"</span>&nbsp;</div></div>");(new Image()).src=C.loadingImg;C.binder=(C.container.nodeName=="HTML")?g(window):g(C.container);x=(C.container.nodeName=="HTML")?g(document).height():x=y(C.container);D("Scrolling in: ",(C.container.nodeName=="HTML")?"window":C.container);C.pixelsFromNavToBottom=x+(C.container==document.documentElement?0:g(C.container).offset().top)-g(C.navSelector).offset().top;binding("bind");C.binder.trigger("smartscroll.infscr."+C.infid);return this};g.infinitescroll={defaults:{debug:false,binder:g(window),preload:false,nextSelector:"div.navigation a:first",loadingImg:"http://www.infinite-scroll.com/loading.gif",loadingText:"Loading the next set of posts...",donetext:"Congratulations, you've reached the end of the internet.",navSelector:"div.navigation",contentSelector:null,loadMsgSelector:null,loadingMsgRevealSpeed:0,extraScrollPx:150,itemSelector:"div.post",animate:false,pathParse:undefined,dataType:"html",appendCallback:true,bufferPx:40,orientation:"height",errorCallback:function(){},currPage:1,infid:0,isDuringAjax:false,isInvalidPage:false,isDestroyed:false,isDone:false,isPaused:false,container:undefined,pixelsFromNavToBottom:undefined,path:undefined},loadingImg:undefined,loadingMsg:undefined,currDOMChunk:null};g.fn.infinitescroll._debug=function o(){if(g.infinitescroll.opts.debug){return window.console&&console.log.call(console,arguments)}};g.fn.infinitescroll._shorthand=function e(){};g.fn.infinitescroll._nearbottom=function j(){var s=g.infinitescroll.opts,q=g.fn.infinitescroll._debug,r=g.fn.infinitescroll._hiddenheight;if(s.container.nodeName=="HTML"){var p=0+g(document).height()-(g(s.container).scrollTop()||g(s.container.ownerDocument.body).scrollTop())-g(window).height()}else{var p=0+r(s.container)-g(s.container).scrollTop()-g(s.container).height()}q("math:",p,s.pixelsFromNavToBottom);return(p-s.bufferPx<s.pixelsFromNavToBottom)};g.fn.infinitescroll._setup=function b(){var p=g.infinitescroll,s=g.infinitescroll.opts,r=g.fn.infinitescroll._nearbottom,q=g.fn.infinitescroll.retrieve;if(s.isDuringAjax||s.isInvalidPage||s.isDone||s.isDestroyed||s.isPaused){return}if(!r(s,p)){return}q()};g.fn.infinitescroll.retrieve=function m(){var v=g.infinitescroll,q=v.opts,r=g.fn.infinitescroll._debug,t=g.fn.infinitescroll._loadcallback,w=g.fn.infinitescroll._error,z=q.path,u,x,y,p,s;q.isDuringAjax=true;v.loadingMsg.appendTo(q.loadMsgSelector).show(q.loadingMsgRevealSpeed,function(){g(q.navSelector).hide();q.currPage++;r("heading into ajax",z);u=g(q.contentSelector).is("table")?g("<tbody/>"):g("<div/>");y=(g.isFunction(q.pathParse))?q.pathParse(z.join("2"),q.currPage):y=z.join(q.currPage);p=(q.dataType=="html"||q.dataType=="json")?q.dataType:"html+callback";if(q.appendCallback&&q.dataType=="html"){p+="+callback"}switch(p){case"html+callback":r("Using HTML via .load() method");u.load(y+" "+q.itemSelector,null,function(B,C){t(u,B.responseText)});break;case"html":case"json":r("Using "+(p.toUpperCase())+" via $.ajax() method");g.ajax({url:y,dataType:q.dataType,complete:function A(B,C){s=(typeof(B.isResolved)!=="undefined")?(B.isResolved()):(C==="success"||C==="notmodified");(s)?t(u,B.responseText):w([404])}});break}})};g.fn.infinitescroll._loadcallback=function n(s,r){var u=g.infinitescroll,p=g.infinitescroll.opts,v=g.fn.infinitescroll._error,w=g.fn.infinitescroll._donemsg,x=g.fn.infinitescroll._callback,z,y;z=(p.isDone)?"done":(!p.appendCallback)?"no-append":"append";switch(z){case"done":w();return false;break;case"no-append":if(p.dataType=="html"){r="<div>"+r+"</div>";r=g(r).find(p.itemSelector)}break;case"append":var q=s.children();if(q.length==0||q.hasClass("error404")){return v([404])}y=document.createDocumentFragment();while(s[0].firstChild){y.appendChild(s[0].firstChild)}g(p.contentSelector)[0].appendChild(y);r=q.get();break}u.loadingMsg.fadeOut(200,function(){});if(p.animate){var t=g(window).scrollTop()+g("#infscr-loading").height()+p.extraScrollPx+"px";g("html,body").animate({scrollTop:t},800,function(){p.isDuringAjax=false})}if(!p.animate){p.isDuringAjax=false}x.call(g(p.contentSelector)[0],r)};g.fn.infinitescroll._donemsg=function c(){var p=g.infinitescroll,q=g.infinitescroll.opts;p.loadingMsg.find("#infscr-loading-inner").html(q.donetext).animate({opacity:1},2000,function(){g(this).parent().fadeOut(200)});q.errorCallback()};g.fn.infinitescroll.pause=function k(r){var p=g.fn.infinitescroll._debug,q=g.infinitescroll.opts;if(r!=="pause"&&r!=="resume"&&r!=="toggle"&&r!==null){p("Invalid argument. Toggling pause value instead")}r=(r&&(r=="pause"||r=="resume"))?r:"toggle";switch(r){case"pause":q.isPaused=true;break;case"resume":q.isPaused=false;break;case"toggle":q.isPaused=!q.isPaused;break}p("Paused",q.isPaused);return false};g.fn.infinitescroll._error=function h(u){var t=g.infinitescroll.opts,q=(t.container.nodeName=="HTML")?g(window):g(t.container),r=g.fn.infinitescroll._debug,p=g.fn.infinitescroll._donemsg,s=(!t.isDone&&u==404)?"end":(t.isDestroyed&&u==302)?"destroy":"unknown";switch(s){case"end":r("Page not found. Self-destructing...");p();t.isDone=true;t.currPage=1;t.isPaused=false;q.unbind("smartscroll.infscr."+t.infid);break;case"destroy":r("Destroyed. Going to next instance...");t.isDone=true;t.currPage=1;t.isPaused=false;q.unbind("smartscroll.infscr."+t.infid);break;case"unknown":r("Unknown Error. WHAT DID YOU DO?!...");p();t.isDone=true;t.currPage=1;q.unbind("smartscroll.infscr."+t.infid);break}};g.fn.infinitescroll.destroy=function d(){var q=g.infinitescroll.opts,p=g.fn.infinitescroll._error;q.isDestroyed=true;return p([302])};g.fn.infinitescroll.binding=function f(t){var s=g.infinitescroll.opts,p=g.fn.infinitescroll._setup,r=g.fn.infinitescroll._error,q=g.fn.infinitescroll._debug;switch(t){case"bind":s.binder.bind("smartscroll.infscr."+s.infid,p);break;case"unbind":s.binder.unbind("smartscroll.infscr."+s.infid);break}q("Binding",t);return false};var a=g.event,l;a.special.smartscroll={setup:function(){g(this).bind("scroll",a.special.smartscroll.handler)},teardown:function(){g(this).unbind("scroll",a.special.smartscroll.handler)},handler:function(s,p){var r=this,q=arguments;s.type="smartscroll";if(l){clearTimeout(l)}l=setTimeout(function(){jQuery.event.handle.apply(r,q)},p==="execAsap"?0:100)}};g.fn.smartscroll=function(p){return p?this.bind("smartscroll",p):this.trigger("smartscroll",["execAsap"])}})(jQuery);
/*! Copyright (c) 2010 Brandon Aaron (http://brandonaaron.net)
 * Licensed under the MIT License (LICENSE.txt).
 *
 * Thanks to: http://adomas.org/javascript-mouse-wheel/ for some pointers.
 * Thanks to: Mathias Bank(http://www.mathias-bank.de) for a scope bug fix.
 * Thanks to: Seamus Leahy for adding deltaX and deltaY
 *
 * Version: 3.0.4
 *
 * Requires: 1.2.2+
 */
(function(c){var a=["DOMMouseScroll","mousewheel"];c.event.special.mousewheel={setup:function(){if(this.addEventListener){for(var d=a.length;d;){this.addEventListener(a[--d],b,false)}}else{this.onmousewheel=b}},teardown:function(){if(this.removeEventListener){for(var d=a.length;d;){this.removeEventListener(a[--d],b,false)}}else{this.onmousewheel=null}}};c.fn.extend({mousewheel:function(d){return d?this.bind("mousewheel",d):this.trigger("mousewheel")},unmousewheel:function(d){return this.unbind("mousewheel",d)}});function b(i){var g=i||window.event,f=[].slice.call(arguments,1),j=0,h=true,e=0,d=0;i=c.event.fix(g);i.type="mousewheel";if(i.wheelDelta){j=i.wheelDelta/120}if(i.detail){j=-i.detail/3}d=j;if(g.axis!==undefined&&g.axis===g.HORIZONTAL_AXIS){d=0;e=-1*j}if(g.wheelDeltaY!==undefined){d=g.wheelDeltaY/120}if(g.wheelDeltaX!==undefined){e=-1*g.wheelDeltaX/120}f.unshift(i,j,e,d);return c.event.handle.apply(this,f)}})(jQuery);(function(c){var a=c.scrollTo=function(d,f,g){c(window).scrollTo(d,f,g)};a.defaults={axis:"xy",duration:parseFloat(c.fn.jquery)>=1.3?0:1};a.window=function(d){return c(window)._scrollable()};c.fn._scrollable=function(){return this.map(function(){var d=this,f=!d.nodeName||c.inArray(d.nodeName.toLowerCase(),["iframe","#document","html","body"])!=-1;if(!f){return d}var g=(d.contentWindow||d).document||d.ownerDocument||d;return c.browser.safari||g.compatMode=="BackCompat"?g.body:g.documentElement})};c.fn.scrollTo=function(f,e,d){if(typeof e=="object"){d=e;e=0}if(typeof d=="function"){d={onAfter:d}}if(f=="max"){f=9000000000}d=c.extend({},a.defaults,d);e=e||d.speed||d.duration;d.queue=d.queue&&d.axis.length>1;if(d.queue){e/=2}d.offset=b(d.offset);d.over=b(d.over);return this._scrollable().each(function(){var n=this,l=c(n),m=f,j,k={},h=l.is("html,body");switch(typeof m){case"number":case"string":if(/^([+-]=)?\d+(\.\d+)?(px|%)?$/.test(m)){m=b(m);break}m=c(m,this);case"object":if(m.is||m.style){j=(m=c(m)).offset()}}c.each(d.axis.split(""),function(q,r){var t=r=="x"?"Left":"Top",s=t.toLowerCase(),v="scroll"+t,p=n[v],g=a.max(n,r);if(j){k[v]=j[s]+(h?0:p-l.offset()[s]);if(d.margin){k[v]-=parseInt(m.css("margin"+t))||0;k[v]-=parseInt(m.css("border"+t+"Width"))||0}k[v]+=d.offset[s]||0;if(d.over[s]){k[v]+=m[r=="x"?"width":"height"]()*d.over[s]}}else{var u=m[s];k[v]=u.slice&&u.slice(-1)=="%"?parseFloat(u)/100*g:u}if(/^\d+$/.test(k[v])){k[v]=k[v]<=0?0:Math.min(k[v],g)}if(!q&&d.queue){if(p!=k[v]){i(d.onAfterFirst)}delete k[v]}});i(d.onAfter);function i(g){l.animate(k,e,d.easing,g&&function(){g.call(this,f,d)})}}).end()};a.max=function(g,j){var n=j=="x"?"Width":"Height",k="scroll"+n;if(!c(g).is("html,body")){return g[k]-c(g)[n.toLowerCase()]()}var o="client"+n,f=g.ownerDocument.documentElement,d=g.ownerDocument.body;return Math.max(f[k],d[k])-Math.min(f[o],d[o])};function b(d){return typeof d=="object"?d:{top:d,left:d}}})(jQuery);window.Modernizr=function(af,ae,ad){function Q(e,c){for(var f in e){if(V[e[f]]!==ad){return c=="pfx"?e[f]:!0}}return !1}function D(d,c){return !!~(""+d).indexOf(c)}function E(d,c){return typeof d===c}function F(d,c){return G(S.join(d+";")+(c||""))}function G(b){V.cssText=b}var ac="2.0.4",ab={},aa=!0,Z=ae.documentElement,Y=ae.head||ae.getElementsByTagName("head")[0],X="modernizr",W=ae.createElement(X),V=W.style,U,T=Object.prototype.toString,S=" -webkit- -moz- -o- -ms- -khtml- ".split(" "),R={},P={},O={},M=[],K=function(b,p,o,n){var m,l,i,g=ae.createElement("div");if(parseInt(o,10)){while(o--){i=ae.createElement("div"),i.id=n?n[o]:X+(o+1),g.appendChild(i)}}m=["&shy;","<style>",b,"</style>"].join(""),g.id=X,g.innerHTML+=m,Z.appendChild(g),l=p(g,b),g.parentNode.removeChild(g);return !!l},J,I={}.hasOwnProperty,H;!E(I,ad)&&!E(I.call,ad)?H=function(d,c){return I.call(d,c)}:H=function(d,c){return c in d&&E(d.constructor.prototype[c],ad)};var N=function(b,h){var g=b.join(""),e=h.length;K(g,function(f,n){var m=ae.styleSheets[ae.styleSheets.length-1],l=m.cssRules&&m.cssRules[0]?m.cssRules[0].cssText:m.cssText||"",k=f.childNodes,j={};while(e--){j[k[e].id]=k[e]}ab.csstransforms3d=j.csstransforms3d.offsetLeft===9},e,h)}([,["@media (",S.join("transform-3d),("),X,")","{#csstransforms3d{left:9px;position:absolute}}"].join("")],[,"csstransforms3d"]);R.csstransforms3d=function(){var b=!!Q(["perspectiveProperty","WebkitPerspective","MozPerspective","OPerspective","msPerspective"]);b&&"webkitPerspective" in Z.style&&(b=ab.csstransforms3d);return b};for(var L in R){H(R,L)&&(J=L.toLowerCase(),ab[J]=R[L](),M.push((ab[J]?"":"no-")+J))}G(""),W=U=null,af.attachEvent&&function(){var b=ae.createElement("div");b.innerHTML="<elem></elem>";return b.childNodes.length!==1}()&&function(am,al){function c(e){var d=-1;while(++d<ah){e.createElement(ai[d])}}am.iepp=am.iepp||{};var ak=am.iepp,aj=ak.html5elements||"abbr|article|aside|audio|canvas|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",ai=aj.split("|"),ah=ai.length,ag=new RegExp("(^|\\s)("+aj+")","gi"),C=new RegExp("<(/*)("+aj+")","gi"),B=/^\s*[\{\}]\s*$/,A=new RegExp("(^|[^\\n]*?\\s)("+aj+")([^\\n]*)({[\\n\\w\\W]*?})","gi"),z=al.createDocumentFragment(),y=al.documentElement,x=y.firstChild,w=al.createElement("body"),v=al.createElement("style"),u=/print|all/,t;ak.getCSS=function(i,d){if(i+""===ad){return""}var m=-1,l=i.length,k,j=[];while(++m<l){k=i[m];if(k.disabled){continue}d=k.media||d,u.test(d)&&j.push(ak.getCSS(k.imports,d),k.cssText),d="all"}return j.join("")},ak.parseCSS=function(e){var d=[],f;while((f=A.exec(e))!=null){d.push(((B.exec(f[1])?"\n":f[1])+f[2]+f[3]).replace(ag,"$1.iepp_$2")+f[4])}return d.join("\n")},ak.writeHTML=function(){var b=-1;t=t||al.body;while(++b<ah){var h=al.getElementsByTagName(ai[b]),g=h.length,f=-1;while(++f<g){h[f].className.indexOf("iepp_")<0&&(h[f].className+=" iepp_"+ai[b])}}z.appendChild(t),y.appendChild(w),w.className=t.className,w.id=t.id,w.innerHTML=t.innerHTML.replace(C,"<$1font")},ak._beforePrint=function(){v.styleSheet.cssText=ak.parseCSS(ak.getCSS(al.styleSheets,"all")),ak.writeHTML()},ak.restoreHTML=function(){w.innerHTML="",y.removeChild(w),y.appendChild(t)},ak._afterPrint=function(){ak.restoreHTML(),v.styleSheet.cssText=""},c(al),c(z);ak.disablePP||(x.insertBefore(v,x.firstChild),v.media="print",v.className="iepp-printshim",am.attachEvent("onbeforeprint",ak._beforePrint),am.attachEvent("onafterprint",ak._afterPrint))}(af,ae),ab._version=ac,ab._prefixes=S,ab.testProp=function(b){return Q([b])},ab.testStyles=K,Z.className=Z.className.replace(/\bno-js\b/,"")+(aa?" js "+M.join(" "):"");return ab}(this,this.document),function(ap,ao,an){function af(b){return !b||b=="loaded"||b=="complete"}function ag(){var d=1,c=-1;while(aa.length- ++c){if(aa[c].s&&!(d=aa[c].r)){break}}d&&aj()}function ah(b){var f=ao.createElement("script"),e;f.src=b.s,f.onreadystatechange=f.onload=function(){!e&&af(f.readyState)&&(e=1,ag(),f.onload=f.onreadystatechange=null)},ad(function(){e||(e=1,ag())},L.errorTimeout),b.e?f.onload():ac.parentNode.insertBefore(f,ac)}function ai(b){var f=ao.createElement("link"),e;f.href=b.s,f.rel="stylesheet",f.type="text/css",!b.e&&(M||W)?function b(a){ad(function(){if(!e){try{a.sheet.cssRules.length?(e=1,ag()):b(a)}catch(d){d.code==1000||d.message=="security"||d.message=="denied"?(e=1,ad(function(){ag()},0)):b(a)}}},0)}(f):(f.onload=function(){e||(e=1,ad(function(){ag()},0))},b.e&&f.onload()),ad(function(){e||(e=1,ag())},L.errorTimeout),!b.e&&ac.parentNode.insertBefore(f,ac)}function aj(){var b=aa.shift();Y=1,b?b.t?ad(function(){b.t=="c"?ai(b):ah(b)},0):(b(),ag()):Y=0}function ak(t,s,q,p,n,m){function k(){!g&&af(j.readyState)&&(b.r=g=1,!Y&&ag(),j.onload=j.onreadystatechange=null,ad(function(){Q.removeChild(j)},0))}var j=ao.createElement(t),g=0,b={t:q,s:s,e:m};j.src=j.data=s,!U&&(j.style.display="none"),j.width=j.height="0",t!="object"&&(j.type=q),j.onload=j.onreadystatechange=k,t=="img"?j.onerror=k:t=="script"&&(j.onerror=function(){b.e=b.r=1,aj()}),aa.splice(p,0,b),Q.insertBefore(j,U?null:ac),ad(function(){g||(Q.removeChild(j),b.r=b.e=g=1,ag())},L.errorTimeout)}function al(f,e,h){var g=e=="c"?I:J;Y=0,e=e||"j",V(f)?ak(g,f,e,this.i++,ae,h):(aa.splice(this.i++,0,f),aa.length==1&&aj());return this}function am(){var b=L;b.loader={load:al,i:0};return b}var ae=ao.documentElement,ad=ap.setTimeout,ac=ao.getElementsByTagName("script")[0],ab={}.toString,aa=[],Y=0,W="MozAppearance" in ae.style,U=W&&!!ao.createRange().compareNode,S=W&&!U,Q=U?ae:ac.parentNode,O=ap.opera&&ab.call(ap.opera)=="[object Opera]",M="webkitAppearance" in ae.style,K=M&&"async" in ao.createElement("script"),J=W?"object":O||K?"img":"script",I=M?"img":J,Z=Array.isArray||function(b){return ab.call(b)=="[object Array]"},X=function(b){return typeof b=="object"},V=function(b){return typeof b=="string"},T=function(b){return ab.call(b)=="[object Function]"},R=[],P={},N,L;L=function(d){function m(o){var i=o.split("!"),u=R.length,t=i.pop(),s=i.length,r={url:t,origUrl:t,prefixes:i},q,p;for(p=0;p<s;p++){q=P[i[p]],q&&(r=q(r))}for(p=0;p<u;p++){r=R[p](r)}return r}function n(o,f,t,s,r){var q=m(o),p=q.autoCallback;if(!q.bypass){f&&(f=T(f)?f:f[o]||f[s]||f[o.split("/").pop().split("?")[0]]);if(q.instead){return q.instead(o,f,t,s,r)}t.load(q.url,q.forceCSS||!q.forceJS&&/css$/.test(q.url)?"c":an,q.noexec),(T(f)||T(p))&&t.load(function(){am(),f&&f(q.origUrl,r,s),p&&p(q.origUrl,r,s)})}}function c(o,e){function u(b){if(V(b)){n(b,q,e,0,t)}else{if(X(b)){for(p in b){b.hasOwnProperty(p)&&n(b[p],q,e,p,t)}}}}var t=!!o.test,s=t?o.yep:o.nope,r=o.load||o.both,q=o.callback,p;u(s),u(r),o.complete&&e.load(o.complete)}var l,k,j=this.yepnope.loader;if(V(d)){n(d,0,j,0)}else{if(Z(d)){for(l=0;l<d.length;l++){k=d[l],V(k)?n(k,0,j,0):Z(k)?L(k):X(k)&&c(k,j)}}else{X(d)&&c(d,j)}}},L.addPrefix=function(d,c){P[d]=c},L.addFilter=function(b){R.push(b)},L.errorTimeout=10000,ao.readyState==null&&ao.addEventListener&&(ao.readyState="loading",ao.addEventListener("DOMContentLoaded",N=function(){ao.removeEventListener("DOMContentLoaded",N,0),ao.readyState="complete"},0)),ap.yepnope=am()}(this,this.document),Modernizr.load=function(){yepnope.apply(window,[].slice.call(arguments,0))};(function(){var a=jQuery.event.special,c="D"+(+new Date()),b="D"+(+new Date()+1);a.scrollstart={setup:function(){var e,d=function(h){var f=this,g=arguments;if(e){clearTimeout(e)}else{h.type="scrollstart";jQuery.event.handle.apply(f,g)}e=setTimeout(function(){e=null},a.scrollstop.latency)};jQuery(this).bind("scroll",d).data(c,d)},teardown:function(){jQuery(this).unbind("scroll",jQuery(this).data(c))}};a.scrollstop={latency:300,setup:function(){var e,d=function(h){var f=this,g=arguments;if(e){clearTimeout(e)}e=setTimeout(function(){e=null;h.type="scrollstop";jQuery.event.handle.apply(f,g)},a.scrollstop.latency)};jQuery(this).bind("scroll",d).data(b,d)},teardown:function(){jQuery(this).unbind("scroll",jQuery(this).data(b))}}})();
