window.Modernizr=function(r,f,a){var e,o,i,c={},d=f.documentElement,p="modernizr",t=f.createElement(p),s=t.style,l=f.createElement("input"),u=":)",n={}.toString,m=" -webkit- -moz- -o- -ms- ".split(" "),h="Webkit Moz O ms",g=h.split(" "),v=h.toLowerCase().split(" "),y="http://www.w3.org/2000/svg",b={},E={},w={},x=[],S=x.slice,C=function(e,t,n,r){var o,i,a,c,s=f.createElement("div"),l=f.body,u=l||f.createElement("body");if(parseInt(n,10))for(;n--;)(a=f.createElement("div")).id=r?r[n]:p+(n+1),s.appendChild(a);return o=["­",'"].join(""),s.id=p,(l?s:u).innerHTML+=o,u.appendChild(s),l||(u.style.background="",u.style.overflow="hidden",c=d.style.overflow,d.style.overflow="hidden",d.appendChild(u)),i=t(s,e),l?s.parentNode.removeChild(s):(u.parentNode.removeChild(u),d.style.overflow=c),!!i},k=(i={select:"input",change:"input",submit:"form",reset:"form",error:"img",load:"img",abort:"img"},function(e,t){t=t||f.createElement(i[e]||"div");var n=(e="on"+e)in t;return n||(t.setAttribute||(t=f.createElement("div")),t.setAttribute&&t.removeAttribute&&(t.setAttribute(e,""),n=N(t[e],"function"),N(t[e],"undefined")||(t[e]=a),t.removeAttribute(e))),t=null,n}),T={}.hasOwnProperty;function j(e){s.cssText=e}function N(e,t){return typeof e===t}function M(e,t){return!!~(""+e).indexOf(t)}function P(e,t){for(var n in e){var r=e[n];if(!M(r,"-")&&s[r]!==a)return"pfx"!=t||r}return!1}function A(e,t,n){var r=e.charAt(0).toUpperCase()+e.slice(1),o=(e+" "+g.join(r+" ")+r).split(" ");return N(t,"string")||N(t,"undefined")?P(o,t):function(e,t,n){for(var r in e){var o=t[e[r]];if(o!==a)return!1===n?e[r]:N(o,"function")?o.bind(n||t):o}return!1}(o=(e+" "+v.join(r+" ")+r).split(" "),t,n)}for(var L in o=N(T,"undefined")||N(T.call,"undefined")?function(e,t){return t in e&&N(e.constructor.prototype[t],"undefined")}:function(e,t){return T.call(e,t)},Function.prototype.bind||(Function.prototype.bind=function(r){var o=this;if("function"!=typeof o)throw new TypeError;var i=S.call(arguments,1),a=function(){if(this instanceof a){var e=function(){};e.prototype=o.prototype;var t=new e,n=o.apply(t,i.concat(S.call(arguments)));return Object(n)===n?n:t}return o.apply(r,i.concat(S.call(arguments)))};return a}),b.flexbox=function(){return A("flexWrap")},b.canvas=function(){var e=f.createElement("canvas");return!(!e.getContext||!e.getContext("2d"))},b.canvastext=function(){return!(!c.canvas||!N(f.createElement("canvas").getContext("2d").fillText,"function"))},b.webgl=function(){return!!r.WebGLRenderingContext},b.touch=function(){var t;return"ontouchstart"in r||r.DocumentTouch&&f instanceof DocumentTouch?t=!0:C(["@media (",m.join("touch-enabled),("),p,")","{#modernizr{top:9px;position:absolute}}"].join(""),function(e){t=9===e.offsetTop}),t},b.geolocation=function(){return"geolocation"in navigator},b.postmessage=function(){return!!r.postMessage},b.websqldatabase=function(){return!!r.openDatabase},b.indexedDB=function(){return!!A("indexedDB",r)},b.hashchange=function(){return k("hashchange",r)&&(f.documentMode===a||7"+n+"",!!o.insertBefore(r.lastChild,o.firstChild))),u||(i=e,(a=c).cache||(a.cache={},a.createElem=i.createElement,a.createFrag=i.createDocumentFragment,a.frag=a.createFrag()),i.createElement=function(e){return m.shivMethods?p(e,i,a):a.createElem(e)},i.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+f().join().replace(/\w+/g,function(e){return a.createElem(e),a.frag.createElement(e),'c("'+e+'")'})+");return n}")(m,a.frag)),e}!function(){try{var e=s.createElement("a");e.innerHTML="",l="hidden"in e,u=1==e.childNodes.length||function(){s.createElement("a");var e=s.createDocumentFragment();return"undefined"==typeof e.cloneNode||"undefined"==typeof e.createDocumentFragment||"undefined"==typeof e.createElement}()}catch(t){u=l=!0}}();var m={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:!1!==t.shivCSS,supportsUnknownElements:u,shivMethods:!1!==t.shivMethods,type:"default",shivDocument:c,createElement:p,createDocumentFragment:function(e,t){if(e||(e=s),u)return e.createDocumentFragment();for(var n=(t=t||d(e)).frag.cloneNode(),r=0,o=f(),i=o.length;r