window.Modernizr=function(p,r,b){function x(){j.input=function(J){for(var K=0,I=J.length;K<I;K++){s[J[K]]=!!(J[K] in q)}return s}("autocomplete autofocus list placeholder max min multiple pattern required step".split(" ")),j.inputtypes=function(I){for(var J=0,K,L,M,N=I.length;J<N;J++){q.setAttribute("type",L=I[J]),K=q.type!=="text",K&&(q.value=a,q.style.cssText="position:absolute;visibility:hidden;",/^range$/.test(L)&&q.style.WebkitAppearance!==b?(t.appendChild(q),M=r.defaultView,K=M.getComputedStyle&&M.getComputedStyle(q,null).WebkitAppearance!=="textfield"&&q.offsetHeight!==0,t.removeChild(q)):/^(search|tel)$/.test(L)||(/^(url|email)$/.test(L)?K=q.checkValidity&&q.checkValidity()===!1:/^color$/.test(L)?(t.appendChild(q),t.offsetWidth,K=q.value!=a,t.removeChild(q)):K=q.value!=a)),c[I[J]]=!!K}return c}("search tel url email datetime date month week time datetime-local number range color".split(" "))}function u(I,J){var K=I.charAt(0).toUpperCase()+I.substr(1),L=(I+" "+y.join(K+" ")+K).split(" ");return !!d(L,J)}function d(J,K){for(var I in J){if(m[J[I]]!==b&&(!K||K(J[I],h))){return !0}}}function H(I,J){return(""+I).indexOf(J)!==-1}function D(I,J){return typeof I===J}function z(I,J){return l(i.join(I+";")+(J||""))}function l(I){m.cssText=I}var f="1.7",j={},n=!0,t=r.documentElement,v=r.head||r.getElementsByTagName("head")[0],F="modernizr",h=r.createElement(F),m=h.style,q=r.createElement("input"),a=":)",e=Object.prototype.toString,i=" -webkit- -moz- -o- -ms- -khtml- ".split(" "),y="Webkit Moz O ms Khtml".split(" "),B={svg:"http://www.w3.org/2000/svg"},G={},c={},s={},w=[],A,C=function(K){var L=r.createElement("style"),I=r.createElement("div"),J;L.textContent=K+"{#modernizr{height:3px}}",v.appendChild(L),I.id="modernizr",t.appendChild(I),J=I.offsetHeight===3,L.parentNode.removeChild(L),I.parentNode.removeChild(I);return !!J},g=function(){function J(L,M){M=M||r.createElement(I[L]||"div");var K=(L="on"+L) in M;K||(M.setAttribute||(M=r.createElement("div")),M.setAttribute&&M.removeAttribute&&(M.setAttribute(L,""),K=D(M[L],"function"),D(M[L],b)||(M[L]=b),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}(),k=({}).hasOwnProperty,o;D(k,b)||D(k.call,b)?o=function(I,J){return J in I&&D(I.constructor.prototype[J],b)}:o=function(I,J){return k.call(I,J)},G.flexbox=function(){function I(P,Q,N,O){P.style.cssText=i.join(Q+":"+N+";")+(O||"")}function M(P,Q,N,O){Q+=":",P.style.cssText=(Q+i.join(N+";"+Q)).slice(0,-Q.length)+(O||"")}var J=r.createElement("div"),K=r.createElement("div");M(J,"display","box","width:42px;padding:0;"),I(K,"box-flex","1","width:10px;"),J.appendChild(K),t.appendChild(J);var L=K.offsetWidth===42;J.removeChild(K),t.removeChild(J);return L},G.canvas=function(){var I=r.createElement("canvas");return I.getContext&&I.getContext("2d")},G.canvastext=function(){return j.canvas&&D(r.createElement("canvas").getContext("2d").fillText,"function")},G.webgl=function(){return !!p.WebGLRenderingContext},G.touch=function(){return"ontouchstart" in p||C("@media ("+i.join("touch-enabled),(")+"modernizr)")},G.geolocation=function(){return !!navigator.geolocation},G.postmessage=function(){return !!p.postMessage},G.websqldatabase=function(){var I=!!p.openDatabase;return I},G.indexedDB=function(){for(var I=-1,J=y.length;++I<J;){var K=y[I].toLowerCase();if(p[K+"_indexedDB"]||p[K+"IndexedDB"]){return !0}}return !1},G.hashchange=function(){return g("hashchange",p)&&(r.documentMode===b||r.documentMode>7)},G.history=function(){return !!(p.history&&history.pushState)},G.draganddrop=function(){return g("dragstart")&&g("drop")},G.websockets=function(){return"WebSocket" in p},G.rgba=function(){l("background-color:rgba(150,255,150,.5)");return H(m.backgroundColor,"rgba")},G.hsla=function(){l("background-color:hsla(120,40%,100%,.5)");return H(m.backgroundColor,"rgba")||H(m.backgroundColor,"hsla")},G.multiplebgs=function(){l("background:url(//:),url(//:),red url(//:)");return(new RegExp("(url\\s*\\(.*?){3}")).test(m.background)},G.backgroundsize=function(){return u("backgroundSize")},G.borderimage=function(){return u("borderImage")},G.borderradius=function(){return u("borderRadius","",function(I){return H(I,"orderRadius")})},G.boxshadow=function(){return u("boxShadow")},G.textshadow=function(){return r.createElement("div").style.textShadow===""},G.opacity=function(){z("opacity:.55");return/^0.55$/.test(m.opacity)},G.cssanimations=function(){return u("animationName")},G.csscolumns=function(){return u("columnCount")},G.cssgradients=function(){var J="background-image:",K="gradient(linear,left top,right bottom,from(#9f9),to(white));",I="linear-gradient(left top,#9f9, white);";l((J+i.join(K+J)+i.join(I+J)).slice(0,-J.length));return H(m.backgroundImage,"gradient")},G.cssreflections=function(){return u("boxReflect")},G.csstransforms=function(){return !!d(["transformProperty","WebkitTransform","MozTransform","OTransform","msTransform"])},G.csstransforms3d=function(){var I=!!d(["perspectiveProperty","WebkitPerspective","MozPerspective","OPerspective","msPerspective"]);I&&"webkitPerspective" in t.style&&(I=C("@media ("+i.join("transform-3d),(")+"modernizr)"));return I},G.csstransitions=function(){return u("transitionProperty")},G.fontface=function(){var I,J,K=v||t,L=r.createElement("style"),M=r.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},G.video=function(){var I=r.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},G.audio=function(){var I=r.createElement("audio"),J=!!I.canPlayType;J&&(J=new Boolean(J),J.ogg=I.canPlayType('audio/ogg; codecs="vorbis"'),J.mp3=I.canPlayType("audio/mpeg;"),J.wav=I.canPlayType('audio/wav; codecs="1"'),J.m4a=I.canPlayType("audio/x-m4a;")||I.canPlayType("audio/aac;"));return J},G.localstorage=function(){try{return !!localStorage.getItem}catch(I){return !1}},G.sessionstorage=function(){try{return !!sessionStorage.getItem}catch(I){return !1}},G.webWorkers=function(){return !!p.Worker},G.applicationcache=function(){return !!p.applicationCache},G.svg=function(){return !!r.createElementNS&&!!r.createElementNS(B.svg,"svg").createSVGRect},G.inlinesvg=function(){var I=r.createElement("div");I.innerHTML="<svg/>";return(I.firstChild&&I.firstChild.namespaceURI)==B.svg},G.smil=function(){return !!r.createElementNS&&/SVG/.test(e.call(r.createElementNS(B.svg,"animate")))},G.svgclippaths=function(){return !!r.createElementNS&&/SVG/.test(e.call(r.createElementNS(B.svg,"clipPath")))};for(var E in G){o(G,E)&&(A=E.toLowerCase(),j[A]=G[E](),w.push((j[A]?"":"no-")+A))}j.input||x(),j.crosswindowmessaging=j.postmessage,j.historymanagement=j.history,j.addTest=function(I,J){I=I.toLowerCase();if(!j[I]){J=!!J(),t.className+=" "+(J?"":"no-")+I,j[I]=J;return j}},l(""),h=q=null,n&&p.attachEvent&&function(){var I=r.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=""})}(p,r),j._enableHTML5=n,j._version=f,t.className=t.className.replace(/\bno-js\b/,"")+" js "+w.join(" ");return j}(this,this.document);
