window.Modernizr=function(AR,AQ,AP){function O(){AN.input=function(B){for(var A=0,C=B.length;A<C;A++){T[B[A]]=B[A] in AG}return T}("autocomplete autofocus list placeholder max min multiple pattern required step".split(" ")),AN.inputtypes=function(A){for(var F=0,E,D,C,B=A.length;F<B;F++){AG.setAttribute("type",D=A[F]),E=AG.type!=="text",E&&(AG.value=AF,AG.style.cssText="position:absolute;visibility:hidden;",/^range$/.test(D)&&AG.style.WebkitAppearance!==AP?(AL.appendChild(AG),C=AQ.defaultView,E=C.getComputedStyle&&C.getComputedStyle(AG,null).WebkitAppearance!=="textfield"&&AG.offsetHeight!==0,AL.removeChild(AG)):/^(search|tel)$/.test(D)||(/^(url|email)$/.test(D)?E=AG.checkValidity&&AG.checkValidity()===!1:/^color$/.test(D)?(AL.appendChild(AG),AL.offsetWidth,E=AG.value!=AF,AL.removeChild(AG)):E=AG.value!=AF)),V[A[F]]=!!E}return V}("search tel url email datetime date month week time datetime-local number range color".split(" "))}function S(B,A){var D=B.charAt(0).toUpperCase()+B.substr(1),C=(B+" "+AB.join(D+" ")+D).split(" ");return U(C,A)}function U(B,A){for(var C in B){if(AH[B[C]]!==AP){return A=="pfx"?B[C]:!0}}return !1}function W(B,A){return !!~(""+B).indexOf(A)}function Y(B,A){return typeof B===A}function AA(B,A){return AC(AD.join(B+";")+(A||""))}function AC(A){AH.cssText=A}var AO="2.0.6",AN={},AM=!0,AL=AQ.documentElement,AK=AQ.head||AQ.getElementsByTagName("head")[0],AJ="modernizr",AI=AQ.createElement(AJ),AH=AI.style,AG=AQ.createElement("input"),AF=":)",AE=Object.prototype.toString,AD=" -webkit- -moz- -o- -ms- -khtml- ".split(" "),AB="Webkit Moz O ms Khtml".split(" "),Z={svg:"http://www.w3.org/2000/svg"},X={},V={},T={},R=[],Q=function(A,H,G,F){var E,D,C,B=AQ.createElement("div");if(parseInt(G,10)){while(G--){C=AQ.createElement("div"),C.id=F?F[G]:AJ+(G+1),B.appendChild(C)}}E=["&shy;","<style>",A,"</style>"].join(""),B.id=AJ,B.innerHTML+=E,AL.appendChild(B),D=H(B,A),B.parentNode.removeChild(B);return !!D},N=function(){function B(E,D){D=D||AQ.createElement(A[E]||"div"),E="on"+E;var C=E in D;C||(D.setAttribute||(D=AQ.createElement("div")),D.setAttribute&&D.removeAttribute&&(D.setAttribute(E,""),C=Y(D[E],"function"),Y(D[E],AP)||(D[E]=AP),D.removeAttribute(E))),D=null;return C}var A={select:"input",change:"input",submit:"form",reset:"form",error:"img",load:"img",abort:"img"};return B}(),M,K={}.hasOwnProperty,J;!Y(K,AP)&&!Y(K.call,AP)?J=function(B,A){return K.call(B,A)}:J=function(B,A){return A in B&&Y(B.constructor.prototype[A],AP)};var P=function(D,C){var B=D.join(""),A=C.length;Q(B,function(a,I){var H=AQ.styleSheets[AQ.styleSheets.length-1],G=H.cssRules&&H.cssRules[0]?H.cssRules[0].cssText:H.cssText||"",F=a.childNodes,E={};while(A--){E[F[A].id]=F[A]}AN.touch="ontouchstart" in AR||E.touch.offsetTop===9,AN.csstransforms3d=E.csstransforms3d.offsetLeft===9,AN.generatedcontent=E.generatedcontent.offsetHeight>=1,AN.fontface=/src/i.test(G)&&G.indexOf(I.split(" ")[0])===0},A,C)}(['@font-face {font-family:"font";src:url("https://")}',["@media (",AD.join("touch-enabled),("),AJ,")","{#touch{top:9px;position:absolute}}"].join(""),["@media (",AD.join("transform-3d),("),AJ,")","{#csstransforms3d{left:9px;position:absolute}}"].join(""),['#generatedcontent:after{content:"',AF,'";visibility:hidden}'].join("")],["fontface","touch","csstransforms3d","generatedcontent"]);X.touch=function(){return AN.touch},X.geolocation=function(){return !!navigator.geolocation},X.hashchange=function(){return N("hashchange",AR)&&(AQ.documentMode===AP||AQ.documentMode>7)},X.history=function(){return !!AR.history&&!!history.pushState},X.rgba=function(){AC("background-color:rgba(150,255,150,.5)");return W(AH.backgroundColor,"rgba")},X.hsla=function(){AC("background-color:hsla(120,40%,100%,.5)");return W(AH.backgroundColor,"rgba")||W(AH.backgroundColor,"hsla")},X.borderradius=function(){return S("borderRadius")},X.boxshadow=function(){return S("boxShadow")},X.textshadow=function(){return AQ.createElement("div").style.textShadow===""},X.opacity=function(){AA("opacity:.55");return/^0.55$/.test(AH.opacity)},X.cssanimations=function(){return S("animationName")},X.cssgradients=function(){var B="background-image:",A="gradient(linear,left top,right bottom,from(#9f9),to(white));",C="linear-gradient(left top,#9f9, white);";AC((B+AD.join(A+B)+AD.join(C+B)).slice(0,-B.length));return W(AH.backgroundImage,"gradient")},X.cssreflections=function(){return S("boxReflect")},X.csstransforms=function(){return !!U(["transformProperty","WebkitTransform","MozTransform","OTransform","msTransform"])},X.csstransforms3d=function(){var A=!!U(["perspectiveProperty","WebkitPerspective","MozPerspective","OPerspective","msPerspective"]);A&&"webkitPerspective" in AL.style&&(A=AN.csstransforms3d);return A},X.csstransitions=function(){return S("transitionProperty")},X.fontface=function(){return AN.fontface},X.generatedcontent=function(){return AN.generatedcontent},X.video=function(){var A=AQ.createElement("video"),D=!1;try{if(D=!!A.canPlayType){D=new Boolean(D),D.ogg=A.canPlayType('video/ogg; codecs="theora"');var C='video/mp4; codecs="avc1.42E01E';D.h264=A.canPlayType(C+'"')||A.canPlayType(C+', mp4a.40.2"'),D.webm=A.canPlayType('video/webm; codecs="vp8, vorbis"')}}catch(B){}return D},X.audio=function(){var A=AQ.createElement("audio"),C=!1;try{if(C=!!A.canPlayType){C=new Boolean(C),C.ogg=A.canPlayType('audio/ogg; codecs="vorbis"'),C.mp3=A.canPlayType("audio/mpeg;"),C.wav=A.canPlayType('audio/wav; codecs="1"'),C.m4a=A.canPlayType("audio/x-m4a;")||A.canPlayType("audio/aac;")}}catch(B){}return C},X.svg=function(){return !!AQ.createElementNS&&!!AQ.createElementNS(Z.svg,"svg").createSVGRect},X.inlinesvg=function(){var A=AQ.createElement("div");A.innerHTML="<svg/>";return(A.firstChild&&A.firstChild.namespaceURI)==Z.svg},X.svgclippaths=function(){return !!AQ.createElementNS&&/SVG/.test(AE.call(AQ.createElementNS(Z.svg,"clipPath")))};for(var L in X){J(X,L)&&(M=L.toLowerCase(),AN[M]=X[L](),R.push((AN[M]?"":"no-")+M))}AN.input||O(),AN.addTest=function(B,A){if(typeof B=="object"){for(var C in B){J(B,C)&&AN.addTest(C,B[C])}}else{B=B.toLowerCase();if(AN[B]!==AP){return }A=typeof A=="boolean"?A:!!A(),AL.className+=" "+(A?"":"no-")+B,AN[B]=A}return AN},AC(""),AI=AG=null,AR.attachEvent&&function(){var A=AQ.createElement("div");A.innerHTML="<elem></elem>";return A.childNodes.length!==1}()&&function(AS,z){function A(e){var d=-1;while(++d<v){e.createElement(w[d])}}AS.iepp=AS.iepp||{};var y=AS.iepp,x=y.html5elements||"abbr|article|aside|audio|canvas|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",w=x.split("|"),v=w.length,u=new RegExp("(^|\\s)("+x+")","gi"),t=new RegExp("<(/*)("+x+")","gi"),c=/^\s*[\{\}]\s*$/,I=new RegExp("(^|[^\\n]*?\\s)("+x+")([^\\n]*)({[\\n\\w\\W]*?})","gi"),H=z.createDocumentFragment(),G=z.documentElement,F=G.firstChild,E=z.createElement("body"),D=z.createElement("style"),C=/print|all/,B;y.getCSS=function(i,d){if(i+""===AP){return""}var m=-1,l=i.length,k,j=[];while(++m<l){k=i[m];if(k.disabled){continue}d=k.media||d,C.test(d)&&j.push(y.getCSS(k.imports,d),k.cssText),d="all"}return j.join("")},y.parseCSS=function(e){var d=[],f;while((f=I.exec(e))!=null){d.push(((c.exec(f[1])?"\n":f[1])+f[2]+f[3]).replace(u,"$1.iepp_$2")+f[4])}return d.join("\n")},y.writeHTML=function(){var b=-1;B=B||z.body;while(++b<v){var h=z.getElementsByTagName(w[b]),g=h.length,f=-1;while(++f<g){h[f].className.indexOf("iepp_")<0&&(h[f].className+=" iepp_"+w[b])}}H.appendChild(B),G.appendChild(E),E.className=B.className,E.id=B.id,E.innerHTML=B.innerHTML.replace(t,"<$1font")},y._beforePrint=function(){D.styleSheet.cssText=y.parseCSS(y.getCSS(z.styleSheets,"all")),y.writeHTML()},y.restoreHTML=function(){E.innerHTML="",G.removeChild(E),G.appendChild(B)},y._afterPrint=function(){y.restoreHTML(),D.styleSheet.cssText=""},A(z),A(H);y.disablePP||(F.insertBefore(D,F.firstChild),D.media="print",D.className="iepp-printshim",AS.attachEvent("onbeforeprint",y._beforePrint),AS.attachEvent("onafterprint",y._afterPrint))}(AR,AQ),AN._version=AO,AN._prefixes=AD,AN._domPrefixes=AB,AN.hasEvent=N,AN.testProp=function(A){return U([A])},AN.testAllProps=S,AN.testStyles=Q,AL.className=AL.className.replace(/\bno-js\b/,"")+(AM?" js "+R.join(" "):"");return AN}(this,this.document),function(AP,AO,AN){function AF(A){return !A||A=="loaded"||A=="complete"}function AG(){var B=1,A=-1;while(AA.length- ++A){if(AA[A].s&&!(B=AA[A].r)){break}}B&&AJ()}function AH(A){var C=AO.createElement("script"),B;C.src=A.s,C.onreadystatechange=C.onload=function(){!B&&AF(C.readyState)&&(B=1,AG(),C.onload=C.onreadystatechange=null)},AD(function(){B||(B=1,AG())},L.errorTimeout),A.e?C.onload():AC.parentNode.insertBefore(C,AC)}function AI(A){var D=AO.createElement("link"),C;D.href=A.s,D.rel="stylesheet",D.type="text/css";if(!A.e&&(M||W)){var B=function(E){AD(function(){if(!C){try{E.sheet.cssRules.length?(C=1,AG()):B(E)}catch(F){F.code==1000||F.message=="security"||F.message=="denied"?(C=1,AD(function(){AG()},0)):B(E)}}},0)};B(D)}else{D.onload=function(){C||(C=1,AD(function(){AG()},0))},A.e&&D.onload()}AD(function(){C||(C=1,AG())},L.errorTimeout),!A.e&&AC.parentNode.insertBefore(D,AC)}function AJ(){var A=AA.shift();Y=1,A?A.t?AD(function(){A.t=="c"?AI(A):AH(A)},0):(A(),AG()):Y=0}function AK(g,b,H,G,F,E){function D(){!B&&AF(C.readyState)&&(A.r=B=1,!Y&&AG(),C.onload=C.onreadystatechange=null,AD(function(){Q.removeChild(C)},0))}var C=AO.createElement(g),B=0,A={t:H,s:b,e:E};C.src=C.data=b,!U&&(C.style.display="none"),C.width=C.height="0",g!="object"&&(C.type=H),C.onload=C.onreadystatechange=D,g=="img"?C.onerror=D:g=="script"&&(C.onerror=function(){A.e=A.r=1,AJ()}),AA.splice(G,0,A),Q.insertBefore(C,U?null:AC),AD(function(){B||(Q.removeChild(C),A.r=A.e=B=1,AG())},L.errorTimeout)}function AL(B,A,D){var C=A=="c"?I:J;Y=0,A=A||"j",V(B)?AK(C,B,A,this.i++,AE,D):(AA.splice(this.i++,0,B),AA.length==1&&AJ());return this}function AM(){var A=L;A.loader={load:AL,i:0};return A}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(A){return AB.call(A)=="[object Array]"},X=function(A){return Object(A)===A},V=function(A){return typeof A=="string"},T=function(A){return AB.call(A)=="[object Function]"},R=[],P={},N,L;L=function(B){function F(i){var H=i.split("!"),o=R.length,n=H.pop(),m=H.length,l={url:n,origUrl:n,prefixes:H},k,j;for(j=0;j<m;j++){k=P[H[j]],k&&(l=k(l))}for(j=0;j<o;j++){l=R[j](l)}return l}function G(c,H,m,l,k){var f=F(c),d=f.autoCallback;if(!f.bypass){H&&(H=T(H)?H:H[c]||H[l]||H[c.split("/").pop().split("?")[0]]);if(f.instead){return f.instead(c,H,m,l,k)}m.load(f.url,f.forceCSS||!f.forceJS&&/css$/.test(f.url)?"c":AN,f.noexec),(T(H)||T(d))&&m.load(function(){AM(),H&&H(f.origUrl,k,l),d&&d(f.origUrl,k,l)})}}function A(e,H){function o(b){if(V(b)){G(b,k,H,0,n)}else{if(X(b)){for(j in b){b.hasOwnProperty(j)&&G(b[j],k,H,j,n)}}}}var n=!!e.test,m=n?e.yep:e.nope,l=e.load||e.both,k=e.callback,j;o(m),o(l),e.complete&&H.load(e.complete)}var E,D,C=this.yepnope.loader;if(V(B)){G(B,0,C,0)}else{if(Z(B)){for(E=0;E<B.length;E++){D=B[E],V(D)?G(D,0,C,0):Z(D)?L(D):X(D)&&A(D,C)}}else{X(B)&&A(B,C)}}},L.addPrefix=function(B,A){P[B]=A},L.addFilter=function(A){R.push(A)},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))};
