"function"!=typeof Object.create&&(Object.create=function(e){function t(){}return t.prototype=e,new t});var ua={toString:function(){return navigator.userAgent},test:function(e){return this.toString().toLowerCase().indexOf(e.toLowerCase())>-1}};ua.version=(ua.toString().toLowerCase().match(/[\s\S]+(?:rv|it|ra|ie)[\/: ]([\d.]+)/)||[])[1],ua.webkit=ua.test("webkit"),ua.gecko=ua.test("gecko")&&!ua.webkit,ua.opera=ua.test("opera"),ua.ie=ua.test("msie")&&!ua.opera,ua.ie6=ua.ie&&document.compatMode&&"undefined"==typeof document.documentElement.style.maxHeight,ua.ie7=ua.ie&&document.documentElement&&"undefined"!=typeof document.documentElement.style.maxHeight&&"undefined"==typeof XDomainRequest,ua.ie8=ua.ie&&"undefined"!=typeof XDomainRequest;var domReady=function(){var e=[],t=function(){if(!arguments.callee.done){arguments.callee.done=!0;for(var t=0;t=200&&r.status<300||304===r.status||navigator.userAgent.indexOf("Safari")>-1&&"undefined"==typeof r.status?t(r.responseText):n(),document.documentElement.style.cursor="",r=null)},r.send("")},l=function(e){return e=e.replace(t.REDUNDANT_COMPONENTS,""),e=e.replace(t.REDUNDANT_WHITESPACE,"$1"),e=e.replace(t.MORE_WHITESPACE," "),e=e.replace(t.FINAL_SEMICOLONS,"}")},c={mediaQueryList:function(e){var n={},r=e.indexOf("{"),i=e.substring(0,r);e=e.substring(r+1,e.length-1);for(var o=[],s=[],u=i.toLowerCase().substring(7).split(","),a=0;a-1&&c.href&&0!==c.href.length&&!c.disabled&&(r[r.length]=c)}if(r.length>0){var g=0,m=function(){g++,g===r.length&&i()},p=function(e){var n=e.href;a(n,function(r){r=l(r).replace(t.RELATIVE_URLS,"url("+n.substring(0,n.lastIndexOf("/"))+"/$1)"),e.cssHelperText=r,m()},m)};for(u=0;u=a||s&&a>c||!i&&!s&&c===a:!1:c>0;if("device-height"===e.substring(r-13,r))return d=screen.height,null!==n?"length"===u?i&&d>=a||s&&a>d||!i&&!s&&d===a:!1:d>0;if("width"===e.substring(r-5,r))return c=document.documentElement.clientWidth||document.body.clientWidth,null!==n?"length"===u?i&&c>=a||s&&a>c||!i&&!s&&c===a:!1:c>0;if("height"===e.substring(r-6,r))return d=document.documentElement.clientHeight||document.body.clientHeight,null!==n?"length"===u?i&&d>=a||s&&a>d||!i&&!s&&d===a:!1:d>0;if("device-aspect-ratio"===e.substring(r-19,r))return"aspect-ratio"===u&&screen.width*a[1]===screen.height*a[0];if("color-index"===e.substring(r-11,r)){var f=Math.pow(2,screen.colorDepth);return null!==n?"absolute"===u?i&&f>=a||s&&a>f||!i&&!s&&f===a:!1:f>0}if("color"===e.substring(r-5,r)){var g=screen.colorDepth;return null!==n?"absolute"===u?i&&g>=a||s&&a>g||!i&&!s&&g===a:!1:g>0}if("resolution"===e.substring(r-10,r)){var m;return m="dpcm"===l?o("1cm"):o("1in"),null!==n?"resolution"===u?i&&m>=a||s&&a>m||!i&&!s&&m===a:!1:m>0}return!1},u=function(e){var t=e.getValid(),n=e.getExpressions(),r=n.length;if(r>0){for(var i=0;r>i&&t;i++)t=s(n[i].mediaFeature,n[i].value);var o=e.getNot();return t&&!o||o&&!t}},a=function(e){for(var t=e.getMediaQueries(),r={},i=0;i0&&(o[s++]=","),o[s++]=a);o.length>0&&(n[n.length]=cssHelper.addStyle("@media "+o.join("")+"{"+e.getCssText()+"}",!1))},l=function(e){for(var t=0;td||Math.abs(o-t)>d)&&(e=n,t=o,clearTimeout(i),i=setTimeout(function(){r()?cssHelper.broadcast("cssMediaQueriesTested"):c()},500))};window.onresize=function(){var e=window.onresize||function(){};return function(){e(),o()}}()},g=document.documentElement;return g.style.marginLeft="-32767px",setTimeout(function(){g.style.marginTop=""},2e4),function(){r()?g.style.marginLeft="":(cssHelper.addListener("newStyleParsed",function(e){l(e.cssHelperParsed.mediaQueryLists)}),cssHelper.addListener("cssMediaQueriesTested",function(){ua.ie&&(g.style.width="1px"),setTimeout(function(){g.style.width="",g.style.marginLeft=""},0),cssHelper.removeListener("cssMediaQueriesTested",arguments.callee)}),i(),c()),f()}}());try{document.execCommand("BackgroundImageCache",!1,!0)}catch(e){}