if (top.location!= self.location) {top.location = self.location.href}
var fbg=new function(){var p=this,l=3E3,s=this.rfu=null,m=null;this.onFontFaceFailed=this.isFontFaceSupported=this.hideFOUT=null;m=function(b){window.addEventListener?addEventListener("load",b,!1):attachEvent("onload",b)};this.hideFOUT=function(b,c){if(navigator.appName=="Microsoft Internet Explorer"||/Firefox\/3/.test(navigator.userAgent)){for(var c=c||100,f=[],a=[],h=[],n=!0,d=0;d<document.styleSheets.length;d++){var i=document.styleSheets[d];i.cssRules||(n=!1,i.cssText.replace(/@font-face\s*\{([^\}]+)\}/ig, function(b){var a=b.replace(/([\s\S]*)(font-family:\s*['"]?)([-_0-9a-zA-Z]+)([\s\S]*)/,"$3");f.push(a);return b}));for(var i=i.cssRules||i.rules,g=0;g<i.length;g++){var k=i[g];n&&k instanceof CSSFontFaceRule?(k=k.cssText.replace(/([\s\S]*)(font-family:\s*['"]?)([-_0-9a-zA-Z]+)([\s\S]*)/,"$3"),f.push(k)):a.push(k)}}for(d=0;d<f.length;d++)for(g=0;g<a.length;g++)(n?a[g].cssText:a[g].style.cssText).indexOf(f[d])!=-1&&h.push(a[g].selectorText);var q=document.body||document.documentElement,e=document.createElement("span"); e.setAttribute("style","font:99px _,serif;position:absolute;visibility:hidden");e.innerHTML="Hello World";e.id="fonttest";q.appendChild(e);var j=document.createElement("style");document.getElementsByTagName("head")[0].appendChild(j);a="";for(d=0;d<h.length;d++)a+=h[d]+(d<h.length-1?", ":" ");a+="{visibility:hidden}";j.styleSheet?j.styleSheet.cssText=a:j.textContent=a;e.style.font='99px "'+f[f.length-1]+'",_,serif';var o=e.offsetWidth,r="",h=function(){var b=setInterval(function(){if(!o&&document.body)q.removeChild(e), document.body.appendChild(e),o=e.offsetWidth;var a=e.offsetWidth;r+=a+" ";l-=20;if(o!=a||l<=0){clearInterval(b);setTimeout(function(){j.parentNode.removeChild(j)},c);if(l<=0&&p.onFontFaceFailed)p.onFontFaceFailed();e.parentNode.removeChild(e)}},20)};b=="asap"?h():b=="onload"?m(h):h();window.TESTCAPTURE&&m(function(){document.getElementById("hf_monitor_div").innerHTML=r;setTimeout(function(){document.getElementById("hf_monitor_div").innerHTML+="<br>Final: "+e.offsetWidth},1E3)})}};this.isFontFaceSupported= function(){var b,c=document,f=c.head||c.getElementsByTagName("head")[0]||docElement,a=c.createElement("style"),c=c.implementation||{hasFeature:function(){return!1}};a.type="text/css";f.insertBefore(a,f.firstChild);b=a.sheet||a.styleSheet;return(c.hasFeature("CSS2","")?function(a){if(!b||!a)return!1;var c=!1;try{b.insertRule(a,0),c=!/unknown/i.test(b.cssRules[0].cssText),b.deleteRule(b.cssRules.length-1)}catch(d){}return c}:function(a){if(!b||!a)return!1;b.cssText=a;return b.cssText.length!==0&&!/unknown/i.test(b.cssText)&& b.cssText.replace(/\r+|\n+/g,"").indexOf(a.split(" ")[0])===0})('@font-face { font-family: "font"; src: "font.ttf"; }')};(function(){})()};
fbg.hideFOUT('asap');
