/* * Copyright (c) 2008 Simo Kinnunen. * Licensed under the MIT license. */ var Cufon=(function(){var J=function(){return J.replace.apply(null,arguments)};var R=J.DOM={ready:(function(){var W=false,Y={loaded:1,complete:1};var V=[],X=function(){if(W){return}W=true;for(var Z;Z=V.shift();Z()){}};if(document.addEventListener){document.addEventListener("DOMContentLoaded",X,false);window.addEventListener("pageshow",X,false)}if(!window.opera&&document.readyState){(function(){Y[document.readyState]?X():setTimeout(arguments.callee,10)})()}if(document.readyState&&document.createStyleSheet){(function(){try{document.body.doScroll("left");X()}catch(Z){setTimeout(arguments.callee,1)}})()}N(window,"load",X);return function(Z){if(!arguments.length){X()}else{W?Z():V.push(Z)}}})()};var K=J.CSS={Size:function(W,V){this.value=parseFloat(W);this.unit=String(W).match(/[a-z%]*$/)[0]||"px";this.convert=function(X){return X/V*this.value};this.convertFrom=function(X){return X/this.value*V};this.toString=function(){return this.value+this.unit}},getStyle:function(W){var V=document.defaultView;if(V&&V.getComputedStyle){return new A(V.getComputedStyle(W,null))}if(W.currentStyle){return new A(W.currentStyle)}return new A(W.style)},ready:(function(){var X=false;var W=[],Y=function(){X=true;for(var a;a=W.shift();a()){}};var V=Object.prototype.propertyIsEnumerable?E("style"):{length:0};var Z=E("link");R.ready(function(){var d=0,c;for(var b=0,a=Z.length;c=Z[b],b=V.length+d){Y()}else{setTimeout(arguments.callee,10)}});return function(a){if(X){a()}else{W.push(a)}}})(),supports:function(X,W){var V=document.createElement("span").style;if(V[X]===undefined){return false}V[X]=W;return V[X]===W},textAlign:function(Y,X,V,W){if(X.get("textAlign")=="right"){if(V>0){Y=" "+Y}}else{if(V400}if(c==500){c=400}for(var d in a){d=parseInt(d,10);if(!Z||dX){X=d}e.push(d)}if(cX){c=X}e.sort(function(g,f){return(Y?(g>c&&f>c)?gf:(gf:gh){h=b}if(a>e){e=a}if(b