window.Modernizr=function(s,t,u){function l(){}function j(K,L){var I=K.charAt(0).toUpperCase()+K.substr(1),J=(K+" "+a.join(I+" ")+I).split(" ");return !!h(J,L)}function h(J,K){for(var I in J){if(C[J[I]]!==u&&(!K||K(J[I],B))){return !0}}}function f(I,J){return(""+I).indexOf(J)!==-1}function d(I,J){return typeof I===J}function b(I,J){return H(G.join(I+";")+(J||""))}function H(I){C.cssText=I}var v="1.7",w={},x=!0,y=t.documentElement,z=t.head||t.getElementsByTagName("head")[0],A="modernizr",B=t.createElement(A),C=B.style,D=t.createElement("input"),E=":)",F=Object.prototype.toString,G=" -webkit- -moz- -o- -ms- -khtml- ".split(" "),a="Webkit Moz O ms Khtml".split(" "),c={svg:"http://www.w3.org/2000/svg"},e={},g={},i={},k=[],m,n=function(I){var J=t.createElement("style"),K=t.createElement("div"),L;J.textContent=I+"{#modernizr{height:3px}}",z.appendChild(J),K.id="modernizr",y.appendChild(K),L=K.offsetHeight===3,J.parentNode.removeChild(J),K.parentNode.removeChild(K);return !!L},p=function(){function J(L,M){M=M||t.createElement(I[L]||"div");var K=(L="on"+L) in M;K||(M.setAttribute||(M=t.createElement("div")),M.setAttribute&&M.removeAttribute&&(M.setAttribute(L,""),K=d(M[L],"function"),d(M[L],u)||(M[L]=u),M.removeAttribute(L))),M=null;return K}var I={select:"input",change:"input",submit:"form",reset:"form",error:"img",load:"img",abort:"img"};return J}(),q=({}).hasOwnProperty,r;d(q,u)||d(q.call,u)?r=function(I,J){return J in I&&d(I.constructor.prototype[J],u)}:r=function(I,J){return q.call(I,J)},e.touch=function(){return"ontouchstart" in s||n("@media ("+G.join("touch-enabled),(")+"modernizr)")},e.history=function(){return !!(s.history&&history.pushState)},e.backgroundsize=function(){return j("backgroundSize")},e.boxshadow=function(){return j("boxShadow")},e.opacity=function(){b("opacity:.55");return/^0.55$/.test(C.opacity)},e.cssanimations=function(){return j("animationName")},e.csstransforms=function(){return !!h(["transformProperty","WebkitTransform","MozTransform","OTransform","msTransform"])},e.csstransforms3d=function(){var I=!!h(["perspectiveProperty","WebkitPerspective","MozPerspective","OPerspective","msPerspective"]);I&&"webkitPerspective" in y.style&&(I=n("@media ("+G.join("transform-3d),(")+"modernizr)"));return I},e.csstransitions=function(){return j("transitionProperty")},e.fontface=function(){var I,J,K=z||y,L=t.createElement("style"),M=t.implementation||{hasFeature:function(){return !1}};L.type="text/css",K.insertBefore(L,K.firstChild),I=L.sheet||L.styleSheet;var N=M.hasFeature("CSS2","")?function(O){if(!I||!O){return !1}var P=!1;try{I.insertRule(O,0),P=/src/i.test(I.cssRules[0].cssText),I.deleteRule(I.cssRules.length-1)}catch(Q){}return P}:function(O){if(!I||!O){return !1}I.cssText=O;return I.cssText.length!==0&&/src/i.test(I.cssText)&&I.cssText.replace(/\r+|\n+/g,"").indexOf(O.split(" ")[0])===0};J=N('@font-face { font-family: "font"; src: url(data:,); }'),K.removeChild(L);return J},e.video=function(){var I=t.createElement("video"),J=!!I.canPlayType;if(J){J=new Boolean(J),J.ogg=I.canPlayType('video/ogg; codecs="theora"');var K='video/mp4; codecs="avc1.42E01E';J.h264=I.canPlayType(K+'"')||I.canPlayType(K+', mp4a.40.2"'),J.webm=I.canPlayType('video/webm; codecs="vp8, vorbis"')}return J};for(var o in e){r(e,o)&&(m=o.toLowerCase(),w[m]=e[o](),k.push((w[m]?"":"no-")+m))}w.input||l(),w.crosswindowmessaging=w.postmessage,w.historymanagement=w.history,w.addTest=function(I,J){I=I.toLowerCase();if(!w[I]){J=!!J(),y.className+=" "+(J?"":"no-")+I,w[I]=J;return w}},H(""),B=D=null,x&&s.attachEvent&&function(){var I=t.createElement("div");I.innerHTML="<elem></elem>";return I.childNodes.length!==1}()&&function(V,X){function L(ac,ad){var Y=-1,Z=ac.length,aa,ab=[];while(++Y<Z){aa=ac[Y],(ad=aa.media||ad)!="screen"&&ab.push(L(aa.imports,ad),aa.cssText)}return ab.join("")}function J(Y){var Z=-1;while(++Z<M){Y.createElement(K[Z])}}var I="abbr|article|aside|audio|canvas|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",K=I.split("|"),M=K.length,N=new RegExp("(^|\\s)("+I+")","gi"),O=new RegExp("<(/*)("+I+")","gi"),P=new RegExp("(^|[^\\n]*?\\s)("+I+")([^\\n]*)({[\\n\\w\\W]*?})","gi"),Q=X.createDocumentFragment(),R=X.documentElement,S=R.firstChild,T=X.createElement("body"),U=X.createElement("style"),W;J(X),J(Q),S.insertBefore(U,S.firstChild),U.media="print",V.attachEvent("onbeforeprint",function(){var Y=-1,Z=L(X.styleSheets,"all"),ae=[],aa;W=W||X.body;while((aa=P.exec(Z))!=null){ae.push((aa[1]+aa[2]+aa[3]).replace(N,"$1.iepp_$2")+aa[4])}U.styleSheet.cssText=ae.join("\n");while(++Y<M){var ab=X.getElementsByTagName(K[Y]),ac=ab.length,ad=-1;while(++ad<ac){ab[ad].className.indexOf("iepp_")<0&&(ab[ad].className+=" iepp_"+K[Y])}}Q.appendChild(W),R.appendChild(T),T.className=W.className,T.innerHTML=W.innerHTML.replace(O,"<$1font")}),V.attachEvent("onafterprint",function(){T.innerHTML="",R.removeChild(T),R.appendChild(W),U.styleSheet.cssText=""})}(s,t),w._enableHTML5=x,w._version=v,y.className=y.className.replace(/\bno-js\b/,"")+" js "+k.join(" ");return w}(this,this.document),function(s,t,u){function C(I){return !I||I=="loaded"||I=="complete"}function B(){var I=1,J=-1;while(H.length- ++J){if(H[J].s&&!(I=H[J].r)){break}}I&&y()}function A(I){var J=t.createElement("script"),K;J.src=I.s,J.onreadystatechange=J.onload=function(){!K&&C(J.readyState)&&(K=1,B(),J.onload=J.onreadystatechange=null)},E(function(){K||(K=1,B())},o.errorTimeout),I.e?J.onload():F.parentNode.insertBefore(J,F)}function z(I){var J=t.createElement("link"),K;J.href=I.s,J.rel="stylesheet",J.type="text/css",!I.e&&(n||d)?function L(M){E(function(){if(!K){try{M.sheet.cssRules.length?(K=1,B()):L(M)}catch(N){N.code==1000||N.message=="security"||N.message=="denied"?(K=1,E(function(){B()},0)):L(M)}}},0)}(J):(J.onload=function(){K||(K=1,E(function(){B()},0))},I.e&&J.onload()),E(function(){K||(K=1,B())},o.errorTimeout),!I.e&&F.parentNode.insertBefore(J,F)}function y(){var I=H.shift();b=1,I?I.t?E(function(){I.t=="c"?z(I):A(I)},0):(I(),B()):b=0}function x(Q,R,I,J,K,L){function M(){!O&&C(N.readyState)&&(P.r=O=1,!b&&B(),N.onload=N.onreadystatechange=null,E(function(){j.removeChild(N)},0))}var N=t.createElement(Q),O=0,P={t:I,s:R,e:L};N.src=N.data=R,!f&&(N.style.display="none"),N.width=N.height="0",Q!="object"&&(N.type=I),N.onload=N.onreadystatechange=M,Q=="img"?N.onerror=M:Q=="script"&&(N.onerror=function(){P.e=P.r=1,y()}),H.splice(J,0,P),j.insertBefore(N,f?null:F),(l||Q=="object")&&E(function(){O||(j.removeChild(N),P.r=P.e=O=1,B())},o.errorTimeout)}function w(K,L,I){var J=L=="c"?r:q;b=0,L=L||"j",e(K)?x(J,K,L,this.i++,D,I):(H.splice(this.i++,0,K),H.length==1&&y());return this}function v(){var I=o;I.loader={load:w,i:0};return I}var D=t.documentElement,E=s.setTimeout,F=t.getElementsByTagName("script")[0],G=({}).toString,H=[],b=0,d="MozAppearance" in D.style,f=d&&!!t.createRange().compareNode,h=d&&!f,j=f?D:F.parentNode,l=s.opera&&G.call(s.opera)=="[object Opera]",n="webkitAppearance" in D.style,p=n&&("webkitIndexedDB" in s||"indexedDB" in s),q=d?"object":l||p?"img":"script",r=n?"img":q,a=Array.isArray||function(I){return G.call(I)=="[object Array]"},c=function(I){return typeof I=="object"},e=function(I){return typeof I=="string"},g=function(I){return G.call(I)=="[object Function]"},i=[],k={},m,o;o=function(M){function I(W){var R=W.split("!"),P=i.length,Q=R.pop(),S=R.length,T={url:Q,origUrl:Q,prefixes:R},U,V;for(V=0;V<S;V++){U=k[R[V]],U&&(T=U(T))}for(V=0;V<P;V++){T=i[V](T)}return T}function O(V,T,P,Q,R){var S=I(V),U=S.autoCallback;if(!S.bypass){T&&(T=g(T)?T:T[V]||T[Q]||T[V.split("/").pop().split("?")[0]]);if(S.instead){return S.instead(V,T,P,Q,R)}P.load(S.url,S.forceCSS||!S.forceJS&&/css$/.test(S.url)?"c":u,S.noexec),(g(T)||g(U))&&P.load(function(){v(),T&&T(S.origUrl,R,Q),U&&U(S.origUrl,R,Q)})}}function N(W,V){function P(X){if(e(X)){O(X,T,V,0,Q)}else{if(c(X)){for(U in X){X.hasOwnProperty(U)&&O(X[U],T,V,U,Q)}}}}var Q=!!W.test,R=Q?W.yep:W.nope,S=W.load||W.both,T=W.callback,U;P(R),P(S),W.complete&&V.load(W.complete)}var J,K,L=this.yepnope.loader;if(e(M)){O(M,0,L,0)}else{if(a(M)){for(J=0;J<M.length;J++){K=M[J],e(K)?O(K,0,L,0):a(K)?o(K):c(K)&&N(K,L)}}else{c(M)&&N(M,L)}}},o.addPrefix=function(I,J){k[I]=J},o.addFilter=function(I){i.push(I)},o.errorTimeout=10000,t.readyState==null&&t.addEventListener&&(t.readyState="loading",t.addEventListener("DOMContentLoaded",m=function(){t.removeEventListener("DOMContentLoaded",m,0),t.readyState="complete"},0)),s.yepnope=v()}(this,this.document),Modernizr.load=function(){yepnope.apply(window,[].slice.call(arguments,0))};
