/* Modernizr 2.6.1 (Custom Build) | MIT & BSD */ window.Modernizr=function(k,e,x){function p(a,b){return typeof a===b}function A(a,b){for(var d in a){var r=a[d];if(!~(""+r).indexOf("-")&&l[r]!==x)return"pfx"==b?r:!0}return!1}function n(a,b,d){var r=a.charAt(0).toUpperCase()+a.slice(1),c=(a+" "+B.join(r+" ")+r).split(" ");if(p(b,"string")||p(b,"undefined"))return A(c,b);c=(a+" "+C.join(r+" ")+r).split(" ");a:{a=c;for(var e in a)if(r=b[a[e]],r!==x){b=!1===d?a[e]:p(r,"function")?r.bind(d||b):r;break a}b=!1}return b}function M(){f.input=function(a){for(var b= 0,d=a.length;b',a,""].join("");f.id="modernizr";(s?f:h).innerHTML+=d;h.appendChild(f);s||(h.style.background="",u.appendChild(h));a=b(f,a);s?f.parentNode.removeChild(f):h.parentNode.removeChild(h);return!!a},H=function(){var a={select:"input", change:"input",submit:"form",reset:"form",error:"img",load:"img",abort:"img"};return function(b,d){d=d||e.createElement(a[b]||"div");b="on"+b;var c=b in d;c||(d.setAttribute||(d=e.createElement("div")),d.setAttribute&&d.removeAttribute&&(d.setAttribute(b,""),c=p(d[b],"function"),p(d[b],"undefined")||(d[b]=x),d.removeAttribute(b)));return c}}(),t={}.hasOwnProperty,I;I=p(t,"undefined")||p(t.call,"undefined")?function(a,b){return b in a&&p(a.constructor.prototype[b],"undefined")}:function(a,b){return t.call(a, b)};Function.prototype.bind||(Function.prototype.bind=function(a){var b=this;if("function"!=typeof b)throw new TypeError;var d=F.call(arguments,1),c=function(){if(this instanceof c){var e=function(){};e.prototype=b.prototype;var e=new e,f=b.apply(e,d.concat(F.call(arguments)));return Object(f)===f?f:e}return b.apply(a,d.concat(F.call(arguments)))};return c});c.flexbox=function(){return n("flexWrap")};c.canvas=function(){var a=e.createElement("canvas");return!(!a.getContext||!a.getContext("2d"))}; c.canvastext=function(){return!(!f.canvas||!p(e.createElement("canvas").getContext("2d").fillText,"function"))};c.webgl=function(){return!!k.WebGLRenderingContext};c.touch=function(){var a;"ontouchstart"in k||k.DocumentTouch&&e instanceof DocumentTouch?a=!0:z(["@media (",y.join("touch-enabled),("),"modernizr){#modernizr{top:9px;position:absolute}}"].join(""),function(b){a=9===b.offsetTop});return a};c.geolocation=function(){return"geolocation"in navigator};c.postmessage=function(){return!!k.postMessage}; c.websqldatabase=function(){return!!k.openDatabase};c.indexedDB=function(){return!!n("indexedDB",k)};c.hashchange=function(){return H("hashchange",k)&&(e.documentMode===x||7";return"http://www.w3.org/2000/svg"==(a.firstChild&&a.firstChild.namespaceURI)};c.smil=function(){return!!e.createElementNS&&/SVGAnimate/.test(w.call(e.createElementNS("http://www.w3.org/2000/svg","animate")))};c.svgclippaths=function(){return!!e.createElementNS&&/SVGClipPath/.test(w.call(e.createElementNS("http://www.w3.org/2000/svg", "clipPath")))};for(var J in c)I(c,J)&&(G=J.toLowerCase(),f[G]=c[J](),E.push((f[G]?"":"no-")+G));f.input||M();f.addTest=function(a,b){if("object"==typeof a)for(var d in a)I(a,d)&&f.addTest(d,a[d]);else{a=a.toLowerCase();if(f[a]!==x)return f;b="function"==typeof b?b():b;u.className+=" "+(b?"":"no-")+a;f[a]=b}return f};l.cssText="";c=g=null;(function(a,b){function d(){var b=l.elements;return"string"==typeof b?b.split(" "):b}function c(b){var a=m[b[k]];a||(a={},n++,b[k]=n,m[n]=a);return a}function e(a, d,f){d||(d=b);if(K)return d.createElement(a);f||(f=c(d));d=f.cache[a]?f.cache[a].cloneNode():q.test(a)?(f.cache[a]=f.createElem(a)).cloneNode():f.createElem(a);return d.canHaveChildren&&!N.test(a)?f.frag.appendChild(d):d}function f(b,a){a.cache||(a.cache={},a.createElem=b.createElement,a.createFrag=b.createDocumentFragment,a.frag=a.createFrag());b.createElement=function(d){return l.shivMethods?e(d,b,a):a.createElem(d)};b.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+ d().join().replace(/\w+/g,function(b){a.createElem(b);a.frag.createElement(b);return'c("'+b+'")'})+");return n}")(l,a.frag)}function s(a){a||(a=b);var d=c(a);if(l.shivCSS&&!g&&!d.hasCSS){var e,m=a;e=m.createElement("p");m=m.getElementsByTagName("head")[0]||m.documentElement;e.innerHTML="x";e=m.insertBefore(e.lastChild,m.firstChild);d.hasCSS=!!e}K||f(a,d);return a}var h=a.html5|| {},N=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,q=/^<|^(?:a|b|button|code|div|fieldset|form|h1|h2|h3|h4|h5|h6|i|iframe|img|input|label|li|link|ol|option|p|param|q|script|select|span|strong|style|table|tbody|td|textarea|tfoot|th|thead|tr|ul)$/i,g,k="_html5shiv",n=0,m={},K;(function(){try{var a=b.createElement("a");a.innerHTML="";g="hidden"in a;var d;if(!(d=1==a.childNodes.length)){b.createElement("a");var c=b.createDocumentFragment();d="undefined"==typeof c.cloneNode|| "undefined"==typeof c.createDocumentFragment||"undefined"==typeof c.createElement}K=d}catch(e){K=g=!0}})();var l={elements:h.elements||"abbr article aside audio bdi canvas data datalist details figcaption figure footer header hgroup mark meter nav output progress section summary time video",shivCSS:!1!==h.shivCSS,supportsUnknownElements:K,shivMethods:!1!==h.shivMethods,type:"default",shivDocument:s,createElement:e,createDocumentFragment:function(a,e){a||(a=b);if(K)return a.createDocumentFragment(); e=e||c(a);for(var f=e.frag.cloneNode(),m=0,q=d(),h=q.length;m