window.Modernizr=function(n,t,i){function p(n){k.cssText=n}function u(n,t){return typeof n===t}function w(n,t){for(var r in n)if(k[n[r]]!==i)return t=="pfx"?n[r]:!0;return!1}function rt(n,t,r){var e,f;for(e in n)if(f=t[n[e]],f!==i)return r===!1?n[e]:u(f,"function")?f.bind(r||t):f;return!1}function c(n,t,i){var r=n.charAt(0).toUpperCase()+n.substr(1),f=(n+" "+g.join(r+" ")+r).split(" ");return u(t,"string")||u(t,"undefined")?w(f,t):(f=(n+" "+nt.join(r+" ")+r).split(" "),rt(f,t,i))}var r={},e=t.documentElement,o="modernizr",b=t.createElement(o),k=b.style,ut,st={}.toString,l=" -webkit- -moz- -o- -ms- ".split(" "),d="Webkit Moz O ms",g=d.split(" "),nt=d.toLowerCase().split(" "),f={},a=[],v=a.slice,s,tt=function(n,i,r,u){var l,a,c,f=t.createElement("div"),h=t.body,s=h?h:t.createElement("body");if(parseInt(r,10))while(r--)c=t.createElement("div"),c.id=u?u[r]:o+(r+1),f.appendChild(c);return l=["&#173;","<style>",n,"<\/style>"].join(""),f.id=o,(h?f:s).innerHTML+=l,s.appendChild(f),h||(s.style.background="",e.appendChild(s)),a=i(f,n),h?f.parentNode.removeChild(f):s.parentNode.removeChild(s),!!a},y={}.hasOwnProperty,it,ft,h;it=!u(y,"undefined")&&!u(y.call,"undefined")?function(n,t){return y.call(n,t)}:function(n,t){return t in n&&u(n.constructor.prototype[t],"undefined")};Function.prototype.bind||(Function.prototype.bind=function(n){var t=this,i,r;if(typeof t!="function")throw new TypeError;return i=v.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(v.call(arguments))),Object(u)===u?u:e):t.apply(n,i.concat(v.call(arguments)))},r});ft=function(n,i){var f=n.join(""),u=i.length;tt(f,function(n){for(var i=t.styleSheets[t.styleSheets.length-1],o=i?i.cssRules&&i.cssRules[0]?i.cssRules[0].cssText:i.cssText||"":"",e=n.childNodes,f={};u--;)f[e[u].id]=e[u];r.csstransforms3d=(f.csstransforms3d&&f.csstransforms3d.offsetLeft)===9&&f.csstransforms3d.offsetHeight===3},u,i)}([,["@media (",l.join("transform-3d),("),o,")","{#csstransforms3d{left:9px;position:absolute;height:3px;}}"].join("")],[,"csstransforms3d"]);f.csstransforms=function(){return!!c("transform")};f.csstransforms3d=function(){var n=!!c("perspective");return n&&"webkitPerspective"in e.style&&(n=r.csstransforms3d),n};for(h in f)it(f,h)&&(s=h.toLowerCase(),r[s]=f[h](),a.push((r[s]?"":"no-")+s));return p(""),b=ut=null,function(n,t){function o(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=i.elements;return typeof n=="string"?n.split(" "):n}function h(n){var t={},u=n.createElement,f=n.createDocumentFragment,r=f();n.createElement=function(n){var f=(t[n]||(t[n]=u(n))).cloneNode();return i.shivMethods&&f.canHaveChildren&&!c.test(n)?r.appendChild(f):f};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[n]=u(n),r.createElement(n),'c("'+n+'")'})+");return n}")(i,r)}function u(n){var t;return n.documentShived?n:(i.shivCSS&&!f&&(t=!!o(n,"article,aside,details,figcaption,figure,footer,header,hgroup,nav,section{display:block}audio{display:none}canvas,video{display:inline-block;*display:inline;*zoom:1}[hidden]{display:none}audio[controls]{display:inline-block;*display:inline;*zoom:1}mark{background:#FF0;color:#000}")),e||(t=!h(n)),t&&(n.documentShived=t),n)}var r=n.html5||{},c=/^<|^(?:button|form|map|select|textarea)$/i,f,e,i;(function(){var n=t.createElement("a");n.innerHTML="<xyz><\/xyz>";f="hidden"in n;e=n.childNodes.length==1||function(){try{t.createElement("a")}catch(i){return!0}var n=t.createDocumentFragment();return typeof n.cloneNode=="undefined"||typeof n.createDocumentFragment=="undefined"||typeof n.createElement=="undefined"}()})();i={elements:r.elements||"abbr article aside audio bdi canvas data datalist details figcaption figure footer header hgroup mark meter nav output progress section summary time video",shivCSS:r.shivCSS!==!1,shivMethods:r.shivMethods!==!1,type:"default",shivDocument:u};n.html5=i;u(t)}(this,t),r._version="2.5.3",r._prefixes=l,r._domPrefixes=nt,r._cssomPrefixes=g,r.testProp=function(n){return w([n])},r.testAllProps=c,r.testStyles=tt,e.className=e.className.replace(/(^|\s)no-js(\s|$)/,"$1$2")+(" js "+a.join(" ")),r}(this,this.document),function(n,t,i){function h(n){return y.call(n)=="[object Function]"}function c(n){return typeof n=="string"}function l(){}function w(n){return!n||n=="loaded"||n=="complete"||n=="uninitialized"}function f(){var n=a.shift();v=1;n?n.t?s(function(){(n.t=="c"?u.injectCss:u.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(!nt&&w(p.readyState)&&(tt.r=nt=1,!v&&f(),p.onload=p.onreadystatechange=null,t)){n!="img"&&s(function(){g.removeChild(p)},50);for(var u in r[i])r[i].hasOwnProperty(u)&&r[i][u].onload()}}var y=y||u.errorTimeout,p={},nt=0,b=0,tt={t:o,s:i,e:c,a:l,x:y};r[i]===1&&(b=1,r[i]=[],p=t.createElement(n));n=="object"?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);n!="img"&&(b||r[i]===2?(g.insertBefore(p,d?null:e),s(k,y)):r[i].push(p))}function ft(n,t,i,r,u){return v=0,t=t||"j",c(n)?ut(t=="c"?et:nt,n,t,this.i++,i,r,u):(a.splice(this.i++,0,n),a.length==1&&f()),this}function b(){var n=u;return n.loader={load:ft,i:0},n}var o=t.documentElement,s=n.setTimeout,e=t.getElementsByTagName("script")[0],y={}.toString,a=[],v=0,k="MozAppearance"in o.style,d=k&&!!t.createRange().compareNode,g=d?o:e.parentNode,o=n.opera&&y.call(n.opera)=="[object Opera]",o=!!t.attachEvent&&!o,nt=k?"object":o?"script":"img",et=o?"script":nt,tt=Array.isArray||function(n){return y.call(n)=="[object Array]"},p=[],r={},it={timeout:function(n,t){return t.length&&(n.timeout=t[0]),n}},rt,u;u=function(n){function v(n){for(var n=n.split("!"),f=p.length,i=n.pop(),e=n.length,i={url:i,origUrl:i,prefixes:n},u,r,t=0;t<e;t++)r=n[t].split("="),(u=it[r.shift()])&&(i=u(i,r));for(t=0;t<f;t++)i=p[t](i);return i}function e(n,t,u,e,o){var s=v(n),c=s.autoCallback;s.url.split(".").pop().split("?").shift();s.bypass||(t&&(t=h(t)?t:t[n]||t[e]||t[n.split("/").pop().split("?")[0]]||f),s.instead?s.instead(n,t,u,e,o):(r[s.url]?s.noexec=!0:r[s.url]=1,u.load(s.url,s.forceCSS||!s.forceJS&&"css"==s.url.split(".").pop().split("?").shift()?"c":i,s.noexec,s.attrs,s.timeout),(h(t)||h(c))&&u.load(function(){b();t&&t(s.origUrl,o,e);c&&c(s.origUrl,o,e);r[s.url]=2})))}function a(n,t){function a(n,o){if(n){if(c(n))o||(i=function(){var n=[].slice.call(arguments);s.apply(this,n);u()}),e(n,i,t,0,f);else if(Object(n)===n)for(r in v=function(){var t=0;for(var i in n)n.hasOwnProperty(i)&&t++;return t}(),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])),e(n[r],i,t,r,f))}else o||u()}var f=!!n.test,o=n.load||n.both,i=n.callback||l,s=i,u=n.complete||l,v,r;a(f?n.yep:n.nope,!!o);o&&a(o)}var o,t,s=this.yepnope.loader;if(c(n))e(n,0,s,0);else if(tt(n))for(o=0;o<n.length;o++)t=n[o],c(t)?e(t,0,s,0):tt(t)?u(t):Object(t)===t&&a(t,s);else Object(n)===n&&a(n,s)};u.addPrefix=function(n,t){it[n]=t};u.addFilter=function(n){p.push(n)};u.errorTimeout=1e4;t.readyState==null&&t.addEventListener&&(t.readyState="loading",t.addEventListener("DOMContentLoaded",rt=function(){t.removeEventListener("DOMContentLoaded",rt,0);t.readyState="complete"},0));n.yepnope=b();n.yepnope.executeStack=f;n.yepnope.injectJs=function(n,i,r,o,h,c){var a=t.createElement("script"),v,y,o=o||u.errorTimeout;a.src=n;for(y in r)a.setAttribute(y,r[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 u=t.createElement("link"),c,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))}