window.Modernizr=function(n,t,i){function k(n){nt.cssText=n}function c(n,t){return typeof n===t}var g="2.6.2",r={},y=!0,u=t.documentElement,f="modernizr",b=t.createElement(f),nt=b.style,tt,ut={}.toString,p=" -webkit- -moz- -o- -ms- ".split(" "),s={},rt={},it={},v=[],l=v.slice,o,a=function(n,i,r,e){var v,l,c,a,o=t.createElement("div"),h=t.body,s=h||t.createElement("body");if(parseInt(r,10))while(r--)c=t.createElement("div"),c.id=e?e[r]:f+(r+1),o.appendChild(c);return v=["&#173;",'<style id="s',f,'">',n,"</style>"].join(""),o.id=f,(h?o:s).innerHTML+=v,s.appendChild(o),h||(s.style.background="",s.style.overflow="hidden",a=u.style.overflow,u.style.overflow="hidden",u.appendChild(s)),l=i(o,n),h?o.parentNode.removeChild(o):(s.parentNode.removeChild(s),u.style.overflow=a),!!l},d=function(t){var r=n.matchMedia||n.msMatchMedia,i;return r?r(t).matches:(a("@media "+t+" { #"+f+" { position: absolute; } }",function(t){i=(n.getComputedStyle?getComputedStyle(t,null):t.currentStyle).position=="absolute"}),i)},w={}.hasOwnProperty,e,h;e=!c(w,"undefined")&&!c(w.call,"undefined")?function(n,t){return w.call(n,t)}:function(n,t){return t in n&&c(n.constructor.prototype[t],"undefined")},Function.prototype.bind||(Function.prototype.bind=function(n){var t=this,r,i;if(typeof t!="function")throw new TypeError;return r=l.call(arguments,1),i=function(){var f,e,u;return this instanceof i?(f=function(){},f.prototype=t.prototype,e=new f,u=t.apply(e,r.concat(l.call(arguments))),Object(u)===u?u:e):t.apply(n,r.concat(l.call(arguments)))},i}),s.touch=function(){var i;return"ontouchstart"in n||n.DocumentTouch&&t instanceof DocumentTouch?i=!0:a(["@media (",p.join("touch-enabled),("),f,")","{#modernizr{top:9px;position:absolute}}"].join(""),function(n){i=n.offsetTop===9}),i};for(h in s)e(s,h)&&(o=h.toLowerCase(),r[o]=s[h](),v.push((r[o]?"":"no-")+o));return r.addTest=function(n,t){if(typeof n=="object")for(var f in n)e(n,f)&&r.addTest(f,n[f]);else{if(n=n.toLowerCase(),r[n]!==i)return r;t=typeof t=="function"?t():t,typeof y!="undefined"&&y&&(u.className+=" "+(t?"":"no-")+n),r[n]=t}return r},k(""),b=tt=null,function(n,t){function y(n,t){var r=n.createElement("p"),i=n.getElementsByTagName("head")[0]||n.documentElement;return r.innerHTML="x<style>"+t+"</style>",i.insertBefore(r.lastChild,i.firstChild)}function a(){var n=i.elements;return typeof n=="string"?n.split(" "):n}function o(n){var t=h[n[s]];return t||(t={},e++,n[s]=e,h[e]=t),t}function l(n,i,u){if(i||(i=t),r)return i.createElement(n);u||(u=o(i));var f;return f=u.cache[n]?u.cache[n].cloneNode():p.test(n)?(u.cache[n]=u.createElem(n)).cloneNode():u.createElem(n),f.canHaveChildren&&!v.test(n)?u.frag.appendChild(f):f}function b(n,i){if(n||(n=t),r)return n.createDocumentFragment();i=i||o(n);for(var e=i.frag.cloneNode(),u=0,f=a(),s=f.length;u<s;u++)e.createElement(f[u]);return e}function w(n,t){t.cache||(t.cache={},t.createElem=n.createElement,t.createFrag=n.createDocumentFragment,t.frag=t.createFrag()),n.createElement=function(r){return i.shivMethods?l(r,n,t):t.createElem(r)},n.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+a().join().replace(/\w+/g,function(n){return t.createElem(n),t.frag.createElement(n),'c("'+n+'")'})+");return n}")(i,t.frag)}function c(n){n||(n=t);var f=o(n);return i.shivCSS&&!u&&!f.hasCSS&&(f.hasCSS=!!y(n,"article,aside,figcaption,figure,footer,header,hgroup,nav,section{display:block}mark{background:#FF0;color:#000}")),r||w(n,f),n}var f=n.html5||{},v=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,p=/^(?: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,u,s="_html5shiv",e=0,h={},r,i;(function(){try{var n=t.createElement("a");n.innerHTML="<xyz></xyz>",u="hidden"in n,r=n.childNodes.length==1||function(){t.createElement("a");var n=t.createDocumentFragment();return typeof n.cloneNode=="undefined"||typeof n.createDocumentFragment=="undefined"||typeof n.createElement=="undefined"}()}catch(i){u=!0,r=!0}})(),i={elements:f.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:f.shivCSS!==!1,supportsUnknownElements:r,shivMethods:f.shivMethods!==!1,type:"default",shivDocument:c,createElement:l,createDocumentFragment:b},n.html5=i,c(t)}(this,t),r._version=g,r._prefixes=p,r.mq=d,r.testStyles=a,u.className=u.className.replace(/(^|\s)no-js(\s|$)/,"$1$2")+(y?" js "+v.join(" "):""),r}(this,this.document),function(n,t,i){function c(n){return"[object Function]"==p.call(n)}function v(n){return"string"==typeof n}function h(){}function k(n){return!n||"loaded"==n||"complete"==n||"uninitialized"==n}function f(){var n=a.shift();l=1,n?n.t?s(function(){("c"==n.t?r.injectCss:r.injectJs)(n.s,0,n.a,n.x,n.e,1)},0):(n(),f()):l=0}function et(n,i,o,h,c,v,y){function d(t){if(!g&&k(p.readyState)&&(b.r=g=1,!l&&f(),p.onload=p.onreadystatechange=null,t)){"img"!=n&&s(function(){rt.removeChild(p)},50);for(var r in u[i])u[i].hasOwnProperty(r)&&u[i][r].onload()}}var y=y||r.errorTimeout,p=t.createElement(n),g=0,w=0,b={t:o,s:i,e:c,a:v,x:y};1===u[i]&&(w=1,u[i]=[]),"object"==n?p.data=i:(p.src=i,p.type=n),p.width=p.height="0",p.onerror=p.onload=p.onreadystatechange=function(){d.call(this,w)},a.splice(h,0,b),"img"!=n&&(w||2===u[i]?(rt.insertBefore(p,nt?null:e),s(d,y)):u[i].push(p))}function ft(n,t,i,r,u){return l=0,t=t||"j",v(n)?et("c"==t?ut:g,n,t,this.i++,i,r,u):(a.splice(this.i++,0,n),1==a.length&&f()),this}function it(){var n=r;return n.loader={load:ft,i:0},n}var o=t.documentElement,s=n.setTimeout,e=t.getElementsByTagName("script")[0],p={}.toString,a=[],l=0,tt="MozAppearance"in o.style,nt=tt&&!!t.createRange().compareNode,rt=nt?o:e.parentNode,o=n.opera&&"[object Opera]"==p.call(n.opera),o=!!t.attachEvent&&!o,g=tt?"object":o?"script":"img",ut=o?"script":g,w=Array.isArray||function(n){return"[object Array]"==p.call(n)},y=[],u={},b={timeout:function(n,t){return t.length&&(n.timeout=t[0]),n}},d,r;r=function(n){function l(n){for(var n=n.split("!"),e=y.length,i=n.pop(),f=n.length,i={url:i,origUrl:i,prefixes:n},u,r,t=0;t<f;t++)r=n[t].split("="),(u=b[r.shift()])&&(i=u(i,r));for(t=0;t<e;t++)i=y[t](i);return i}function o(n,t,r,f,e){var o=l(n),s=o.autoCallback;o.url.split(".").pop().split("?").shift(),o.bypass||(t&&(t=c(t)?t:t[n]||t[f]||t[n.split("/").pop().split("?")[0]]),o.instead?o.instead(n,t,r,f,e):(u[o.url]?o.noexec=!0:u[o.url]=1,r.load(o.url,o.forceCSS||!o.forceJS&&"css"==o.url.split(".").pop().split("?").shift()?"c":i,o.noexec,o.attrs,o.timeout),(c(t)||c(s))&&r.load(function(){it(),t&&t(o.origUrl,e,f),s&&s(o.origUrl,e,f),u[o.url]=2})))}function s(n,t){function l(n,f){if(n){if(v(n))f||(i=function(){var n=[].slice.call(arguments);e.apply(this,n),u()}),o(n,i,t,0,s);else if(Object(n)===n)for(r in a=function(){var i=0,t;for(t in n)n.hasOwnProperty(t)&&i++;return i}(),n)n.hasOwnProperty(r)&&(!f&&!--a&&(c(i)?i=function(){var n=[].slice.call(arguments);e.apply(this,n),u()}:i[r]=function(n){return function(){var t=[].slice.call(arguments);n&&n.apply(this,t),u()}}(e[r])),o(n[r],i,t,r,s))}else!f&&u()}var s=!!n.test,f=n.load||n.both,i=n.callback||h,e=i,u=n.complete||h,a,r;l(s?n.yep:n.nope,!!f),f&&l(f)}var f,t,e=this.yepnope.loader;if(v(n))o(n,0,e,0);else if(w(n))for(f=0;f<n.length;f++)t=n[f],v(t)?o(t,0,e,0):w(t)?r(t):Object(t)===t&&s(t,e);else Object(n)===n&&s(n,e)},r.addPrefix=function(n,t){b[n]=t},r.addFilter=function(n){y.push(n)},r.errorTimeout=1e4,null==t.readyState&&t.addEventListener&&(t.readyState="loading",t.addEventListener("DOMContentLoaded",d=function(){t.removeEventListener("DOMContentLoaded",d,0),t.readyState="complete"},0)),n.yepnope=it(),n.yepnope.executeStack=f,n.yepnope.injectJs=function(n,i,u,o,c,l){var a=t.createElement("script"),v,y,o=o||r.errorTimeout;a.src=n;for(y in u)a.setAttribute(y,u[y]);i=l?f:i||h,a.onreadystatechange=a.onload=function(){!v&&k(a.readyState)&&(v=1,i(),a.onload=a.onreadystatechange=null)},s(function(){v||(v=1,i(1))},o),c?a.onload():e.parentNode.insertBefore(a,e)},n.yepnope.injectCss=function(n,i,r,u,o,c){var u=t.createElement("link"),l,i=c?f:i||h;u.href=n,u.rel="stylesheet",u.type="text/css";for(l in r)u.setAttribute(l,r[l]);o||(e.parentNode.insertBefore(u,e),s(i,0))}}(this,document),Modernizr.load=function(){yepnope.apply(window,[].slice.call(arguments,0))},function(n,t){function w(n,t){var r=n.createElement("p"),i=n.getElementsByTagName("head")[0]||n.documentElement;return r.innerHTML="x<style>"+t+"</style>",i.insertBefore(r.lastChild,i.firstChild)}function s(){var n=i.elements;return typeof n=="string"?n.split(" "):n}function u(n){var t=a[n[l]];return t||(t={},f++,n[l]=f,a[f]=t),t}function h(n,i,f){if(i||(i=t),r)return i.createElement(n);f||(f=u(i));var e;return e=f.cache[n]?f.cache[n].cloneNode():y.test(n)?(f.cache[n]=f.createElem(n)).cloneNode():f.createElem(n),e.canHaveChildren&&!p.test(n)?f.frag.appendChild(e):e}function b(n,i){if(n||(n=t),r)return n.createDocumentFragment();i=i||u(n);for(var o=i.frag.cloneNode(),f=0,e=s(),h=e.length;f<h;f++)o.createElement(e[f]);return o}function v(n,t){t.cache||(t.cache={},t.createElem=n.createElement,t.createFrag=n.createDocumentFragment,t.frag=t.createFrag()),n.createElement=function(r){return i.shivMethods?h(r,n,t):t.createElem(r)},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.createElem(n),t.frag.createElement(n),'c("'+n+'")'})+");return n}")(i,t.frag)}function c(n){n||(n=t);var f=u(n);return!i.shivCSS||o||f.hasCSS||(f.hasCSS=!!w(n,"article,aside,figcaption,figure,footer,header,hgroup,nav,section{display:block}mark{background:#FF0;color:#000}")),r||v(n,f),n}var e=n.html5||{},p=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,y=/^<|^(?: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,o,l="_html5shiv",f=0,a={},r,i;(function(){try{var n=t.createElement("a");n.innerHTML="<xyz></xyz>",o="hidden"in n,r=n.childNodes.length==1||function(){t.createElement("a");var n=t.createDocumentFragment();return typeof n.cloneNode=="undefined"||typeof n.createDocumentFragment=="undefined"||typeof n.createElement=="undefined"}()}catch(i){o=!0,r=!0}})(),i={elements:e.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:e.shivCSS!==!1,supportsUnknownElements:r,shivMethods:e.shivMethods!==!1,type:"default",shivDocument:c,createElement:h,createDocumentFragment:b},n.html5=i,c(t)}(this,document),Modernizr.addTest("ipad",function(){return navigator.userAgent.toLowerCase().indexOf("ipad")>-1}),Modernizr.addTest("iphone",function(){return navigator.userAgent.toLowerCase().indexOf("iphone")>-1}),Modernizr.addTest("ltie9",function(){return $(".lt-ie9").length>0}),Modernizr.addTest("tablet",function(){return Modernizr.touch&&$(window).height()<1024}),function(n){function ht(n){return n.replace(vt,e).replace(at,function(n,t,i){for(var f=i.split(","),e,u,r=0,o=f.length;r<o;r++)e=et(f[r])+c,u=[],f[r]=e.replace(ui,function(n,t,i,r,f){if(t)return u.length>0&&(rt(e.substring(0,f),u),u=[]),t;var o=i?d(i):g(r);return o?(u.push(o),"."+o.className):n});return t+f.join(",")})}function g(n){return!w||w.test(n)?{className:a(n),applyClass:!0}:null}function d(i){var e=!0,c=a(i.slice(1)),u=i.substring(0,5)==":not(",l,v,y;if(u&&(i=i.slice(5,-1)),y=i.indexOf("("),y>-1&&(i=i.substring(0,y)),i.charAt(0)==":")switch(i.slice(1)){case"root":e=function(n){return u?n!=h:n==h};break;case"target":if(o==8){e=function(i){var e=function(){var n=location.hash,r=n.slice(1);return u?n==t||i.id!=r:n!=t&&i.id==r};return r(n,"hashchange",function(){f(i,c,e())}),e()};break}return!1;case"checked":e=function(n){return ii.test(n.type)&&r(n,"propertychange",function(){event.propertyName=="checked"&&f(n,c,n.checked!==u)}),n.checked!==u};break;case"disabled":u=!u;case"enabled":e=function(n){return fi.test(n.tagName)?(r(n,"propertychange",function(){event.propertyName=="$disabled"&&f(n,c,n.$disabled===u)}),s.push(n),n.$disabled=n.disabled,n.disabled===u):i==":enabled"?u:!u};break;case"focus":l="focus",v="blur";case"hover":l||(l="mouseenter",v="mouseleave"),e=function(n){return r(n,u?v:l,function(){f(n,c,!0)}),r(n,u?l:v,function(){f(n,c,!1)}),u};break;default:if(!ct.test(i))return!1}return{className:c,applyClass:e}}function rt(n,i){var s,f=n.replace(ri,t),h,a,u,o,e,l,r;(f==t||f.charAt(f.length-1)==c)&&(f+="*");try{s=b(f)}catch(v){st("Selector '"+n+"' threw exception '"+v+"'")}if(s)for(h=0,a=s.length;h<a;h++){for(u=s[h],o=u.className,e=0,l=i.length;e<l;e++)r=i[e],ot(u,r)||r.applyClass&&(r.applyClass===!0||r.applyClass(u)===!0)&&(o=k(o,r.className,!0));u.className=o}}function ot(n,t){return new RegExp("(^|\\s)"+t.className+"(\\s|$)").test(n.className)}function a(n){return kt+"-"+(o==6&&pt?wt++:n.replace(ei,function(n){return n.charCodeAt(0)}))}function st(t){n.console&&n.console.log(t)}function y(n){return n.replace(ni,e)}function nt(n){return y(n).replace(ti,c)}function et(n){return nt(n.replace(gt,e).replace(dt,e))}function f(n,i,r){var f=n.className,u=k(f,i,r);u!=f&&(n.className=u,n.parentNode.className+=t)}function k(n,t,i){var u=RegExp("(^|\\s)"+t+"(\\s|$)"),r=u.test(n);return i?r?n:n+c+t:r?y(n.replace(u,e)):n}function r(n,t,i){n.attachEvent("on"+t,i)}function ut(){if(n.XMLHttpRequest)return new XMLHttpRequest;try{return new ActiveXObject("Microsoft.XMLHTTP")}catch(t){return null}}function ft(n){return u.open("GET",n,!1),u.send(),u.status==200?u.responseText:t}function l(n,t){function r(n){return n.substring(0,n.indexOf("/",8))}if(/^https?:\/\//i.test(n))return r(t)==r(n)?n:null;if(n.charAt(0)=="/")return r(t)+n;var i=t.split(/[?#]/)[0];return n.charAt(0)!="?"&&i.charAt(i.length-1)!="/"&&(i=i.substring(0,i.lastIndexOf("/")+1)),i+n}function p(n){return n?ft(n).replace(bt,t).replace(yt,function(t,i,r,u,f){return p(l(r||f,n))}).replace(lt,function(i,r,u){return r=r||t," url("+r+l(u,n)+r+") "}):t}function it(){for(var u,n,f=i.getElementsByTagName("BASE"),e=f.length>0?f[0].href:i.location.href,r=0;r<i.styleSheets.length;r++)n=i.styleSheets[r],n.href!=t&&(u=l(n.href,e),u&&(n.cssText=ht(p(u))));s.length>0&&setInterval(function(){for(var n,t=0,i=s.length;t<i;t++)n=s[t],n.disabled!==n.$disabled&&(n.disabled?(n.disabled=!1,n.$disabled=!0,n.disabled=!0):n.$disabled=n.disabled)},250)}function tt(n,u){var o=!1,s=!0,f=function(t){(t.type!="readystatechange"||i.readyState=="complete")&&((t.type=="load"?n:i).detachEvent("on"+t.type,f,!1),!o&&(o=!0)&&u.call(n,t.type||t))},e=function(){try{h.doScroll("left")}catch(n){setTimeout(e,50);return}f("poll")};if(i.readyState=="complete")u.call(n,t);else{if(i.createEventObject&&h.doScroll){try{s=!n.frameElement}catch(c){}s&&e()}r(i,"readystatechange",f),r(n,"load",f)}}if(/*@cc_on!@*/!0){var i=document,h=i.documentElement,u=ut(),o=/MSIE (\d+)/.exec(navigator.userAgent)[1];if(i.compatMode=="CSS1Compat"&&!(o<6)&&!(o>8)&&u){var v={NW:"*.Dom.select",MooTools:"$$",DOMAssistant:"*.$",Prototype:"$$",YAHOO:"*.util.Selector.query",Sizzle:"*",jQuery:"*",dojo:"*.query"},b,s=[],wt=0,pt=!0,kt="slvzr",bt=/(\/\*[^*]*\*+([^\/][^*]*\*+)*\/)\s*/g,yt=/@import\s*(?:(?:(?:url\(\s*(['"]?)(.*)\1)\s*\))|(?:(['"])(.*)\3))[^;]*;/g,lt=/\burl\(\s*(["']?)(?!data:)([^"')]+)\1\s*\)/g,ct=/^:(empty|(first|last|only|nth(-last)?)-(child|of-type))$/,vt=/:(:first-(?:line|letter))/g,at=/(^|})\s*([^\{]*?[\[:][^{]+)/g,ui=/([ +~>])|(:[a-z-]+(?:\(.*?\)+)?)|(\[.*?\])/g,ri=/(:not\()?:(hover|enabled|disabled|focus|checked|target|active|visited|first-line|first-letter)\)?/g,ei=/[^\w-]/g,fi=/^(INPUT|SELECT|TEXTAREA|BUTTON)$/,ii=/^(checkbox|radio)$/,w=o>6?/[\$\^*]=(['"])\1/:null,gt=/([(\[+~])\s+/g,dt=/\s+([)\]+~])/g,ti=/\s+/g,ni=/^\s*((?:[\S\s]*\S)?)\s*$/,t="",c=" ",e="$1";tt(n,function(){var i,r,u,t;for(i in v)if(t=n,n[i]){for(r=v[i].replace("*",i).split(".");(u=r.shift())&&(t=t[u]););if(typeof t=="function"){b=t,it();return}}})}}}(this),window.matchMedia=window.matchMedia||function(n){var f,u=n.documentElement,e=u.firstElementChild||u.firstChild,r=n.createElement("body"),i=n.createElement("div");return i.id="mq-test-1",i.style.cssText="position:absolute;top:-100em",r.style.background="none",r.appendChild(i),function(n){return i.innerHTML='&shy;<style media="'+n+'"> #mq-test-1 { width: 42px; }</style>',u.insertBefore(r,e),f=i.offsetWidth==42,u.removeChild(r),{matches:f,media:n}}}(document),function(n){function v(){e(!0)}if(n.respond={},respond.update=function(){},respond.mediaQueriesSupported=n.matchMedia&&n.matchMedia("only all").matches,!respond.mediaQueriesSupported){var t=n.document,r=t.documentElement,a=[],f=[],i=[],l={},p=30,u=t.getElementsByTagName("head")[0]||r,g=t.getElementsByTagName("base")[0],c=u.getElementsByTagName("link"),o=[],w=function(){for(var e=c,s=e.length,u=0,i,t,r,f;u<s;u++)i=e[u],t=i.href,r=i.media,f=i.rel&&i.rel.toLowerCase()==="stylesheet",!t||!f||l[t]||(i.styleSheet&&i.styleSheet.rawCssText?(k(i.styleSheet.rawCssText,t,r),l[t]=!0):(/^([a-zA-Z:]*\/\/)/.test(t)||g)&&t.replace(RegExp.$1,"").split("/")[0]!==n.location.host||o.push({href:t,media:r}));d()},d=function(){if(o.length){var n=o.shift();tt(n.href,function(t){k(t,n.href,n.media),l[n.href]=!0,d()})}},k=function(n,t,i){var c=n.match(/@media[^\{]+\{([^\{\}]*\{[^\}\{]*\})+/gi),h=c&&c.length||0,t=t.substring(0,t.lastIndexOf("/")),y=function(n){return n.replace(/(url\()['"]?([^\/\)'"][^:\)'"]+)['"]?(\))/g,"$1"+t+"$2$3")},p=!h&&i,o=0,u,s,r,l,v;for(t.length&&(t+="/"),p&&(h=1);o<h;o++)for(u=0,p?(s=i,f.push(y(n))):(s=c[o].match(/@media *([^\{]+)\{([\S\s]+?)$/)&&RegExp.$1,f.push(RegExp.$2&&y(RegExp.$2))),l=s.split(","),v=l.length;u<v;u++)r=l[u],a.push({media:r.split("(")[0].match(/(only\s+)?([a-zA-Z]+)\s?/)&&RegExp.$2||"all",rules:f.length-1,hasquery:r.indexOf("(")>-1,minw:r.match(/\(min\-width:[\s]*([\s]*[0-9\.]+)(px|em)[\s]*\)/)&&parseFloat(RegExp.$1)+(RegExp.$2||""),maxw:r.match(/\(max\-width:[\s]*([\s]*[0-9\.]+)(px|em)[\s]*\)/)&&parseFloat(RegExp.$1)+(RegExp.$2||"")});e()},h,b,y=function(){var u,i=t.createElement("div"),n=t.body,f=!1;return i.style.cssText="position:absolute;font-size:1em;width:1em",n||(n=f=t.createElement("body"),n.style.background="none"),n.appendChild(i),r.insertBefore(n,r.firstChild),u=i.offsetWidth,f?r.removeChild(n):n.removeChild(i),u=s=parseFloat(u)},s,e=function(n){var ft="clientWidth",it=r[ft],rt=t.compatMode==="CSS1Compat"&&it||t.body[ft]||it,d={},ot=c[c.length-1],ut=+new Date,o,l,g;if(n&&h&&ut-h<p){clearTimeout(b),b=setTimeout(e,p);return}h=ut;for(o in a){var v=a[o],k=v.minw,w=v.maxw,et=k===null,tt=w===null,nt="em";!k||(k=parseFloat(k)*(k.indexOf(nt)>-1?s||y():1)),!w||(w=parseFloat(w)*(w.indexOf(nt)>-1?s||y():1)),(!v.hasquery||(!et||!tt)&&(et||rt>=k)&&(tt||rt<=w))&&(d[v.media]||(d[v.media]=[]),d[v.media].push(f[v.rules]))}for(o in i)i[o]&&i[o].parentNode===u&&u.removeChild(i[o]);for(o in d)l=t.createElement("style"),g=d[o].join("\n"),l.type="text/css",l.media=o,u.insertBefore(l,ot.nextSibling),l.styleSheet?l.styleSheet.cssText=g:l.appendChild(t.createTextNode(g)),i.push(l)},tt=function(n,t){var i=nt();i&&(i.open("GET",n,!0),i.onreadystatechange=function(){i.readyState==4&&(i.status==200||i.status==304)&&t(i.responseText)},i.readyState!=4)&&i.send(null)},nt=function(){var n=!1;try{n=new XMLHttpRequest}catch(t){n=new ActiveXObject("Microsoft.XMLHTTP")}return function(){return n}}();w(),respond.update=w,n.addEventListener?n.addEventListener("resize",v,!1):n.attachEvent&&n.attachEvent("onresize",v)}}(this)