(function(n,t){function o(n,t){var i=n.createElement("p"),r=n.getElementsByTagName("head")[0]||n.documentElement;return i.innerHTML="x<style>"+t+"<\/style>",r.insertBefore(i.lastChild,r.firstChild)}function s(){var n=i.elements;return typeof n=="string"?n.split(" "):n}function h(n){var r={},t=n.createElement,f=n.createDocumentFragment,u=f();n.createElement=function(n){if(!i.shivMethods)return t(n);var f;return f=r[n]?r[n].cloneNode():l.test(n)?(r[n]=t(n)).cloneNode():t(n),f.canHaveChildren&&!c.test(n)?u.appendChild(f):f};n.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+s().join().replace(/\w+/g,function(n){return t(n),u.createElement(n),'c("'+n+'")'})+");return n}")(i,u)}function f(n){var t;return n.documentShived?n:(i.shivCSS&&!r&&(t=!!o(n,"article,aside,details,figcaption,figure,footer,header,hgroup,nav,section{display:block}audio{display:none}canvas,video{display:inline-block;*display:inline;*zoom:1}[hidden]{display:none}audio[controls]{display:inline-block;*display:inline;*zoom:1}mark{background:#FF0;color:#000}")),e||(t=!h(n)),t&&(n.documentShived=t),n)}var u=n.html5||{},c=/^<|^(?:button|form|map|select|textarea|object|iframe|option|optgroup)$/i,l=/^<|^(?: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,r,e,i;(function(){var i=t.createElement("a");i.innerHTML="<xyz><\/xyz>";r="hidden"in i;r&&typeof injectElementWithStyles=="function"&&injectElementWithStyles("#modernizr{}",function(t){t.hidden=!0;r=(n.getComputedStyle?getComputedStyle(t,null):t.currentStyle).display=="none"});e=i.childNodes.length==1||function(){try{t.createElement("a")}catch(i){return!0}var n=t.createDocumentFragment();return typeof n.cloneNode=="undefined"||typeof n.createDocumentFragment=="undefined"||typeof n.createElement=="undefined"}()})();i={elements:u.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:u.shivCSS!==!1,shivMethods:u.shivMethods!==!1,type:"default",shivDocument:f};n.html5=i;f(t)})(this,document)