window.Modernizr=function(e,b,l){function k(a,b){return(""+a).indexOf(b)!==-1}function o(a,b){for(var c in a)if(f[a[c]]!==l&&(!b||b(a[c],p)))return true}function h(b,c){var a=b.charAt(0).toUpperCase()+b.substr(1);a=(b+" "+q.join(a+" ")+a).split(" ");return!!o(a,c)}function A(){c.input=function(b){for(var a=0,c=b.length;a<c;a++)t[b[a]]=!!(b[a]in d);return t}("autocomplete autofocus list placeholder max min multiple pattern required step".split(" "));c.inputtypes=function(e){for(var c=0,a,f=e.length;c<f;c++){d.setAttribute("type",e[c]);if(a=d.type!=="text"){d.value=u;if(/^range$/.test(d.type)&&d.style.WebkitAppearance!==l){g.appendChild(d);a=b.defaultView;a=a.getComputedStyle&&a.getComputedStyle(d,null).WebkitAppearance!=="textfield"&&d.offsetHeight!==0;g.removeChild(d)}else/^(search|tel)$/.test(d.type)||(a=/^(url|email)$/.test(d.type)?d.checkValidity&&d.checkValidity()===false:d.value!=u)}v[e[c]]=!!a}return v}("search tel url email datetime date month week time datetime-local number range color".split(" "))}var c={},g=b.documentElement,p=b.createElement("modernizr"),f=p.style,d=b.createElement("input"),u=":)",w=Object.prototype.toString,j=" -webkit- -moz- -o- -ms- -khtml- ".split(" "),q="Webkit Moz O ms Khtml".split(" "),m={svg:"http://www.w3.org/2000/svg"},a={},v={},t={},x=[],n,y=function(d){var c=document.createElement("style"),a=b.createElement("div");c.textContent=d+"{#modernizr{height:3px}}";(b.head||b.getElementsByTagName("head")[0]).appendChild(c);a.id="modernizr";g.appendChild(a);d=a.offsetHeight===3;c.parentNode.removeChild(c);a.parentNode.removeChild(a);return!!d},i=function(){var a={select:"input",change:"input",submit:"form",reset:"form",error:"img",load:"img",abort:"img"};return function(c,b){b=b||document.createElement(a[c]||"div");c="on"+c;var d=c in b;if(!d){b.setAttribute||(b=document.createElement("div"));if(b.setAttribute&&b.removeAttribute){b.setAttribute(c,"");d=typeof b[c]=="function";if(typeof b[c]!="undefined")b[c]=l;b.removeAttribute(c)}}return d}}(),r={}.hasOwnProperty,z;z=typeof r!=="undefined"&&typeof r.call!=="undefined"?function(a,b){return r.call(a,b)}:function(a,b){return b in a&&typeof a.constructor.prototype[b]==="undefined"};a.flexbox=function(){var a=b.createElement("div"),c=b.createElement("div");(function(b,a,c,d){a+=":";b.style.cssText=(a+j.join(c+";"+a)).slice(0,-a.length)+(d||"")})(a,"display","box","width:42px;padding:0;");c.style.cssText=j.join("box-flex:1;")+"width:10px;";a.appendChild(c);g.appendChild(a);var d=c.offsetWidth===42;a.removeChild(c);g.removeChild(a);return d};a.canvas=function(){var a=b.createElement("canvas");return!!(a.getContext&&a.getContext("2d"))};a.canvastext=function(){return!!(c.canvas&&typeof b.createElement("canvas").getContext("2d").fillText=="function")};a.webgl=function(){var a=b.createElement("canvas");try{if(a.getContext("webgl"))return true}catch(c){}try{if(a.getContext("experimental-webgl"))return true}catch(d){}return false};a.touch=function(){return"ontouchstart"in e||y("@media ("+j.join("touch-enabled),(")+"modernizr)")};a.geolocation=function(){return!!navigator.geolocation};a.postmessage=function(){return!!e.postMessage};a.websqldatabase=function(){return!!e.openDatabase};a.indexedDB=function(){for(var a=-1,c=q.length;++a<c;){var b=q[a].toLowerCase();if(e[b+"_indexedDB"]||e[b+"IndexedDB"])return true}return false};a.hashchange=function(){return i("hashchange",e)&&(document.documentMode===l||document.documentMode>7)};a.history=function(){return!!(e.history&&history.pushState)};a.draganddrop=function(){return i("drag")&&i("dragstart")&&i("dragenter")&&i("dragover")&&i("dragleave")&&i("dragend")&&i("drop")};a.websockets=function(){return"WebSocket"in e};a.rgba=function(){f.cssText="background-color:rgba(150,255,150,.5)";return k(f.backgroundColor,"rgba")};a.hsla=function(){f.cssText="background-color:hsla(120,40%,100%,.5)";return k(f.backgroundColor,"rgba")||k(f.backgroundColor,"hsla")};a.multiplebgs=function(){f.cssText="background:url(//:),url(//:),red url(//:)";return/(url\s*\(.*?){3}/.test(f.background)};a.backgroundsize=function(){return h("backgroundSize")};a.borderimage=function(){return h("borderImage")};a.borderradius=function(){return h("borderRadius","",function(a){return k(a,"orderRadius")})};a.boxshadow=function(){return h("boxShadow")};a.textshadow=function(){return b.createElement("div").style.textShadow===""};a.opacity=function(){var a=j.join("opacity:.5;")+"";f.cssText=a;return k(f.opacity,"0.5")};a.cssanimations=function(){return h("animationName")};a.csscolumns=function(){return h("columnCount")};a.cssgradients=function(){var a=("background-image:"+j.join("gradient(linear,left top,right bottom,from(#9f9),to(white));background-image:")+j.join("linear-gradient(left top,#9f9, white);background-image:")).slice(0,-17);f.cssText=a;return k(f.backgroundImage,"gradient")};a.cssreflections=function(){return h("boxReflect")};a.csstransforms=function(){return!!o(["transformProperty","WebkitTransform","MozTransform","OTransform","msTransform"])};a.csstransforms3d=function(){var a=!!o(["perspectiveProperty","WebkitPerspective","MozPerspective","OPerspective","msPerspective"]);if(a)a=y("@media ("+j.join("transform-3d),(")+"modernizr)");return a};a.csstransitions=function(){return h("transitionProperty")};a.fontface=function(){var a,d=b.head||b.getElementsByTagName("head")[0]||g,e=b.createElement("style"),f=b.implementation||{hasFeature:function(){return false}};e.type="text/css";d.insertBefore(e,d.firstChild);a=e.sheet||e.styleSheet;d=f.hasFeature("CSS2","")?function(b){if(!(a&&b))return false;var c=false;try{a.insertRule(b,0);c=!/unknown/i.test(a.cssRules[0].cssText);a.deleteRule(a.cssRules.length-1)}catch(d){}return c}:function(b){if(!(a&&b))return false;a.cssText=b;return a.cssText.length!==0&&!/unknown/i.test(a.cssText)&&a.cssText.replace(/\r+|\n+/g,"").indexOf(b.split(" ")[0])===0};c._fontfaceready=function(a){a(c.fontface)};return d('@font-face { font-family: "font"; src: "font.ttf"; }')};a.video=function(){var c=b.createElement("video"),a=!!c.canPlayType;if(a){a=new Boolean(a);a.ogg=c.canPlayType('video/ogg; codecs="theora"');a.h264=c.canPlayType('video/mp4; codecs="avc1.42E01E"')||c.canPlayType('video/mp4; codecs="avc1.42E01E, mp4a.40.2"');a.webm=c.canPlayType('video/webm; codecs="vp8, vorbis"')}return a};a.audio=function(){var c=b.createElement("audio"),a=!!c.canPlayType;if(a){a=new Boolean(a);a.ogg=c.canPlayType('audio/ogg; codecs="vorbis"');a.mp3=c.canPlayType("audio/mpeg;");a.wav=c.canPlayType('audio/wav; codecs="1"');a.m4a=c.canPlayType("audio/x-m4a;")||c.canPlayType("audio/aac;")}return a};a.localstorage=function(){try{return"localStorage"in e&&e.localStorage!==null}catch(a){return false}};a.sessionstorage=function(){try{return"sessionStorage"in e&&e.sessionStorage!==null}catch(a){return false}};a.webWorkers=function(){return!!e.Worker};a.applicationcache=function(){return!!e.applicationCache};a.svg=function(){return!!b.createElementNS&&!!b.createElementNS(m.svg,"svg").createSVGRect};a.inlinesvg=function(){var a=document.createElement("div");a.innerHTML="<svg/>";return(a.firstChild&&a.firstChild.namespaceURI)==m.svg};a.smil=function(){return!!b.createElementNS&&/SVG/.test(w.call(b.createElementNS(m.svg,"animate")))};a.svgclippaths=function(){return!!b.createElementNS&&/SVG/.test(w.call(b.createElementNS(m.svg,"clipPath")))};for(var s in a)if(z(a,s)){n=s.toLowerCase();c[n]=a[s]();x.push((c[n]?"":"no-")+n)}c.input||A();c.crosswindowmessaging=c.postmessage;c.historymanagement=c.history;c.addTest=function(a,b){a=a.toLowerCase();if(!c[a]){b=!!b();g.className+=" "+(b?"":"no-")+a;c[a]=b;return c}};f.cssText="";p=d=null;e.attachEvent&&function(){var a=b.createElement("div");a.innerHTML="<elem></elem>";return a.childNodes.length!==1}()&&function(h,a){function i(b){for(var a=-1;++a<k;)b.createElement(e[a])}function j(d,c){for(var f=d.length,e=-1,a,b=[];++e<f;){a=d[e];c=a.media||c;b.push(j(a.imports,c));b.push(a.cssText)}return b.join("")}var e="abbr|article|aside|audio|canvas|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video".split("|"),k=e.length,m=RegExp("<(/*)(abbr|article|aside|audio|canvas|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video)","gi"),l=RegExp("\\b(abbr|article|aside|audio|canvas|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video)\\b(?!.*[;}])","gi"),f=a.createDocumentFragment(),b=a.documentElement,g=b.firstChild,c=a.createElement("style"),d=a.createElement("body");c.media="all";i(a);i(f);h.attachEvent("onbeforeprint",function(){for(var i=-1;++i<k;)for(var h=a.getElementsByTagName(e[i]),o=h.length,n=-1;++n<o;)if(h[n].className.indexOf("iepp_")<0)h[n].className+=" iepp_"+e[i];g.insertBefore(c,g.firstChild);c.styleSheet.cssText=j(a.styleSheets,"all").replace(l,".iepp_$1");f.appendChild(a.body);b.appendChild(d);d.innerHTML=f.firstChild.innerHTML.replace(m,"<$1bdo")});h.attachEvent("onafterprint",function(){d.innerHTML="";b.removeChild(d);g.removeChild(c);b.appendChild(f.firstChild)})}(this,document);c._enableHTML5=true;c._version="1.6";g.className=g.className.replace(/\bno-js\b/,"")+" js";g.className+=" "+x.join(" ");return c}(this,this.document);
