var sIFR=new function(){var k,H,I,O;function o(){function a(a){return a.toLocaleUpperCase()}this.normalize=function(a){return a.replace(/\n|\r|\xA0/g,o.SINGLE_WHITESPACE).replace(/\s+/g,o.SINGLE_WHITESPACE)};this.textTransform=function(c,b){switch(c){case "uppercase":return b.toLocaleUpperCase();case "lowercase":return b.toLocaleLowerCase();case "capitalize":return b.replace(/^\w|\s\w/g,a)}return b};this.toHexString=function(a){if("#"!=a.charAt(0)||4!=a.length&&7!=a.length)return a;a=a.substring(1);
return"0x"+(3==a.length?a.replace(/(.)(.)(.)/,"$1$1$2$2$3$3"):a)};this.toJson=function(a,b){var d="";switch(typeof a){case "string":d='"'+b(a)+'"';break;case "number":case "boolean":d=a.toString();break;case "object":var d=[],e;for(e in a)a[e]!=Object.prototype[e]&&d.push('"'+e+'":'+this.toJson(a[e]));d="{"+d.join(",")+"}"}return d};this.convertCssArg=function(a){if(!a)return{};if("object"==typeof a)if(a.constructor==Array)a=a.join("");else return a;for(var b={},a=a.split("}"),d=0;d<a.length;d++){var e=
a[d].match(/([^\s{]+)\s*\{(.+)\s*;?\s*/);if(e&&3==e.length){b[e[1]]||(b[e[1]]={});for(var g=e[2].split(";"),r=0;r<g.length;r++){var i=g[r].match(/\s*([^:\s]+)\s*\:\s*([^;]+)/);i&&3==i.length&&(b[e[1]][i[1]]=i[2].replace(/\s+$/,""))}}}return b};this.extractFromCss=function(a,b,d,e){var g=null;a&&a[b]&&a[b][d]&&(g=a[b][d],e&&delete a[b][d]);return g};this.cssToString=function(a){var b=[],d;for(d in a){var e=a[d];if(e!=Object.prototype[d]){b.push(d,"{");for(var g in e)if(e[g]!=Object.prototype[g]){var r=
e[g];o.UNIT_REMOVAL_PROPERTIES[g]&&(r=parseInt(r,10));b.push(g,":",r,";")}b.push("}")}}return b.join("")};this.escape=function(a){return escape(a).replace(/\+/g,"%2B")};this.encodeVars=function(a){return a.join("&").replace(/%/g,"%25")};this.copyProperties=function(a,b){for(var d in a)void 0===b[d]&&(b[d]=a[d]);return b};this.domain=function(){var a="";try{a=document.domain}catch(b){}return a};this.domainMatches=function(a,b){if("*"==b||b==a)return!0;var d=b.lastIndexOf("*");return-1<d&&(b=b.substr(d+
1),d=a.lastIndexOf(b),-1<d&&d+b.length==a.length)?!0:!1};this.uriEncode=function(a){return encodeURI(decodeURIComponent(a))};this.delay=function(a,b,d){var e=Array.prototype.slice.call(arguments,3);setTimeout(function(){b.apply(d,e)},a)}}function C(a){function c(d,e,g){var c=b.getStyleAsInt(d,e,a.ua.ie);if(0==c)for(var c=d[g],i=3;i<arguments.length;i++)c-=b.getStyleAsInt(d,arguments[i],!0);return c}var b=this;this.getBody=function(){return document.getElementsByTagName("body")[0]||null};this.querySelectorAll=
function(a){return window.parseSelector(a)};this.addClass=function(a,b){if(b)b.className=(""==(b.className||"")?"":b.className+" ")+a};this.removeClass=function(a,b){if(b)b.className=b.className.replace(RegExp("(^|\\s)"+a+"(\\s|$)"),"").replace(/^\s+|(\s)\s+/g,"$1")};this.hasClass=function(a,b){return RegExp("(^|\\s)"+a+"(\\s|$)").test(b.className)};this.hasOneOfClassses=function(a,b){for(var g=0;g<a.length;g++)if(this.hasClass(a[g],b))return!0;return!1};this.ancestorHasClass=function(a,b){for(a=
a.parentNode;a&&1==a.nodeType;){if(this.hasClass(b,a))return!0;a=a.parentNode}return!1};this.create=function(a,b){var g=document.createElementNS?document.createElementNS(C.XHTML_NS,a):document.createElement(a);if(b)g.className=b;return g};this.getComputedStyle=function(a,b){var g;document.defaultView&&document.defaultView.getComputedStyle?g=(g=document.defaultView.getComputedStyle(a,null))?g[b]:null:a.currentStyle&&(g=a.currentStyle[b]);return g||""};this.getStyleAsInt=function(a,b,g){a=this.getComputedStyle(a,
b);return g&&!/px$/.test(a)?0:parseInt(a)||0};this.getWidthFromStyle=function(a){return c(a,"width","offsetWidth","paddingRight","paddingLeft","borderRightWidth","borderLeftWidth")};this.getHeightFromStyle=function(a){return c(a,"height","offsetHeight","paddingTop","paddingBottom","borderTopWidth","borderBottomWidth")};this.getDimensions=function(a){var b=a.offsetWidth,g=a.offsetHeight;if(0==b||0==g)for(var c=0;c<a.childNodes.length;c++){var i=a.childNodes[c];1==i.nodeType&&(b=Math.max(b,i.offsetWidth),
g=Math.max(g,i.offsetHeight))}return{width:b,height:g}};this.getViewport=function(){return{width:window.innerWidth||document.documentElement.clientWidth||this.getBody().clientWidth,height:window.innerHeight||document.documentElement.clientHeight||this.getBody().clientHeight}};this.blurElement=function(a){try{a.blur();return}catch(b){}var g=this.create("input");g.style.width="0px";g.style.height="0px";a.parentNode.appendChild(g);g.focus();g.blur();g.parentNode.removeChild(g)}}function m(){var a=navigator.userAgent.toLowerCase(),
c=(navigator.product||"").toLowerCase(),b=navigator.platform.toLowerCase();this.parseVersion=m.parseVersion;this.macintosh=/^mac/.test(b);this.windows=/^win/.test(b);this.quicktime=!1;this.opera=/opera/.test(a);this.konqueror=/konqueror/.test(c);this.ieSupported=this.ie=!1;this.ieWin=this.ie&&this.windows;this.windows=this.windows&&(!this.ie||this.ieWin);this.ieMac=this.ie&&this.macintosh;this.macintosh=this.macintosh&&(!this.ie||this.ieMac);this.safari=/safari/.test(a);this.khtml=(this.webkit=!this.konqueror&&
/applewebkit/.test(a))||this.konqueror;this.gecko=!this.webkit&&"gecko"==c;this.ieVersion=this.ie&&/.*msie\s(\d\.\d)/.exec(a)?this.parseVersion(RegExp.$1):"0";this.operaVersion=this.opera&&/.*opera(\s|\/)(\d+\.\d+)/.exec(a)?this.parseVersion(RegExp.$2):"0";this.webkitVersion=this.webkit&&/.*applewebkit\/(\d+).*/.exec(a)?this.parseVersion(RegExp.$1):"0";this.geckoVersion=this.gecko&&/.*rv:\s*([^\)]+)\)\s+gecko/.exec(a)?this.parseVersion(RegExp.$1):"0";this.konquerorVersion=this.konqueror&&/.*konqueror\/([\d\.]+).*/.exec(a)?
this.parseVersion(RegExp.$1):"0";this.flashVersion=0;if(this.ieWin){var d,a=!1;try{d=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7")}catch(e){try{d=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6"),this.flashVersion=this.parseVersion("6"),d.AllowScriptAccess="always"}catch(g){a=this.flashVersion==this.parseVersion("6")}if(!a)try{d=new ActiveXObject("ShockwaveFlash.ShockwaveFlash")}catch(r){}}if(!a&&d)this.flashVersion=this.parseVersion((d.GetVariable("$version")||"").replace(/^\D+(\d+)\D+(\d+)\D+(\d+).*/g,
"$1.$2.$3"))}else if(navigator.plugins&&navigator.plugins["Shockwave Flash"]){d=navigator.plugins["Shockwave Flash"].description.replace(/^.*\s+(\S+\s+\S+$)/,"$1");a=d.replace(/^\D*(\d+\.\d+).*$/,"$1");/r/.test(d)?a+=d.replace(/^.*r(\d*).*$/,".$1"):/d/.test(d)&&(a+=".0");this.flashVersion=this.parseVersion(a);d=!1;a=0;for(c=this.flashVersion>=m.MIN_FLASH_VERSION;c&&a<navigator.mimeTypes.length;a++)if(b=navigator.mimeTypes[a],"application/x-shockwave-flash"==b.type&&b.enabledPlugin&&(d=!0,-1<b.enabledPlugin.description.toLowerCase().indexOf("quicktime")))c=
!1,this.quicktime=!0;if(this.quicktime||!d)this.flashVersion=this.parseVersion("0")}this.flash=this.flashVersion>=m.MIN_FLASH_VERSION;this.transparencySupport=this.macintosh||this.windows;this.computedStyleSupport=this.ie||!!document.defaultView.getComputedStyle;this.fixFocus=this.gecko&&this.windows;this.nativeDomLoaded=this.gecko||this.webkit&&this.webkitVersion>=this.parseVersion("525")||this.konqueror&&this.konquerorMajor>this.parseVersion("03")||this.opera;this.mustCheckStyle=this.khtml||this.opera;
this.forcePageLoad=this.webkit&&this.webkitVersion<this.parseVersion("523");this.properDocument="object"==typeof document.location;this.supported=this.flash&&this.properDocument&&(!this.ie||this.ieSupported)&&this.computedStyleSupport&&(!this.opera||this.operaVersion>=this.parseVersion("9.50"))&&(!this.webkit||this.webkitVersion>=this.parseVersion("412"))&&(!this.gecko||this.geckoVersion>=this.parseVersion("1.8.0.12"))&&!this.konqueror}function S(a,c,b,d,e){this.sIFR=a;this.id=c;this.vars=b;this.movie=
null;this.__forceWidth=d;this.__events=e;this.__resizing=0}function D(){if(0==f.domains.length)return!0;for(var a=j.domain(),c=0;c<f.domains.length;c++)if(j.domainMatches(a,f.domains[c]))return!0;return!1}function L(a,c){for(var b=0;b<c.length;b+=2)if(a<=c[b])return c[b+1];return c[c.length-1]||1}function h(){var a=h.viewport,c=l.getViewport();if(!a||!(c.width==a.width&&c.height==a.height))if(h.viewport=c,0!=f.replacements.length)h.timer&&clearTimeout(h.timer),h.timer=setTimeout(function(){delete h.timer;
for(var a=0;a<f.replacements.length;a++)f.replacements[a].resize()},200)}var f=this;H="sIFR-flash";I="sIFR-fixfocus";k="sIFR-dummy";O=void 0;O=["sIFR-replaced","sIFR-ignore","sIFR-alternate"];this.MIN_FONT_SIZE=6;this.MAX_FONT_SIZE=126;this.FLASH_PADDING_BOTTOM=5;this.VERSION="419";this.isActive=!1;this.setPrefetchCookie=this.autoInitialize=this.fixHover=this.isEnabled=!0;this.cookiePath="/";this.domains=[];this.forceWidth=!0;this.fitExactly=!1;this.useDomLoaded=this.forceTextTransform=!0;this.hasFlashClassSet=
this.useStyleCheck=!1;this.repaintOnResize=!0;this.replacements=[];var p=0,z=!1;o.UNIT_REMOVAL_PROPERTIES={leading:!0,"margin-left":!0,"margin-right":!0,"text-indent":!0};o.SINGLE_WHITESPACE=" ";C.XHTML_NS="http://www.w3.org/1999/xhtml";m.parseVersion=function(a){return a.replace(/(^|\D)(\d+)(?=\D|$)/g,function(a,b,d){a=b;for(b=4-d.length;0<=b;b--)a+="0";return a+d})};m.MIN_FLASH_VERSION=m.parseVersion("8");S.prototype={getFlashElement:function(){return document.getElementById(this.id)},getAlternate:function(){return document.getElementById(this.id+
"_alternate")},getAncestor:function(){var a=this.getFlashElement().parentNode;return!this.sIFR.dom.hasClass(I,a)?a:a.parentNode},available:function(){var a=this.getFlashElement();return a&&a.parentNode},call:function(a){var c=this.getFlashElement();return Function.prototype.apply.call(c[a],c,Array.prototype.slice.call(arguments,1))},attempt:function(){if(!this.available())return!1;try{this.call.apply(this,arguments)}catch(a){if(this.sIFR.debug)throw a;return!1}return!0},updateVars:function(a,c){for(var b=
0;b<this.vars.length;b++)if(this.vars[b].split("=")[0]==a){this.vars[b]=a+"="+c;break}b=this.sIFR.util.encodeVars(this.vars);this.movie.injectVars(this.getFlashElement(),b);this.movie.injectVars(this.movie.html,b)},storeSize:function(a,c){this.movie.setSize(a,c);this.updateVars(a,c)},fireEvent:function(a){this.available()&&this.__events[a]&&this.sIFR.util.delay(0,this.__events[a],this,this)},resizeFlashElement:function(a,c,b){if(this.available()){this.__resizing++;var d=this.getFlashElement();d.setAttribute("height",
a);this.updateVars("renderheight",a);this.storeSize("height",a);null!==c&&(d.setAttribute("width",c),this.movie.setSize("width",c));this.__events.onReplacement&&(this.sIFR.util.delay(0,this.__events.onReplacement,this,this),delete this.__events.onReplacement);b?this.sIFR.util.delay(0,function(){this.attempt("scaleMovie");this.__resizing--},this):this.__resizing--}},blurFlashElement:function(){this.available()&&this.sIFR.dom.blurElement(this.getFlashElement())},resetMovie:function(){this.sIFR.util.delay(0,
this.movie.reset,this.movie,this.getFlashElement(),this.getAlternate())},resizeAfterScale:function(){this.available()&&0==this.__resizing&&this.sIFR.util.delay(0,this.resize,this)},resize:function(){if(this.available()){this.__resizing++;var a=this.getFlashElement(),c=a.offsetWidth;if(0!=c){var b=a.getAttribute("width"),d=a.getAttribute("height"),e=this.getAncestor(),g=this.sIFR.dom.getHeightFromStyle(e);a.style.width="1px";a.style.height="1px";e.style.minHeight=g+"px";for(var r=this.getAlternate().childNodes,
g=[],i=0;i<r.length;i++){var f=r[i].cloneNode(!0);g.push(f);e.appendChild(f)}r=this.sIFR.dom.getWidthFromStyle(e);for(i=0;i<g.length;i++)e.removeChild(g[i]);a.style.width=a.style.height=e.style.minHeight="";a.setAttribute("width",this.__forceWidth?r:b);a.setAttribute("height",d);if(sIFR.ua.ie)a.style.display="none",a.style.display="";r!=c&&(this.__forceWidth&&this.storeSize("width",r),this.attempt("resize",r));this.__resizing--}}},replaceText:function(a,c){var b=this.sIFR.util.escape(a);if(!this.attempt("replaceText",
b))return!1;this.updateVars("content",b);b=this.getAlternate();if(c){for(;b.firstChild;)b.removeChild(b.firstChild);for(var d=0;d<c.length;d++)b.appendChild(c[d])}else try{b.innerHTML=a}catch(e){}return!0},changeCSS:function(a){a=this.sIFR.util.escape(this.sIFR.util.cssToString(this.sIFR.util.convertCssArg(a)));this.updateVars("css",a);return this.attempt("changeCSS",a)},remove:function(){this.movie&&this.available()&&this.movie.remove(this.getFlashElement(),this.id)}};var $=new function(){function a(a,
d,e,g,c,i,f,h,j){a=a.dom.create("object",H);i=["type","application/x-shockwave-flash","id",c,"name",c,"data",i,"width",f,"height",h];for(c=0;c<i.length;c+=2)a.setAttribute(i[c],i[c+1]);i=a;g&&(i=l.create("div",I),i.appendChild(a));for(c=0;c<j.length;c+=2)"name"!=j[c]&&(g=l.create("param"),g.setAttribute("name",j[c]),g.setAttribute("value",j[c+1]),a.appendChild(g));for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(i);this.html=i.cloneNode(!0)}function c(a,d,e,g,c,i,f,h,j){this.dom=a.dom;
this.broken=d;this.html='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" id="'+c+'" width="'+f+'" height="'+h+'" class="'+H+'"><param name="movie" value="'+i+'"></param></object>';a="";for(d=0;d<j.length;d+=2)a+='<param name="'+j[d]+'" value="'+j[d+1]+'"></param>';this.html=this.html.replace(/(<\/object>)/,a+"$1");e.innerHTML=this.html;this.broken.register(e.firstChild)}this.create=function(b,d,e,g,f,i,h,j,l,p,z){return new (b.ua.ie?c:a)(b,d,e,g,f,i,h,j,["flashvars",l,"wmode",p,"bgcolor",
z,"allowScriptAccess","always","quality","best"])};a.prototype={reset:function(a){a.parentNode.replaceChild(this.html.cloneNode(!0),a)},remove:function(a){a.parentNode.removeChild(a)},setSize:function(a,d){this.html.setAttribute(a,d)},injectVars:function(a,d){for(var e=a.getElementsByTagName("param"),c=0;c<e.length;c++)if("flashvars"==e[c].getAttribute("name")){e[c].setAttribute("value",d);break}}};c.prototype={reset:function(a,d){var d=d.cloneNode(!0),e=a.parentNode;e.innerHTML=this.html;this.broken.register(e.firstChild);
e.appendChild(d)},remove:function(a,d){this.broken.cleanup(d)},setSize:function(a,d){this.html=this.html.replace("height"==a?/(height)="\d+"/:/(width)="\d+"/,'$1="'+d+'"')},injectVars:function(a,d){if(a==this.html)this.html=this.html.replace(/(flashvars(=|\"\svalue=)\")[^\"]+/,"$1"+d)}}};this.errors=new function(){}(f);var j=this.util=new o(f),l=this.dom=new C(f),t=this.ua=new m(f),u={fragmentIdentifier:new function(a){function c(){document.title=b}this.fix=a.ua.ieWin&&""!=window.location.hash;var b;
this.cache=function(){b=document.title};this.restore=function(){this.fix&&setTimeout(c,0)}}(f),pageLoad:new function(a){function c(){try{(a.ua.ie||"loaded"!=document.readyState&&"complete"!=document.readyState)&&document.documentElement.doScroll("left")}catch(e){return setTimeout(c,10)}b()}function b(){a.useStyleCheck?(h=a.dom.create("div",k),a.dom.getBody().appendChild(h),d()):a.ua.mustCheckStyle||e(null,!0)}function d(){"42px"==a.dom.getComputedStyle(h,"marginLeft")?(h&&h.parentNode&&h.parentNode.removeChild(h),
h=null,e(null,!0)):setTimeout(d,10)}function e(b,d){a.initialize(d);b&&"load"==b.type&&(document.removeEventListener&&document.removeEventListener("DOMContentLoaded",e,!1),window.removeEventListener&&window.removeEventListener("load",e,!1))}function g(){a.prepareClearReferences();"interactive"==document.readyState&&(document.attachEvent("onstop",f),setTimeout(function(){document.detachEvent("onstop",f)},0))}function f(){document.detachEvent("onstop",f);i()}function i(){a.clearReferences()}var h=null;
this.attach=function(){window.addEventListener?window.addEventListener("load",e,!1):window.attachEvent("onload",e);if(a.useDomLoaded&&!(a.ua.forcePageLoad||a.ua.ie&&window.top!=window))a.ua.nativeDomLoaded?document.addEventListener("DOMContentLoaded",b,!1):(a.ua.ie||a.ua.khtml)&&c()};this.attachUnload=function(){a.ua.ie&&(window.attachEvent("onbeforeunload",g),window.attachEvent("onunload",i))}}(f),prefetch:new function(a){var c=!1;this.fetchMovies=function(b){if(!a.setPrefetchCookie||!/;?sifrFetch=true;?/.test(document.cookie)){try{c=
!0;for(var d=0;d<b.length;d++)document.write('<script defer type="sifr/prefetch" src="'+b[d].src+'"><\/script>')}catch(e){if(a.debug)throw e;}if(a.setPrefetchCookie)document.cookie="sifrFetch=true;path="+a.cookiePath}};this.clear=function(){if(c)try{for(var a=document.getElementsByTagName("script"),d=a.length-1;0<=d;d--){var e=a[d];"sifr/prefetch"==e.type&&e.parentNode.removeChild(e)}}catch(g){}}}(f),brokenFlashIE:new function(a){var c=a.ua.ie,b=c&&a.ua.flashVersion<a.ua.parseVersion("9.0.115"),d=
{},e={};this.fixFlash=b;this.register=function(a){if(c){var f=a.getAttribute("id");this.cleanup(f,!1);e[f]=a;delete d[f];b&&(window[f]=a)}};this.reset=function(){if(!c)return!1;for(var b=0;b<a.replacements.length;b++){var f=a.replacements[b],i=e[f.id];if(!d[f.id]&&(!i.parentNode||11==i.parentNode.nodeType))f.resetMovie(),d[f.id]=!0}return!0};this.cleanup=function(a,d){var c=e[a];if(c){for(var f in c)"function"==typeof c[f]&&(c[f]=null);e[a]=null;b&&(window[a]=null);if(c.parentNode)d&&1==c.parentNode.nodeType?
(f=document.createElement("div"),f.style.width=c.offsetWidth+"px",f.style.height=c.offsetHeight+"px",c.parentNode.replaceChild(f,c)):c.parentNode.removeChild(c)}};this.prepareClearReferences=function(){b&&(__flash_unloadHandler=function(){},__flash_savedUnloadHandler=function(){})};this.clearReferences=function(){if(b)for(var a=document.getElementsByTagName("object"),c=a.length-1;0<=c;c--)e[a[c].getAttribute("id")]=a[c];for(var d in e)Object.prototype[d]!=e[d]&&this.cleanup(d,!0)}}(f)};this.__resetBrokenMovies=
u.brokenFlashIE.reset;var T={kwargs:[],replaceAll:function(a){for(var c=0;c<this.kwargs.length;c++)f.replace(this.kwargs[c]);if(!a)this.kwargs=[]}};this.activate=function(){var a;if(!(a=!t.supported))if(!(a=!this.isEnabled))if(!(a=this.isActive))if(!(a=!D()))"file:"==document.location.protocol?(f.debug&&f.errors.fire("isFile"),a=!0):a=!1;if(!a)u.prefetch.fetchMovies(arguments),this.isActive=!0,this.setFlashClass(),u.fragmentIdentifier.cache(),u.pageLoad.attachUnload(),this.autoInitialize&&u.pageLoad.attach()};
this.setFlashClass=function(){if(!this.hasFlashClassSet)l.addClass("sIFR-active",l.getBody()||document.documentElement),this.hasFlashClassSet=!0};this.removeFlashClass=function(){if(this.hasFlashClassSet)l.removeClass("sIFR-active",l.getBody()),l.removeClass("sIFR-active",document.documentElement),this.hasFlashClassSet=!1};this.initialize=function(a){this.isActive&&this.isEnabled&&(z?a||T.replaceAll(!1):(z=!0,T.replaceAll(a),f.repaintOnResize&&(window.addEventListener?window.addEventListener("resize",
h,!1):window.attachEvent("onresize",h)),u.prefetch.clear()))};this.replace=function(a,c){var b,d,e,g;if(t.supported){c&&(a=j.copyProperties(a,c));if(!z)return T.kwargs.push(a);if(this.onReplacementStart)this.onReplacementStart(a);var h=a.elements||l.querySelectorAll(a.selector);if(0!=h.length){var i;i=a.src;t.ie&&"/"==i.charAt(0)&&(i=window.location.toString().replace(/([^:]+)(:\/?\/?)([^\/]+).*/,"$1$2$3")+i);var k=j.convertCssArg(a.css),x,m=a.filters,o=[];for(x in m)if(m[x]!=Object.prototype[x]){var M=
m[x];x=[x.replace(/filter/i,"")+"Filter"];for(var E in M)M[E]!=Object.prototype[E]&&x.push(E+":"+j.escape(j.toJson(M[E],j.toHexString)));o.push(x.join(","))}x=j.escape(o.join(";"));E=!0===a.forceSingleLine;var m=!0===a.preventWrap&&!E,M=(o=E||!0===(null==a.fitExactly?this.fitExactly:a.fitExactly))||!0===(null==a.forceWidth?this.forceWidth:a.forceWidth),H=a.ratios||[],I=!0===a.pixelFont,C=parseInt(a.tuneHeight)||0,D=!!a.onRelease||!!a.onRollOver||!!a.onRollOut;o&&j.extractFromCss(k,".sIFR-root","text-align",
!0);var P=j.extractFromCss(k,".sIFR-root","font-size",!0)||"0",V=j.extractFromCss(k,".sIFR-root","background-color",!0)||"#FFFFFF",aa=j.extractFromCss(k,".sIFR-root","kerning",!0)||"",Q=j.extractFromCss(k,".sIFR-root","opacity",!0)||"100",ba=j.extractFromCss(k,".sIFR-root","cursor",!0)||"default",W=parseInt(j.extractFromCss(k,".sIFR-root","leading"))||0,ca=a.gridFitType||"right"==j.extractFromCss(k,".sIFR-root","text-align")?"subpixel":"pixel",da=!1===this.forceTextTransform?"none":j.extractFromCss(k,
".sIFR-root","text-transform",!0)||"none",P=/^\d+(px)?$/.test(P)?parseInt(P):0,Q=1>parseFloat(Q)?100*parseFloat(Q):Q,X=a.modifyCss?"":j.cssToString(k),J=a.wmode||"";J||(a.transparent?J="transparent":a.opaque&&(J="opaque"));"transparent"==J&&(t.transparencySupport?V="transparent":J="opaque");for(var U=0;U<h.length;U++){var w=h[U];if(!l.hasOneOfClassses(O,w)&&!l.ancestorHasClass(w,"sIFR-alternate")){var A=l.getDimensions(w),v=A.height,A=A.width;e=l.getComputedStyle(w,"display");if(v&&A&&e&&"none"!=
e){var A=l.getWidthFromStyle(w),n;if(P)n=P,g=1;else{e=w;var q=n=void 0;if(t.ie){if(t.ie)if(n=l.getComputedStyle(e,"fontSize"),0<n.indexOf("px"))n=parseInt(n);else{g=e.innerHTML;e.style.visibility="visible";e.style.overflow="visible";e.style.position="static";e.style.zoom="normal";e.style.writingMode="lr-tb";e.style.width=e.style.height="auto";e.style.maxWidth=e.style.maxHeight=e.style.styleFloat="none";q=e;(v=e.currentStyle.hasLayout)?(e.innerHTML='<div class="sIFR-layout">X<br>X<br>X</div>',q=e.firstChild):
e.innerHTML="X<br>X<br>X";b=q.getClientRects();n=b[1].bottom-b[1].top;n=Math.ceil(0.8*n);v?(e.innerHTML='<div class="sIFR-layout">'+g+"</div>",q=e.firstChild):e.innerHTML=g;b=q.getClientRects();q=b.length;if(v)e.innerHTML=g;e.style.visibility=e.style.width=e.style.height=e.style.maxWidth=e.style.maxHeight=e.style.overflow=e.style.styleFloat=e.style.position=e.style.zoom=e.style.writingMode=""}}else n=l.getStyleAsInt(e,"lineHeight"),q=Math.floor(l.getStyleAsInt(e,"height")/n);e=n;g=q;n=Math.min(this.MAX_FONT_SIZE,
Math.max(this.MIN_FONT_SIZE,e));I&&(n=Math.max(8,8*Math.round(n/8)));if(isNaN(g)||!isFinite(g)||0==g)g=1;1<g&&W&&Math.round((g-1)*W)}e=l.create("span","sIFR-alternate");v=w.cloneNode(!0);w.parentNode.appendChild(v);q=0;for(b=v.childNodes.length;q<b;q++)e.appendChild(v.childNodes[q].cloneNode(!0));a.modifyContent&&a.modifyContent(v,a.selector);a.modifyCss&&(X=a.modifyCss(k,v,a.selector));b=da;var B=a.uriEncode,B=B||j.uriEncode;d=[];for(var R=[],q=null,N=v.childNodes,Y=!1,F=!1,G=0;G<N.length;){var s=
N[G];if(3==s.nodeType){var K=j.textTransform(b,j.normalize(s.nodeValue)).replace(/</g,"&lt;");Y&&F&&(K=K.replace(/^\s+/,""));R.push(K);Y=/\s$/.test(K);F=!1}if(1==s.nodeType&&!/^(style|script)$/i.test(s.nodeName)){var F=[],K=s.nodeName.toLowerCase(),y=s.className||"";/\s+/.test(y)&&(y=-1<y.indexOf("sIFR-class")?y.match("(\\s|^)sIFR-class-([^\\s$]*)(\\s|$)")[2]:y.match(/^([^\s]+)/)[1]);""!=y&&F.push('class="'+y+'"');if("a"==K){var y=B(s.getAttribute("href")||""),Z=s.getAttribute("target")||"";F.push('href="'+
y+'"','target="'+Z+'"');q||(q={href:y,target:Z})}R.push("<"+K+(0<F.length?" ":"")+F.join(" ")+">");F=!0;if(s.hasChildNodes()){d.push(G);G=0;N=s.childNodes;continue}else/^(br|img)$/i.test(s.nodeName)||R.push("</",s.nodeName.toLowerCase(),">")}if(0<d.length&&!s.nextSibling){do G=d.pop(),N=s.parentNode.parentNode.childNodes,(s=N[G])&&R.push("</",s.nodeName.toLowerCase(),">");while(G==N.length-1&&0<d.length)}G++}b=R.join("").replace(/^\s+|\s+$|\s*(<br>)\s*/g,"$1");d=q||{};v.parentNode.removeChild(v);
a.modifyContentString&&(b=a.modifyContentString(b,a.selector));if(""!=b)v=Math.round(g*n),g=Math.round(g*L(n,H)*n)+this.FLASH_PADDING_BOTTOM+C,q=M?A:"100%",B="sIFR_replacement_"+p++,n=["id="+B,"content="+j.escape(b),"width="+A,"height="+v,"renderheight="+g,"link="+j.escape(d.href||""),"target="+j.escape(d.target||""),"size="+n,"css="+j.escape(X),"cursor="+ba,"tunewidth="+(a.tuneWidth||0),"tuneheight="+C,"offsetleft="+(a.offsetLeft||""),"offsettop="+(a.offsetTop||""),"fitexactly="+o,"preventwrap="+
m,"forcesingleline="+E,"antialiastype="+(a.antiAliasType||""),"thickness="+(a.thickness||""),"sharpness="+(a.sharpness||""),"kerning="+aa,"gridfittype="+ca,"flashfilters="+x,"opacity="+Q,"blendmode="+(a.blendMode||""),"selectable="+(null==a.selectable||""!=J&&!sIFR.ua.macintosh&&sIFR.ua.gecko&&sIFR.ua.geckoVersion>=sIFR.ua.parseVersion("1.9")?"true":!0===a.selectable),"fixhover="+(!0===this.fixHover),"events="+D,"delayrun="+u.brokenFlashIE.fixFlash,"version="+this.VERSION],A=j.encodeVars(n),n=new S(f,
B,n,M,{onReplacement:a.onReplacement,onRollOver:a.onRollOver,onRollOut:a.onRollOut,onRelease:a.onRelease}),n.movie=$.create(sIFR,u.brokenFlashIE,w,t.fixFocus&&a.fixFocus,B,i,q,g,A,J,V),this.replacements.push(n),this.replacements[B]=n,a.selector&&(this.replacements[a.selector]?this.replacements[a.selector].push(n):this.replacements[a.selector]=[n]),e.setAttribute("id",B+"_alternate"),w.appendChild(e),l.addClass("sIFR-replaced",w)}}}u.fragmentIdentifier.restore()}}};this.getReplacementByFlashElement=
function(a){for(var c=0;c<f.replacements.length;c++)if(f.replacements[c].id==a.getAttribute("id"))return f.replacements[c]};this.redraw=function(){for(var a=0;a<f.replacements.length;a++)f.replacements[a].resetMovie()};this.prepareClearReferences=function(){u.brokenFlashIE.prepareClearReferences()};this.clearReferences=function(){u.brokenFlashIE.clearReferences();T=u=null;delete f.replacements}},parseSelector=function(){function k(h,f){for(var f=f||document.documentElement,p=h.split(I),z=[],m=0;m<
p.length;m++){for(var j=[f],l=p[m].replace(O,"$1").replace(o,"$1*$2").replace(C,H).match(S)||[],t=0;t<l.length;){var u=l[t++],D=l[t++],a="";if("("==l[t]){for(;")"!=l[t++]&&t<l.length;)a+=l[t];a=a.slice(0,-1)}j=k.selectors[u]?k.selectors[u](j,D,a):[]}z=z.concat(j)}return z}function H(h){return h.replace(m,"$1 ")}var I=/\s*,\s*/,O=/\s*([\s>+~(),]|^|$)\s*/g,o=/([\s>+~,]|[^(]\+|^)([#.:@])/g,C=/(^|\))[^\s>+~]/g,m=/(\)|^)/,S=/[\s#.:>+~()@]|[^\s#.:>+~()@]+/g,D={toArray:function(h){for(var f=[],p=0;p<h.length;p++)f.push(h[p]);
return f}},L={isTag:function(h,f){return"*"==f||f.toLowerCase()==h.nodeName.toLowerCase()},previousSiblingElement:function(h){do h=h.previousSibling;while(h&&1!=h.nodeType);return h},nextSiblingElement:function(h){do h=h.nextSibling;while(h&&1!=h.nodeType);return h},hasClass:function(h,f){return(f.className||"").match("(^|\\s)"+h+"(\\s|$)")},getByTag:function(h,f){return f.getElementsByTagName(h)}};k.selectors={"#":function(h,f){for(var p=0;p<h.length;p++)if(h[p].getAttribute("id")==f)return[h[p]];
return[]}," ":function(h,f){for(var p=[],k=0;k<h.length;k++)p=p.concat(D.toArray(L.getByTag(f,h[k])));return p},">":function(h,f){for(var k=[],m=0,o;m<h.length;m++){o=h[m];for(var j=0,l;j<o.childNodes.length;j++)l=o.childNodes[j],1==l.nodeType&&L.isTag(l,f)&&k.push(l)}return k},".":function(h,f){for(var k=[],m=0,o;m<h.length;m++)o=h[m],L.hasClass([f],o)&&k.push(o);return k},":":function(h,f,m){return k.pseudoClasses[f]?k.pseudoClasses[f](h,m):[]}};k.pseudoClasses={};k.util=D;k.dom=L;return k}();

