/* Copyright (C) YOOtheme GmbH, http://www.gnu.org/licenses/gpl.html GNU/GPL */

/*
 HTML5 Shiv v3.6.2 | @afarkas @jdalton @jon_neal @rem | MIT/GPL2 Licensed
*/
(function(r,f){function s(){var a=g.elements;return"string"==typeof a?a.split(" "):a}function j(a){var b=t[a[u]];b||(b={},k++,a[u]=k,t[k]=b);return b}function v(a,b,c){b||(b=f);if(h)return b.createElement(a);c||(c=j(b));b=c.cache[a]?c.cache[a].cloneNode():x.test(a)?(c.cache[a]=c.createElem(a)).cloneNode():c.createElem(a);return b.canHaveChildren&&!y.test(a)?c.frag.appendChild(b):b}function w(a){a||(a=f);var b=j(a);if(g.shivCSS&&!l&&!b.hasCSS){var c,d=a;c=d.createElement("p");d=d.getElementsByTagName("head")[0]||
d.documentElement;c.innerHTML="x<style>article,aside,dialog,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}mark{background:#FF0;color:#000}template{display:none}</style>";c=d.insertBefore(c.lastChild,d.firstChild);b.hasCSS=!!c}if(!h){var e=a;b.cache||(b.cache={},b.createElem=e.createElement,b.createFrag=e.createDocumentFragment,b.frag=b.createFrag());e.createElement=function(a){return!g.shivMethods?b.createElem(a):v(a,e,b)};e.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+
s().join().replace(/\w+/g,function(a){b.createElem(a);b.frag.createElement(a);return'c("'+a+'")'})+");return n}")(g,b.frag)}return a}var m=r.html5||{},y=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,x=/^(?: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,l,u="_html5shiv",k=0,t={},h;try{var n=f.createElement("a");n.innerHTML="<xyz></xyz>";l="hidden"in n;var p;if(!(p=1==n.childNodes.length)){f.createElement("a");var q=f.createDocumentFragment();
p="undefined"==typeof q.cloneNode||"undefined"==typeof q.createDocumentFragment||"undefined"==typeof q.createElement}h=p}catch(z){h=l=!0}var g={elements:m.elements||"abbr article aside audio bdi canvas data datalist details dialog figcaption figure footer header hgroup main mark meter nav output progress section summary template time video",version:"3.6.2",shivCSS:!1!==m.shivCSS,supportsUnknownElements:h,shivMethods:!1!==m.shivMethods,type:"default",shivDocument:w,createElement:v,createDocumentFragment:function(a,
b){a||(a=f);if(h)return a.createDocumentFragment();b=b||j(a);for(var c=b.frag.cloneNode(),d=0,e=s(),g=e.length;d<g;d++)c.createElement(e[d]);return c}};r.html5=g;w(f)})(this,document);
