"function"!==typeof Object.create&&(Object.create=function(j){function m(){}m.prototype=j;return new m});var ua={toString:function(){return navigator.userAgent},test:function(j){return this.toString().toLowerCase().indexOf(j.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 j=[],m=function(){if(!arguments.callee.done){arguments.callee.done=true;for(var m=0;m-1&&(g.href&&g.href.length!==0&&!g.disabled)&&(b[b.length]=g)}if(b.length>0)for(var i=0,e=function(a){var e= a.href;a:{if(ua.ie&&!window.XMLHttpRequest)window.XMLHttpRequest=function(){return new ActiveXObject("Microsoft.XMLHTTP")};if(XMLHttpRequest){var d=new XMLHttpRequest;try{d.open("get",e,true);d.setRequestHeader("X_REQUESTED_WITH","XMLHttpRequest")}catch(g){i++;i===b.length&&c();break a}var k=false;setTimeout(function(){k=true},5E3);document.documentElement.style.cursor="progress";d.onreadystatechange=function(){if(d.readyState===4&&!k){if(!d.status&&location.protocol==="file:"||d.status>=200&&d.status< 300||d.status===304||navigator.userAgent.indexOf("Safari")>-1&&typeof d.status==="undefined"){var g=d.responseText,g=h(g).replace(q,"url("+e.substring(0,e.lastIndexOf("/"))+"/$1)");a.cssHelperText=g}i++;i===b.length&&c();document.documentElement.style.cursor="";d=null}};d.send("")}}},a=0;a=b||l&&c0}if("device-height"===e.substring(c- 13,c)){i=screen.height;return h!==null?g==="length"?d&&i>=b||l&&i0}if("width"===e.substring(c-5,c)){c=document.documentElement.clientWidth||document.body.clientWidth;return h!==null?g==="length"?d&&c>=b||l&&c0}if("height"===e.substring(c-6,c)){i=document.documentElement.clientHeight||document.body.clientHeight;return h!==null?g==="length"?d&&i>=b||l&&i0}if("orientation"===e.substring(c-11,c)){c=document.documentElement.clientWidth|| document.body.clientWidth;i=document.documentElement.clientHeight||document.body.clientHeight;return g==="absolute"?b==="portrait"?c<=i:c>i:false}if("aspect-ratio"===e.substring(c-12,c)){c=document.documentElement.clientWidth||document.body.clientWidth;i=document.documentElement.clientHeight||document.body.clientHeight;c=c/i;b=b[1]/b[0];return g==="aspect-ratio"?d&&c>=b||l&&c=b||l&&c0}if("color"===e.substring(c-5,c)){c=screen.colorDepth;return h!==null?g==="absolute"?d&&c>=b||l&&c0}if("resolution"===e.substring(c-10,c)){c=i==="dpcm"?w("1cm"):w("1in");return h!==null?g==="resolution"?d&&c>=b||l&&c0}return false},t=function(e){for(var h=0;h0){for(var a=0;a0&&(d[g++]=",");d[g++]=b}d.length>0&&(r[r.length]=cssHelper.addStyle("@media "+d.join("")+"{"+c.getCssText()+"}",false))}if(ua.ie){document.documentElement.style.display="block";setTimeout(function(){document.documentElement.style.display= ""},0);setTimeout(function(){cssHelper.broadcast("cssMediaQueriesTested")},100)}else cssHelper.broadcast("cssMediaQueriesTested")},s=function(){for(var e=0;eu||Math.abs(b-h)>u){e=c;h=b;clearTimeout(d);d=setTimeout(function(){v()?cssHelper.broadcast("cssMediaQueriesTested"): s()},500)}}}}());try{document.execCommand("BackgroundImageCache",!1,!0)}catch(e$$3){};