/* Modernizr 2.6.2 (Custom Build) | MIT & BSD * Build: http://modernizr.com/download/#-touch-shiv-mq-teststyles-prefixes-load */ (function(j,d,F){function k(a){return!a||a=="loaded"||a=="complete"||a=="uninitialized"}function o(){var a=x.shift();y=1;a?a.t?v(function(){(a.t=="c"?h.injectCss:h.injectJs)(a.s,0,a.a,a.x,a.e,1)},0):(a(),o()):y=0}function D(a,m,b,g,f,i,e){function G(g){if(!H&&k(p.readyState)&&(z.r=H=1,!y&&o(),p.onload=p.onreadystatechange=null,g)){a!="img"&&v(function(){q.removeChild(p)},50);for(var f in w[m])if(w[m].hasOwnProperty(f))w[m][f].onload()}}var e=e||h.errorTimeout,p=d.createElement(a),H=0,n=0,z={t:b,s:m, e:f,a:i,x:e};w[m]===1&&(n=1,w[m]=[]);a=="object"?p.data=m:(p.src=m,p.type=a);p.width=p.height="0";p.onerror=p.onload=p.onreadystatechange=function(){G.call(this,n)};x.splice(g,0,z);a!="img"&&(n||w[m]===2?(q.insertBefore(p,c?null:r),v(G,e)):w[m].push(p))}function E(a,m,b,g,f){y=0;m=m||"j";n(a)?D(m=="c"?L:z,a,m,this.i++,b,g,f):(x.splice(this.i++,0,a),x.length==1&&o());return this}function B(){var a=h;a.loader={load:E,i:0};return a}var s=d.documentElement,v=j.setTimeout,r=d.getElementsByTagName("script")[0], C={}.toString,x=[],y=0,A=function(){},b="MozAppearance"in s.style,c=b&&!!d.createRange().compareNode,q=c?s:r.parentNode,s=j.opera&&C.call(j.opera)=="[object Opera]",s=!!d.attachEvent&&!s,z=b?"object":s?"script":"img",L=s?"script":z,I=Array.isArray||function(a){return C.call(a)=="[object Array]"},n=function(a){return typeof a=="string"},t=function(a){return C.call(a)=="[object Function]"},u=[],w={},J={timeout:function(a,b){b.length&&(a.timeout=b[0]);return a}},K,h;h=function(a){function b(a){var a= a.split("!"),g=u.length,f=a.pop(),i=a.length,f={url:f,origUrl:f,prefixes:a},c,l,e;for(l=0;l',b,""].join("");n.id="modernizr";(t?n:u).innerHTML+=q;u.appendChild(n);if(!t)u.style.background="",u.style.overflow= "hidden",j=o.style.overflow,o.style.overflow="hidden",o.appendChild(u);b=c(n,b);t?n.parentNode.removeChild(n):(u.parentNode.removeChild(u),o.style.overflow=j);return!!b},x={}.hasOwnProperty,y;y=typeof x!=="undefined"&&typeof x.call!=="undefined"?function(b,c){return x.call(b,c)}:function(b,c){return c in b&&typeof b.constructor.prototype[c]==="undefined"};if(!Function.prototype.bind)Function.prototype.bind=function(b){var c=this;if(typeof c!="function")throw new TypeError;var d=v.call(arguments,1), k=function(){if(this instanceof k){var j=function(){};j.prototype=c.prototype;var j=new j,o=c.apply(j,d.concat(v.call(arguments)));return Object(o)===o?o:j}else return c.apply(b,d.concat(v.call(arguments)))};return k};B.touch=function(){var b;"ontouchstart"in j||j.DocumentTouch&&d instanceof DocumentTouch?b=!0:C(["@media (",E.join("touch-enabled),("),"modernizr){#modernizr{top:9px;position:absolute}}"].join(""),function(c){b=c.offsetTop===9});return b};for(var A in B)y(B,A)&&(r=A.toLowerCase(),k[r]= B[A](),s.push((k[r]?"":"no-")+r));k.addTest=function(b,c){if(typeof b=="object")for(var d in b)y(b,d)&&k.addTest(d,b[d]);else{b=b.toLowerCase();if(k[b]!==F)return k;c=typeof c=="function"?c():c;typeof enableClasses!=="undefined"&&enableClasses&&(o.className+=" "+(c?"":"no-")+b);k[b]=c}return k};D.cssText="";D=null;(function(b,c){function d(){var a=r.elements;return typeof a=="string"?a.split(" "):a}function k(g){var f=a[g[v]];f||(f={},h++,g[v]=h,a[h]=f);return f}function j(a,f,b){f||(f=c);if(m)return f.createElement(a); b||(b=k(f));f=b.cache[a]?b.cache[a].cloneNode():w.test(a)?(b.cache[a]=b.createElem(a)).cloneNode():b.createElem(a);return f.canHaveChildren&&!u.test(a)?b.frag.appendChild(f):f}function o(a,b){if(!b.cache)b.cache={},b.createElem=a.createElement,b.createFrag=a.createDocumentFragment,b.frag=b.createFrag();a.createElement=function(c){return!r.shivMethods?b.createElem(c):j(c,a,b)};a.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+d().join().replace(/\w+/g, function(a){b.createElem(a);b.frag.createElement(a);return'c("'+a+'")'})+");return n}")(r,b.frag)}function n(a){a||(a=c);var b=k(a);if(r.shivCSS&&!s&&!b.hasCSS){var d,e=a;d=e.createElement("p");e=e.getElementsByTagName("head")[0]||e.documentElement;d.innerHTML="x";d=e.insertBefore(d.lastChild,e.firstChild);b.hasCSS=!!d}m||o(a,b);return a}var t=b.html5||{},u=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i, w=/^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i,s,v="_html5shiv",h=0,a={},m;(function(){try{var a=c.createElement("a");a.innerHTML="";s="hidden"in a;m=a.childNodes.length==1||function(){c.createElement("a");var a=c.createDocumentFragment();return typeof a.cloneNode=="undefined"||typeof a.createDocumentFragment=="undefined"||typeof a.createElement=="undefined"}()}catch(b){m=s=!0}})();var r={elements:t.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:t.shivCSS!==!1,supportsUnknownElements:m,shivMethods:t.shivMethods!==!1,type:"default",shivDocument:n,createElement:j,createDocumentFragment:function(a,b){a||(a=c);if(m)return a.createDocumentFragment();for(var b=b||k(a),i=b.frag.cloneNode(),e=0,h=d(),j=h.length;e