(function(){function H(c){try{var a=document.querySelectorAll("meta[name=viewport]");a&&a.length&&(a=a[a.length-1],a.getAttribute("content"),a.setAttribute("content","initial-scale="+c))}catch(b){}}function I(){window.matchMedia=window.matchMedia||function(c){var a,b=c.documentElement,d=b.firstElementChild||b.firstChild,e=c.createElement("body"),h=c.createElement("div");h.id="mq-test-1";h.style.cssText="position:absolute;top:-100em";e.style.background="none";e.appendChild(h);return function(c){h.innerHTML= '­';b.insertBefore(e,d);a=42===h.offsetWidth;b.removeChild(e);return{matches:a,media:c}}}(document);(function(c){function a(){A(!0)}var b={};c.respond=b;b.update=function(){};b.mediaQueriesSupported=c.matchMedia&&c.matchMedia("only all").matches;if(!b.mediaQueriesSupported){var d=c.document,e=d.documentElement,h=[],k=[],f=[],l={},z=d.getElementsByTagName("head")[0]||e,q=d.getElementsByTagName("base")[0],p=z.getElementsByTagName("link"), m=[],g=function(){for(var a=0;ag-t)c.clearTimeout(w),w=c.setTimeout(A,30);else{t=g;for(var u in h)if(h.hasOwnProperty(u)){a=h[u];var g=a.minw,n=a.maxw,v=null===g,r=null===n;g&&(g=parseFloat(g)*(-1=g)||!(r||l<=n))||(b[a.media]||(b[a.media]=[]),b[a.media].push(k[a.rules]))}for(var s in f)f.hasOwnProperty(s)&&f[s]&&f[s].parentNode===z&&z.removeChild(f[s]);for(var q in b)b.hasOwnProperty(q)&&(u=d.createElement("style"),s=b[q].join("\n"),u.type="text/css",u.media=q,z.insertBefore(u,m.nextSibling),u.styleSheet?u.styleSheet.cssText=s:u.appendChild(d.createTextNode(s)),f.push(u))}},y,C=!1;try{C=new c.XMLHttpRequest}catch(D){C= new c.ActiveXObject("Microsoft.XMLHTTP")}y=function(){return C};g();b.update=g;c.addEventListener?c.addEventListener("resize",a,!1):c.attachEvent&&c.attachEvent("onresize",a)}})(this)}function w(){function c(a,b){q[b]||(q[b]=0);if(a.rules.length)for(var d=a.rules.length-1;0<=d;d--)a.rules[d].style.behavior="url("+b+")";else q[b]++,"complete"!=a.owningElement.readyState&&500>q[b]&&setTimeout(function(a,b){return function(){c(a,b)}}(a,b),10)}for(var a=document.getElementsByTagName("LINK"),b=0;b=f.version)for(var c=document.getElementsByTagName("LINK"),a=c.length,b=0;b"+w+""}a.innerHTML=l}}}}function F(c){var a=c.getAttribute&&c.getAttribute("class")||"";if(!c.layoutsLiquid&&a.match(/(^|(\s+))liquid((\s+)|$)/i)){c.layoutsLiquid=!0;for(var b=c.previousSibling;b&&1!=b.nodeType;)b=b.previousSibling;if(b){var d=b.currentStyle||window.getComputedStyle(b);if(d&&"none"==d["float"]&&(a=a.match(/(^|\s+)lindex-(\d+)($|\s+)/i))){for(a= parseInt(a[2]);0=a));)b=b.previousSibling;c.parentNode.insertBefore(c,b)}}}c=c.childNodes;for(b=c.length-1;0<=b;b--)F(c[b])}var G="article aside audio canvas command datalist details embed figcaption figure footer header hgroup keygen mark meter nav output progress rp rt ruby section source summary time video".split(" "),f=function(){var c=navigator.userAgent.toLowerCase(),c=/(chrome)[ \/]([\w.]+)/.exec(c)||/(webkit)[ \/]([\w.]+)/.exec(c)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(c)|| /(msie) ([\w.]+)/.exec(c)||0>c.indexOf("compatible")&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(c)||[],a=c[2]||"0",b=a.indexOf("."),b=a.indexOf(".",b);-1!=b&&(a=parseFloat(a.substring(0,b)));return{name:c[1]||"",version:a}}(),J=function(){for(var c=document.getElementsByTagName("SCRIPT"),a=0;a=f.version)for(var c=0;cf.version&& alert("On IE7/IE8 local pages with media queries won't display correctly.");E();try{I()}catch(c){}F(document.documentElement);var a;a=document.body?document.documentElement.clientWidth/document.body.scrollWidth:1;1>a&&H(a);K();"msie"==f.name&&6==f.version&&D(document.documentElement);"msie"==f.name&&7==f.version&&window.setTimeout(function(){y(document.documentElement);w()},1E3);"msie"==f.name&&9>=f.version&&7!=f.version&&w()})})();