/*! html5 shiv vpre3.6 | @afarkas @jdalton @jon_neal @rem | mit/gpl2 licensed uncompressed source: https://github.com/afarkas/html5shiv http://html5shiv.googlecode.com/svn/trunk/html5.js */ (function(a,b){function h(a,b){var c=a.createelement("p"),d=a.getelementsbytagname("head")[0]||a.documentelement;return c.innerhtml="x",d.insertbefore(c.lastchild,d.firstchild)}function i(){var a=l.elements;return typeof a=="string"?a.split(" "):a}function j(a){var b={},c=a.createelement,f=a.createdocumentfragment,g=f();a.createelement=function(a){if(!l.shivmethods)return c(a);var f;return b[a]?f=b[a].clonenode():e.test(a)?f=(b[a]=c(a)).clonenode():f=c(a),f.canhavechildren&&!d.test(a)?g.appendchild(f):f},a.createdocumentfragment=function("h,f","return function(){var n=f.clonenode(),c=n.createelement;h.shivmethods&&("+i().join().replace(/\w+/g,function(a){return c(a),g.createelement(a),'c("'+a+'")'})+");return n}")(l,g)}function k(a){var b;return a.documentshived?a:(l.shivcss&&!f&&(b=!!h(a,"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}")),g||(b=!j(a)),b&&(a.documentshived=b),a)}var c=a.html5||{},d=/^<|^(?:button|form|map|select|textarea|object|iframe|option|optgroup)$/i,e=/^<|^(?: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,f,g;(function(){var c=b.createelement("a");c.innerhtml="",f="hidden"in c,f&&typeof injectelementwithstyles=="function"&&injectelementwithstyles("#modernizr{}",function(b){b.hidden=!0,f=(a.getcomputedstyle?getcomputedstyle(b,null):b.currentstyle).display=="none"}),g=c.childnodes.length==1||function(){try{b.createelement("a")}catch(a){return!0}var c=b.createdocumentfragment();return typeof c.clonenode=="undefined"||typeof c.createdocumentfragment=="undefined"||typeof c.createelement=="undefined"}()})();var l={elements:c.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:c.shivcss!==!1,shivmethods:c.shivmethods!==!1,type:"default",shivdocument:k};a.html5=l,k(b)})(this,document)