/* Modernizr 2.0.6 (Custom Build) | MIT & BSD
 * Build: http://www.modernizr.com/download/#-fontface-borderimage-borderradius-flexbox-hsla-opacity-rgba-textshadow-cssanimations-csscolumns-generatedcontent-cssgradients-cssreflections-csstransforms-csstransforms3d-csstransitions-applicationcache-canvas-canvastext-draganddrop-hashchange-history-audio-video-indexeddb-input-inputtypes-localstorage-postmessage-sessionstorage-websockets-websqldatabase-webworkers-geolocation-inlinesvg-smil-svg-svgclippaths-touch-webgl-cssclasses-teststyles-testprop-testallprops-hasevent-prefixes-domprefixes
 */
window.Modernizr=function(a,b,c){function d(){l.input=function(a){for(var b=0,c=a.length;b<c;b++)A[a[b]]=a[b]in s;return A}("autocomplete autofocus list placeholder max min multiple pattern required step".split(" ")),l.inputtypes=function(a){for(var d=0,e,f,g,h=a.length;d<h;d++)s.setAttribute("type",f=a[d]),e=s.type!=="text",e&&(s.value=t,s.style.cssText="position:absolute;visibility:hidden;",/^range$/.test(f)&&s.style.WebkitAppearance!==c?(n.appendChild(s),g=b.defaultView,e=g.getComputedStyle&&g.getComputedStyle(s,null).WebkitAppearance!=="textfield"&&s.offsetHeight!==0,n.removeChild(s)):/^(search|tel)$/.test(f)||(/^(url|email)$/.test(f)?e=s.checkValidity&&s.checkValidity()===!1:/^color$/.test(f)?(n.appendChild(s),n.offsetWidth,e=s.value!=t,n.removeChild(s)):e=s.value!=t)),z[a[d]]=!!e;return z}("search tel url email datetime date month week time datetime-local number range color".split(" "))}function e(a,b){var c=a.charAt(0).toUpperCase()+a.substr(1),d=(a+" "+w.join(c+" ")+c).split(" ");return f(d,b)}function f(a,b){for(var d in a)if(r[a[d]]!==c)return b=="pfx"?a[d]:!0;return!1}function g(a,b){return!!~(""+a).indexOf(b)}function h(a,b){return typeof a===b}function i(a,b){return j(v.join(a+";")+(b||""))}function j(a){r.cssText=a}var k="2.0.6",l={},m=!0,n=b.documentElement,o=b.head||b.getElementsByTagName("head")[0],p="modernizr",q=b.createElement(p),r=q.style,s=b.createElement("input"),t=":)",u=Object.prototype.toString,v=" -webkit- -moz- -o- -ms- -khtml- ".split(" "),w="Webkit Moz O ms Khtml".split(" "),x={svg:"http://www.w3.org/2000/svg"},y={},z={},A={},B=[],C=function(a,c,d,e){var f,g,h,i=b.createElement("div");if(parseInt(d,10))while(d--)h=b.createElement("div"),h.id=e?e[d]:p+(d+1),i.appendChild(h);return f=["&shy;","<style>",a,"</style>"].join(""),i.id=p,i.innerHTML+=f,n.appendChild(i),g=c(i,a),i.parentNode.removeChild(i),!!g},D=function(){function a(a,e){e=e||b.createElement(d[a]||"div"),a="on"+a;var f=a in e;return f||(e.setAttribute||(e=b.createElement("div")),e.setAttribute&&e.removeAttribute&&(e.setAttribute(a,""),f=h(e[a],"function"),h(e[a],c)||(e[a]=c),e.removeAttribute(a))),e=null,f}var d={select:"input",change:"input",submit:"form",reset:"form",error:"img",load:"img",abort:"img"};return a}(),E,F={}.hasOwnProperty,G;!h(F,c)&&!h(F.call,c)?G=function(a,b){return F.call(a,b)}:G=function(a,b){return b in a&&h(a.constructor.prototype[b],c)};var H=function(c,d){var e=c.join(""),f=d.length;C(e,function(c,d){var e=b.styleSheets[b.styleSheets.length-1],g=e.cssRules&&e.cssRules[0]?e.cssRules[0].cssText:e.cssText||"",h=c.childNodes,i={};while(f--)i[h[f].id]=h[f];l.touch="ontouchstart"in a||i.touch.offsetTop===9,l.csstransforms3d=i.csstransforms3d.offsetLeft===9,l.generatedcontent=i.generatedcontent.offsetHeight>=1,l.fontface=/src/i.test(g)&&g.indexOf(d.split(" ")[0])===0},f,d)}(['@font-face {font-family:"font";src:url("https://")}',["@media (",v.join("touch-enabled),("),p,")","{#touch{top:9px;position:absolute}}"].join(""),["@media (",v.join("transform-3d),("),p,")","{#csstransforms3d{left:9px;position:absolute}}"].join(""),['#generatedcontent:after{content:"',t,'";visibility:hidden}'].join("")],["fontface","touch","csstransforms3d","generatedcontent"]);y.flexbox=function(){function a(a,b,c,d){a.style.cssText=v.join(b+":"+c+";")+(d||"")}function c(a,b,c,d){b+=":",a.style.cssText=(b+v.join(c+";"+b)).slice(0,-b.length)+(d||"")}var d=b.createElement("div"),e=b.createElement("div");c(d,"display","box","width:42px;padding:0;"),a(e,"box-flex","1","width:10px;"),d.appendChild(e),n.appendChild(d);var f=e.offsetWidth===42;return d.removeChild(e),n.removeChild(d),f},y.canvas=function(){var a=b.createElement("canvas");return!!a.getContext&&!!a.getContext("2d")},y.canvastext=function(){return!!l.canvas&&!!h(b.createElement("canvas").getContext("2d").fillText,"function")},y.webgl=function(){return!!a.WebGLRenderingContext},y.touch=function(){return l.touch},y.geolocation=function(){return!!navigator.geolocation},y.postmessage=function(){return!!a.postMessage},y.websqldatabase=function(){var b=!!a.openDatabase;return b},y.indexedDB=function(){for(var b=-1,c=w.length;++b<c;)if(a[w[b].toLowerCase()+"IndexedDB"])return!0;return!!a.indexedDB},y.hashchange=function(){return D("hashchange",a)&&(b.documentMode===c||b.documentMode>7)},y.history=function(){return!!a.history&&!!history.pushState},y.draganddrop=function(){return D("dragstart")&&D("drop")},y.websockets=function(){for(var b=-1,c=w.length;++b<c;)if(a[w[b]+"WebSocket"])return!0;return"WebSocket"in a},y.rgba=function(){return j("background-color:rgba(150,255,150,.5)"),g(r.backgroundColor,"rgba")},y.hsla=function(){return j("background-color:hsla(120,40%,100%,.5)"),g(r.backgroundColor,"rgba")||g(r.backgroundColor,"hsla")},y.borderimage=function(){return e("borderImage")},y.borderradius=function(){return e("borderRadius")},y.textshadow=function(){return b.createElement("div").style.textShadow===""},y.opacity=function(){return i("opacity:.55"),/^0.55$/.test(r.opacity)},y.cssanimations=function(){return e("animationName")},y.csscolumns=function(){return e("columnCount")},y.cssgradients=function(){var a="background-image:",b="gradient(linear,left top,right bottom,from(#9f9),to(white));",c="linear-gradient(left top,#9f9, white);";return j((a+v.join(b+a)+v.join(c+a)).slice(0,-a.length)),g(r.backgroundImage,"gradient")},y.cssreflections=function(){return e("boxReflect")},y.csstransforms=function(){return!!f(["transformProperty","WebkitTransform","MozTransform","OTransform","msTransform"])},y.csstransforms3d=function(){var a=!!f(["perspectiveProperty","WebkitPerspective","MozPerspective","OPerspective","msPerspective"]);return a&&"webkitPerspective"in n.style&&(a=l.csstransforms3d),a},y.csstransitions=function(){return e("transitionProperty")},y.fontface=function(){return l.fontface},y.generatedcontent=function(){return l.generatedcontent},y.video=function(){var a=b.createElement("video"),c=!1;try{if(c=!!a.canPlayType){c=new Boolean(c),c.ogg=a.canPlayType('video/ogg; codecs="theora"');var d='video/mp4; codecs="avc1.42E01E';c.h264=a.canPlayType(d+'"')||a.canPlayType(d+', mp4a.40.2"'),c.webm=a.canPlayType('video/webm; codecs="vp8, vorbis"')}}catch(e){}return c},y.audio=function(){var a=b.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(d){}return c},y.localstorage=function(){try{return!!localStorage.getItem}catch(a){return!1}},y.sessionstorage=function(){try{return!!sessionStorage.getItem}catch(a){return!1}},y.webworkers=function(){return!!a.Worker},y.applicationcache=function(){return!!a.applicationCache},y.svg=function(){return!!b.createElementNS&&!!b.createElementNS(x.svg,"svg").createSVGRect},y.inlinesvg=function(){var a=b.createElement("div");return a.innerHTML="<svg/>",(a.firstChild&&a.firstChild.namespaceURI)==x.svg},y.smil=function(){return!!b.createElementNS&&/SVG/.test(u.call(b.createElementNS(x.svg,"animate")))},y.svgclippaths=function(){return!!b.createElementNS&&/SVG/.test(u.call(b.createElementNS(x.svg,"clipPath")))};for(var I in y)G(y,I)&&(E=I.toLowerCase(),l[E]=y[I](),B.push((l[E]?"":"no-")+E));return l.input||d(),j(""),q=s=null,l._version=k,l._prefixes=v,l._domPrefixes=w,l.hasEvent=D,l.testProp=function(a){return f([a])},l.testAllProps=e,l.testStyles=C,n.className=n.className.replace(/\bno-js\b/,"")+(m?" js "+B.join(" "):""),l}(this,this.document)
