window.bsfmodernizr=function(e,i){function t(e){u.cssText=e}function a(e,t){return typeof e===t}function c(e,t){for(var n in e){n=e[n];if(!~(""+n).indexOf("-")&&u[n]!==i)return"pfx"!=t||n}return!1}function r(e,t,n){var r=e.charAt(0).toUpperCase()+e.slice(1),o=(e+" "+p.join(r+" ")+r).split(" ");return a(t,"string")||void 0===t?c(o,t):function(e,t,n){for(var r in e){var o=t[e[r]];if(o!==i)return!1===n?e[r]:a(o,"function")?o.bind(n||t):o}return!1}(o=(e+" "+d.join(r+" ")+r).split(" "),t,n)}var n,o,l={},s=e.documentElement,u=e.createElement("bsfmodernizr").style,f="Webkit Moz O ms",p=f.split(" "),d=f.toLowerCase().split(" "),h={},m=[],v=m.slice,y={}.hasOwnProperty,g=void 0!==y&&void 0!==y.call?function(e,t){return y.call(e,t)}:function(e,t){return t in e&&void 0===e.constructor.prototype[t]};for(o in Function.prototype.bind||(Function.prototype.bind=function(n){var r=this;if("function"!=typeof r)throw new TypeError;var o=v.call(arguments,1),i=function(){if(this instanceof i){var e=function(){};e.prototype=r.prototype;var t=new e,e=r.apply(t,o.concat(v.call(arguments)));return Object(e)===e?e:t}return r.apply(n,o.concat(v.call(arguments)))};return i}),h.csstransitions=function(){return r("transition")},h)g(h,o)&&(n=o.toLowerCase(),l[n]=h[o](),m.push((l[n]?"":"no-")+n));return l.addTest=function(e,t){if("object"==typeof e)for(var n in e)g(e,n)&&l.addTest(n,e[n]);else{if(e=e.toLowerCase(),l[e]!==i)return l;t="function"==typeof t?t():t,s.className+=" "+(t?"":"no-")+e,l[e]=t}return l},t(""),0,function(e,c){function l(){var e=h.elements;return"string"==typeof e?e.split(" "):e}function s(e){var t=d[e[i]];return t||(t={},a++,e[i]=a,d[a]=t),t}function u(e,t,n){return t=t||c,p?t.createElement(e):!(t=(n=n||s(t)).cache[e]?n.cache[e].cloneNode():o.test(e)?(n.cache[e]=n.createElem(e)).cloneNode():n.createElem(e)).canHaveChildren||r.test(e)||t.tagUrn?t:n.frag.appendChild(t)}function t(e){var t,n,r,o,i,a=s(e=e||c);return!h.shivCSS||f||a.hasCSS||(a.hasCSS=(o="article,aside,dialog,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}mark{background:#FF0;color:#000}template{display:none}",i=(r=e).createElement("p"),r=r.getElementsByTagName("head")[0]||r.documentElement,i.innerHTML="x<style>"+o+"</style>",!!r.insertBefore(i.lastChild,r.firstChild))),p||(t=e,(n=a).cache||(n.cache={},n.createElem=t.createElement,n.createFrag=t.createDocumentFragment,n.frag=n.createFrag()),t.createElement=function(e){return h.shivMethods?u(e,t,n):n.createElem(e)},t.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+l().join().replace(/[\w\-]+/g,function(e){return n.createElem(e),n.frag.createElement(e),'c("'+e+'")'})+");return n}")(h,n.frag)),e}var f,p,n=e.html5||{},r=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,o=/^(?: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,i="_html5shiv",a=0,d={};!function(){try{var e=c.createElement("a");e.innerHTML="<xyz></xyz>",f="hidden"in e,p=1==e.childNodes.length||function(){c.createElement("a");var e=c.createDocumentFragment();return void 0===e.cloneNode||void 0===e.createDocumentFragment||void 0===e.createElement}()}catch(e){p=f=!0}}();var h={elements:n.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.7.0",shivCSS:!1!==n.shivCSS,supportsUnknownElements:p,shivMethods:!1!==n.shivMethods,type:"default",shivDocument:t,createElement:u,createDocumentFragment:function(e,t){if(e=e||c,p)return e.createDocumentFragment();for(var n=(t=t||s(e)).frag.cloneNode(),r=0,o=l(),i=o.length;r<i;r++)n.createElement(o[r]);return n}};e.html5=h,t(c)}(this,e),l._version="2.7.1",l._domPrefixes=d,l._cssomPrefixes=p,l.testProp=function(e){return c([e])},l.testAllProps=r,l.prefixed=function(e,t,n){return t?r(e,t,n):r(e,"pfx")},s.className=s.className.replace(/(^|\s)no-js(\s|$)/,"$1$2")+(" js "+m.join(" ")),l}(this.document),function(e,d){function f(e){return"[object Function]"==o.call(e)}function h(e){return"string"==typeof e}function p(){}function m(e){return!e||"loaded"==e||"complete"==e||"uninitialized"==e}function v(){var e=b.shift();E=1,e?e.t?y(function(){("c"==e.t?F.injectCss:F.injectJs)(e.s,0,e.a,e.x,e.e,1)},0):(e(),v()):E=0}function t(e,t,n,r,o){return E=0,t=t||"j",h(e)?(a="c"==t?x:S,c=e,l=t,t=this.i++,n=n,r=r,o=(o=o)||F.errorTimeout,s=d.createElement(a),f=u=0,p={t:l,s:c,e:n,a:r,x:o},1===w[c]&&(f=1,w[c]=[]),"object"==a?s.data=c:(s.src=c,s.type=a),s.width=s.height="0",s.onerror=s.onload=s.onreadystatechange=function(){i.call(this,f)},b.splice(t,0,p),"img"!=a&&(f||2===w[c]?(C.insertBefore(s,j?null:g),y(i,o)):w[c].push(s))):(b.splice(this.i++,0,e),1==b.length&&v()),this;function i(e){if(!u&&m(s.readyState)&&(p.r=u=1,E||v(),s.onload=s.onreadystatechange=null,e))for(var t in"img"!=a&&y(function(){C.removeChild(s)},50),w[c])w[c].hasOwnProperty(t)&&w[c][t].onload()}var a,c,l,s,u,f,p}function c(){var e=F;return e.loader={load:t,i:0},e}var n,r=d.documentElement,y=e.setTimeout,g=d.getElementsByTagName("script")[0],o={}.toString,b=[],E=0,i="MozAppearance"in r.style,j=i&&!!d.createRange().compareNode,C=j?r:g.parentNode,r=e.opera&&"[object Opera]"==o.call(e.opera),r=!!d.attachEvent&&!r,S=i?"object":r?"script":"img",x=r?"script":S,a=Array.isArray||function(e){return"[object Array]"==o.call(e)},l=[],w={},s={timeout:function(e,t){return t.length&&(e.timeout=t[0]),e}},F=function(e){function u(e,t,n,r,o){var i=function(e){for(var t,n,e=e.split("!"),r=l.length,o=e.pop(),i=e.length,o={url:o,origUrl:o,prefixes:e},a=0;a<i;a++)n=e[a].split("="),(t=s[n.shift()])&&(o=t(o,n));for(a=0;a<r;a++)o=l[a](o);return o}(e),a=i.autoCallback;i.url.split(".").pop().split("?").shift(),i.bypass||(t=t&&(f(t)?t:t[e]||t[r]||t[e.split("/").pop().split("?")[0]]),i.instead?i.instead(e,t,n,r,o):(w[i.url]?i.noexec=!0:w[i.url]=1,n.load(i.url,i.forceCSS||!i.forceJS&&"css"==i.url.split(".").pop().split("?").shift()?"c":void 0,i.noexec,i.attrs,i.timeout),(f(t)||f(a))&&n.load(function(){c(),t&&t(i.origUrl,o,r),a&&a(i.origUrl,o,r),w[i.url]=2})))}function t(e,t){function n(n,e){if(n){if(h(n))u(n,c=!e?function(){var e=[].slice.call(arguments);l.apply(this,e),s()}:c,t,0,i);else if(Object(n)===n)for(o in r=function(){var e,t=0;for(e in n)n.hasOwnProperty(e)&&t++;return t}(),n)n.hasOwnProperty(o)&&(e||--r||(f(c)?c=function(){var e=[].slice.call(arguments);l.apply(this,e),s()}:c[o]=function(t){return function(){var e=[].slice.call(arguments);t&&t.apply(this,e),s()}}(l[o])),u(n[o],c,t,o,i))}else e||s()}var r,o,i=!!e.test,a=e.load||e.both,c=e.callback||p,l=c,s=e.complete||p;n(i?e.yep:e.nope,!!a),a&&n(a)}var n,r,o=this.yepnope.loader;if(h(e))u(e,0,o,0);else if(a(e))for(n=0;n<e.length;n++)h(r=e[n])?u(r,0,o,0):a(r)?F(r):Object(r)===r&&t(r,o);else Object(e)===e&&t(e,o)};F.addPrefix=function(e,t){s[e]=t},F.addFilter=function(e){l.push(e)},F.errorTimeout=1e4,null==d.readyState&&d.addEventListener&&(d.readyState="loading",d.addEventListener("DOMContentLoaded",n=function(){d.removeEventListener("DOMContentLoaded",n,0),d.readyState="complete"},0)),e.yepnope=c(),e.yepnope.executeStack=v,e.yepnope.injectJs=function(e,t,n,r,o,i){var a,c,l=d.createElement("script"),r=r||F.errorTimeout;for(c in l.src=e,n)l.setAttribute(c,n[c]);t=i?v:t||p,l.onreadystatechange=l.onload=function(){!a&&m(l.readyState)&&(a=1,t(),l.onload=l.onreadystatechange=null)},y(function(){a||t(a=1)},r),o?l.onload():g.parentNode.insertBefore(l,g)},e.yepnope.injectCss=function(e,t,n,r,o,i){var a,t=i?v:t||p;for(a in(r=d.createElement("link")).href=e,r.rel="stylesheet",r.type="text/css",n)r.setAttribute(a,n[a]);o||(g.parentNode.insertBefore(r,g),y(t,0))}}(this,document),bsfmodernizr.load=function(){yepnope.apply(window,[].slice.call(arguments,0))};