$('[href^="#"][href!="#"]').click(function(){$($(this).attr("href")).attr("tabIndex",-1).focus()});window.Modernizr=function(n,t,i){function k(n){v.cssText=n}function e(n,t){return typeof n===t}function d(n,t){return!!~(""+n).indexOf(t)}function g(n,t){var u,r;for(u in n)if(r=n[u],!d(r,"-")&&v[r]!==i)return"pfx"==t?r:!0;return!1}function ft(n,t,r){var f,u;for(f in n)if(u=t[n[f]],u!==i)return r===!1?n[f]:e(u,"function")?u.bind(r||t):u;return!1}function f(n,t,i){var r=n.charAt(0).toUpperCase()+n.slice(1),u=(n+" "+rt.join(r+" ")+r).split(" ");return e(t,"string")||e(t,"undefined")?g(u,t):(u=(n+" "+ut.join(r+" ")+r).split(" "),ft(u,t,i))}var et,h,l,r={},a=!0,o=t.documentElement,s="modernizr",nt=t.createElement(s),v=nt.style,tt=({}.toString," -webkit- -moz- -o- -ms- ".split(" ")),it="Webkit Moz O ms",rt=it.split(" "),ut=it.toLowerCase().split(" "),ot={svg:"http://www.w3.org/2000/svg"},u={},y=[],p=y.slice,w=function(n,i,r,u){var l,a,c,v,f=t.createElement("div"),h=t.body,e=h||t.createElement("body");if(parseInt(r,10))for(;r--;)c=t.createElement("div"),c.id=u?u[r]:s+(r+1),f.appendChild(c);return l=["&#173;",'<style id="s',s,'">',n,"<\/style>"].join(""),f.id=s,(h?f:e).innerHTML+=l,e.appendChild(f),h||(e.style.background="",e.style.overflow="hidden",v=o.style.overflow,o.style.overflow="hidden",o.appendChild(e)),a=i(f,n),h?f.parentNode.removeChild(f):(e.parentNode.removeChild(e),o.style.overflow=v),!!a},st=function(){function n(n,u){u=u||t.createElement(r[n]||"div");n="on"+n;var f=n in u;return f||(u.setAttribute||(u=t.createElement("div")),u.setAttribute&&u.removeAttribute&&(u.setAttribute(n,""),f=e(u[n],"function"),e(u[n],"undefined")||(u[n]=i),u.removeAttribute(n))),u=null,f}var r={select:"input",change:"input",submit:"form",reset:"form",error:"img",load:"img",abort:"img"};return n}(),b={}.hasOwnProperty,c;l=e(b,"undefined")||e(b.call,"undefined")?function(n,t){return t in n&&e(n.constructor.prototype[t],"undefined")}:function(n,t){return b.call(n,t)};Function.prototype.bind||(Function.prototype.bind=function(n){var t=this,i,r;if("function"!=typeof t)throw new TypeError;return i=p.call(arguments,1),r=function(){var f,e,u;return this instanceof r?(f=function(){},f.prototype=t.prototype,e=new f,u=t.apply(e,i.concat(p.call(arguments))),Object(u)===u?u:e):t.apply(n,i.concat(p.call(arguments)))},r});u.touch=function(){var i;return"ontouchstart"in n||n.DocumentTouch&&t instanceof DocumentTouch?i=!0:w(["@media (",tt.join("touch-enabled),("),s,")","{#modernizr{top:9px;position:absolute}}"].join(""),function(n){i=9===n.offsetTop}),i};u.rgba=function(){return k("background-color:rgba(150,255,150,.5)"),d(v.backgroundColor,"rgba")};u.backgroundsize=function(){return f("backgroundSize")};u.borderimage=function(){return f("borderImage")};u.borderradius=function(){return f("borderRadius")};u.csstransforms=function(){return!!f("transform")};u.csstransforms3d=function(){var n=!!f("perspective");return n&&"webkitPerspective"in o.style&&w("@media (transform-3d),(-webkit-transform-3d){#modernizr{left:9px;position:absolute;height:3px;}}",function(t){n=9===t.offsetLeft&&3===t.offsetHeight}),n};u.csstransitions=function(){return f("transition")};u.svg=function(){return!!t.createElementNS&&!!t.createElementNS(ot.svg,"svg").createSVGRect};for(c in u)l(u,c)&&(h=c.toLowerCase(),r[h]=u[c](),y.push((r[h]?"":"no-")+h));return r.addTest=function(n,t){if("object"==typeof n)for(var u in n)l(n,u)&&r.addTest(u,n[u]);else{if(n=n.toLowerCase(),r[n]!==i)return r;t="function"==typeof t?t():t;"undefined"!=typeof a&&a&&(o.className+=" "+(t?"":"no-")+n);r[n]=t}return r},k(""),nt=et=null,function(n,t){function v(n,t){var i=n.createElement("p"),r=n.getElementsByTagName("head")[0]||n.documentElement;return i.innerHTML="x<style>"+t+"<\/style>",r.insertBefore(i.lastChild,r.firstChild)}function s(){var n=r.elements;return"string"==typeof n?n.split(" "):n}function u(n){var t=a[n[l]];return t||(t={},o++,n[l]=o,a[o]=t),t}function h(n,r,f){if(r||(r=t),i)return r.createElement(n);f||(f=u(r));var e;return e=f.cache[n]?f.cache[n].cloneNode():b.test(n)?(f.cache[n]=f.createElem(n)).cloneNode():f.createElem(n),!e.canHaveChildren||w.test(n)||e.tagUrn?e:f.frag.appendChild(e)}function y(n,r){if(n||(n=t),i)return n.createDocumentFragment();r=r||u(n);for(var e=r.frag.cloneNode(),f=0,o=s(),h=o.length;h>f;f++)e.createElement(o[f]);return e}function p(n,t){t.cache||(t.cache={},t.createElem=n.createElement,t.createFrag=n.createDocumentFragment,t.frag=t.createFrag());n.createElement=function(i){return r.shivMethods?h(i,n,t):t.createElem(i)};n.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+s().join().replace(/[\w\-]+/g,function(n){return t.createElem(n),t.frag.createElement(n),'c("'+n+'")'})+");return n}")(r,t.frag)}function c(n){n||(n=t);var e=u(n);return r.shivCSS&&!f&&!e.hasCSS&&(e.hasCSS=!!v(n,"article,aside,dialog,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}mark{background:#FF0;color:#000}template{display:none}")),i||p(n,e),n}var f,i,e=n.html5||{},w=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,b=/^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i,l="_html5shiv",o=0,a={},r;!function(){try{var n=t.createElement("a");n.innerHTML="<xyz><\/xyz>";f="hidden"in n;i=1==n.childNodes.length||function(){t.createElement("a");var n=t.createDocumentFragment();return"undefined"==typeof n.cloneNode||"undefined"==typeof n.createDocumentFragment||"undefined"==typeof n.createElement}()}catch(r){f=!0;i=!0}}();r={elements:e.elements||"abbr article aside audio bdi canvas data datalist details dialog figcaption figure footer header hgroup main mark meter nav output progress section summary template time video",version:"3.7.0",shivCSS:e.shivCSS!==!1,supportsUnknownElements:i,shivMethods:e.shivMethods!==!1,type:"default",shivDocument:c,createElement:h,createDocumentFragment:y};n.html5=r;c(t)}(this,t),r._version="2.8.2",r._prefixes=tt,r._domPrefixes=ut,r._cssomPrefixes=rt,r.hasEvent=st,r.testProp=function(n){return g([n])},r.testAllProps=f,r.testStyles=w,r.prefixed=function(n,t,i){return t?f(n,t,i):f(n,"pfx")},o.className=o.className.replace(/(^|\s)no-js(\s|$)/,"$1$2")+(a?" js "+y.join(" "):""),r}(this,this.document),function(n,t,i){function h(n){return"[object Function]"==y.call(n)}function c(n){return"string"==typeof n}function l(){}function w(n){return!n||"loaded"==n||"complete"==n||"uninitialized"==n}function f(){var n=a.shift();v=1;n?n.t?s(function(){("c"==n.t?r.injectCss:r.injectJs)(n.s,0,n.a,n.x,n.e,1)},0):(n(),f()):v=0}function ut(n,i,o,h,c,l,y){function k(t){if(!d&&w(p.readyState)&&(tt.r=d=1,!v&&f(),p.onload=p.onreadystatechange=null,t)){"img"!=n&&s(function(){nt.removeChild(p)},50);for(var r in u[i])u[i].hasOwnProperty(r)&&u[i][r].onload()}}var y=y||r.errorTimeout,p=t.createElement(n),d=0,b=0,tt={t:o,s:i,e:c,a:l,x:y};1===u[i]&&(b=1,u[i]=[]);"object"==n?p.data=i:(p.src=i,p.type=n);p.width=p.height="0";p.onerror=p.onload=p.onreadystatechange=function(){k.call(this,b)};a.splice(h,0,tt);"img"!=n&&(b||2===u[i]?(nt.insertBefore(p,g?null:e),s(k,y)):u[i].push(p))}function ft(n,t,i,r,u){return v=0,t=t||"j",c(n)?ut("c"==t?et:tt,n,t,this.i++,i,r,u):(a.splice(this.i++,0,n),1==a.length&&f()),this}function b(){var n=r;return n.loader={load:ft,i:0},n}var k,r,o=t.documentElement,s=n.setTimeout,e=t.getElementsByTagName("script")[0],y={}.toString,a=[],v=0,d="MozAppearance"in o.style,g=d&&!!t.createRange().compareNode,nt=g?o:e.parentNode,o=n.opera&&"[object Opera]"==y.call(n.opera),o=!!t.attachEvent&&!o,tt=d?"object":o?"script":"img",et=o?"script":tt,it=Array.isArray||function(n){return"[object Array]"==y.call(n)},p=[],u={},rt={timeout:function(n,t){return t.length&&(n.timeout=t[0]),n}};r=function(n){function a(n){for(var u,r,n=n.split("!"),f=p.length,i=n.pop(),e=n.length,i={url:i,origUrl:i,prefixes:n},t=0;e>t;t++)r=n[t].split("="),(u=rt[r.shift()])&&(i=u(i,r));for(t=0;f>t;t++)i=p[t](i);return i}function f(n,t,r,f,e){var o=a(n),s=o.autoCallback;o.url.split(".").pop().split("?").shift();o.bypass||(t&&(t=h(t)?t:t[n]||t[f]||t[n.split("/").pop().split("?")[0]]),o.instead?o.instead(n,t,r,f,e):(u[o.url]?o.noexec=!0:u[o.url]=1,r.load(o.url,o.forceCSS||!o.forceJS&&"css"==o.url.split(".").pop().split("?").shift()?"c":i,o.noexec,o.attrs,o.timeout),(h(t)||h(s))&&r.load(function(){b();t&&t(o.origUrl,e,f);s&&s(o.origUrl,e,f);u[o.url]=2})))}function s(n,t){function a(n,o){if(n){if(c(n))o||(i=function(){var n=[].slice.call(arguments);s.apply(this,n);u()}),f(n,i,t,0,e);else if(Object(n)===n)for(r in v=function(){var t,i=0;for(t in n)n.hasOwnProperty(t)&&i++;return i}(),n)n.hasOwnProperty(r)&&(!o&&!--v&&(h(i)?i=function(){var n=[].slice.call(arguments);s.apply(this,n);u()}:i[r]=function(n){return function(){var t=[].slice.call(arguments);n&&n.apply(this,t);u()}}(s[r])),f(n[r],i,t,r,e))}else o||u()}var v,r,e=!!n.test,o=n.load||n.both,i=n.callback||l,s=i,u=n.complete||l;a(e?n.yep:n.nope,!!o);o&&a(o)}var e,t,o=this.yepnope.loader;if(c(n))f(n,0,o,0);else if(it(n))for(e=0;e<n.length;e++)t=n[e],c(t)?f(t,0,o,0):it(t)?r(t):Object(t)===t&&s(t,o);else Object(n)===n&&s(n,o)};r.addPrefix=function(n,t){rt[n]=t};r.addFilter=function(n){p.push(n)};r.errorTimeout=1e4;null==t.readyState&&t.addEventListener&&(t.readyState="loading",t.addEventListener("DOMContentLoaded",k=function(){t.removeEventListener("DOMContentLoaded",k,0);t.readyState="complete"},0));n.yepnope=b();n.yepnope.executeStack=f;n.yepnope.injectJs=function(n,i,u,o,h,c){var v,y,a=t.createElement("script"),o=o||r.errorTimeout;a.src=n;for(y in u)a.setAttribute(y,u[y]);i=c?f:i||l;a.onreadystatechange=a.onload=function(){!v&&w(a.readyState)&&(v=1,i(),a.onload=a.onreadystatechange=null)};s(function(){v||(v=1,i(1))},o);h?a.onload():e.parentNode.insertBefore(a,e)};n.yepnope.injectCss=function(n,i,r,u,o,h){var c,u=t.createElement("link"),i=h?f:i||l;u.href=n;u.rel="stylesheet";u.type="text/css";for(c in r)u.setAttribute(c,r[c]);o||(e.parentNode.insertBefore(u,e),s(i,0))}}(this,document);Modernizr.load=function(){yepnope.apply(window,[].slice.call(arguments,0))}