/*=:project
    scalable Inman Flash Replacement (sIFR) version 3, revision 282

  =:file
    Copyright: 2006 Mark Wubben.
    Author: Mark Wubben, <http://novemberborn.net/>

  =:history
    * IFR: Shaun Inman
    * sIFR 1: Mike Davidson, Shaun Inman and Tomas Jogin
    * sIFR 2: Mike Davidson, Shaun Inman, Tomas Jogin and Mark Wubben

  =:license
    This software is licensed and provided under the CC-GNU LGPL.
    See <http://creativecommons.org/licenses/LGPL/2.1/>    
*/

var parseSelector=(function(){var _1=/\s*,\s*/;var _2=/\s*([\s>+~(),]|^|$)\s*/g;var _3=/([\s>+~,]|[^(]\+|^)([#.:@])/g;var _4=/^[^\s>+~]/;var _5=/[\s#.:>+~()@]|[^\s#.:>+~()@]+/g;function parseSelector(_6,_7){_7=_7||document.documentElement;var _8=_6.split(_1),_9=[];for(var i=0;i<_8.length;i++){var _b=[_7],_c=toStream(_8[i]);for(var j=0;j<_c.length;){var _e=_c[j++],_f=_c[j++],_10="";if(_c[j]=="("){while(_c[j++]!=")"&&j<_c.length){_10+=_c[j]}_10=_10.slice(0,-1)}_b=select(_b,_e,_f,_10)}_9=_9.concat(_b)}return _9}function toStream(_11){var _12=_11.replace(_2,"$1").replace(_3,"$1*$2");if(_4.test(_12)){_12=" "+_12}return _12.match(_5)||[]}function select(_13,_14,_15,_16){return (_17[_14])?_17[_14](_13,_15,_16):[]}var _18={toArray:function(_19){var a=[];for(var i=0;i<_19.length;i++){a.push(_19[i])}return a}};var dom={isTag:function(_1d,tag){return (tag=="*")||(tag.toLowerCase()==_1d.nodeName.toLowerCase())},previousSiblingElement:function(_1f){do{_1f=_1f.previousSibling}while(_1f&&_1f.nodeType!=1);return _1f},nextSiblingElement:function(_20){do{_20=_20.nextSibling}while(_20&&_20.nodeType!=1);return _20},hasClass:function(_21,_22){return (_22.className||"").match("(^|\\s)"+_21+"(\\s|$)")},getByTag:function(tag,_24){return _24.getElementsByTagName(tag)}};var _17={"#":function(_25,_26){for(var i=0;i<_25.length;i++){if(_25[i].getAttribute("id")==_26){return [_25[i]]}}return []}," ":function(_28,_29){var _2a=[];for(var i=0;i<_28.length;i++){_2a=_2a.concat(_18.toArray(dom.getByTag(_29,_28[i])))}return _2a},">":function(_2c,_2d){var _2e=[];for(var i=0,_30;i<_2c.length;i++){_30=_2c[i];for(var j=0,_32;j<_30.childNodes.length;j++){_32=_30.childNodes[j];if(_32.nodeType==1&&dom.isTag(_32,_2d)){_2e.push(_32)}}}return _2e},".":function(_33,_34){var _35=[];for(var i=0,_37;i<_33.length;i++){_37=_33[i];if(dom.hasClass([_34],_37)){_35.push(_37)}}return _35},":":function(_38,_39,_3a){return (pseudoClasses[_39])?pseudoClasses[_39](_38,_3a):[]}};parseSelector.selectors=_17;parseSelector.pseudoClasses={};parseSelector.util=_18;parseSelector.dom=dom;return parseSelector})();
var sIFR=new function(){var _3b=this;var _3c="sIFR-active";var _3d="sIFR-replaced";var _3e="sIFR-replacing";var _3f="sIFR-flash";var _40="sIFR-ignore";var _41="sIFR-alternate";var _42="sIFR-class";var _43="sIFR-layout";var _44=6;var _45=126;var _46=8;var _47="SIFR-PREFETCHED";var _48=[];var _49=5;this.isActive=false;this.isEnabled=true;this.hideElements=true;this.preserveSingleWhitespace=false;this.fixWrap=true;this.fixHover=true;this.registerEvents=true;this.setPrefetchCookie=true;this.cookiePath="/";this.domains=[];this.fromLocal=false;this.forceClear=false;this.forceWidth=false;this.fitExactly=false;this.forceTextTransform=true;this.useDomContentLoaded=true;this.hasFlashClassSet=false;this.delayCSS=false;this.callbacks=[];var _4a=0;var _4b=false,_4c=false;var dom=new function(){var _4e="http://www.w3.org/1999/xhtml";this.getBody=function(){var _4f=document.getElementsByTagName("body");if(_4f.length==1){return _4f[0]}return null};this.addClass=function(_50,_51){if(_51){_51.className=((_51.className||"")==""?"":_51.className+" ")+_50}};this.removeClass=function(_52,_53){if(_53){_53.className=_53.className.replace(new RegExp("(^|\\s)"+_52+"(\\s|$)"),"").replace(/^\s+|(\s)\s+/g,"$1")}};this.hasClass=function(_54,_55){return new RegExp("(^|\\s)"+_54+"(\\s|$)").test(_55.className)};this.hasOneOfClassses=function(_56,_57){for(var i=0;i<_56.length;i++){if(this.hasClass(_56[i],_57)){return true}}return false};this.create=function(_59){if(document.createElementNS){return document.createElementNS(_4e,_59)}return document.createElement(_59)};this.setInnerHtml=function(_5a,_5b){if(ua.innerHtmlSupport){_5a.innerHTML=_5b}else{if(ua.xhtmlSupport){_5b=["<root xmlns=\"",_4e,"\">",_5b,"</root>"].join("");var xml=(new DOMParser()).parseFromString(_5b,"text/xml");xml=document.importNode(xml.documentElement,true);while(_5a.firstChild){_5a.removeChild(_5a.firstChild)}while(xml.firstChild){_5a.appendChild(xml.firstChild)}}}};this.nodeFromHtml=function(_5d){var _5e=this.create("div");_5e.innerHTML=_5d;return _5e.firstChild};this.getComputedStyle=function(_5f,_60){var _61;if(document.defaultView&&document.defaultView.getComputedStyle){_61=document.defaultView.getComputedStyle(_5f,null)[_60]}else{if(_5f.currentStyle){_61=_5f.currentStyle[_60]}}return _61||""};this.getStyleAsInt=function(_62,_63,_64){var _65=this.getComputedStyle(_62,_63);if(_64&&!/px$/.test(_65)){return 0}_65=parseInt(_65);return isNaN(_65)?0:_65};this.getWidthFromStyle=function(_66){var _67=this.getStyleAsInt(_66,"width",ua.ie);if(_67==0){var _68=this.getStyleAsInt(_66,"paddingRight",true);var _69=this.getStyleAsInt(_66,"paddingLeft",true);var _6a=this.getStyleAsInt(_66,"borderRightWidth",true);var _6b=this.getStyleAsInt(_66,"borderLeftWidth",true);_67=_66.offsetWidth-_69-_68-_6b-_6a}return _67};this.getZoom=function(){return _6c.zoom.getLatest()}};this.dom=dom;var ua=new function(){var ua=navigator.userAgent.toLowerCase();var _6f=(navigator.product||"").toLowerCase();this.macintosh=ua.indexOf("mac")>-1;this.windows=ua.indexOf("windows")>-1;this.quicktime=false;this.opera=ua.indexOf("opera")>-1;this.konqueror=_6f.indexOf("konqueror")>-1;this.ie=false/*@cc_on || true @*/;this.ieSupported=this.ie&&!/ppc|smartphone|iemobile|msie\s5\.5/.test(ua)/*@cc_on && @_jscript_version >= 5.5 @*/;this.ieWin=this.ie&&this.windows/*@cc_on && @_jscript_version >= 5.1 @*/;this.windows=this.windows&&(!this.ie||this.ieWin);this.ieMac=this.ie&&this.macintosh/*@cc_on && @_jscript_version < 5.1 @*/;this.macintosh=this.macintosh&&(!this.ie||this.ieMac);this.safari=ua.indexOf("safari")>-1;this.webkit=ua.indexOf("applewebkit")>-1&&!this.konqueror;this.khtml=this.webkit||this.konqueror;this.gecko=!this.webkit&&_6f=="gecko";this.operaVersion=this.opera&&/.*opera(\s|\/)(\d+\.\d+)/.exec(ua)?parseInt(RegExp.$2):0;this.webkitVersion=this.webkit&&/.*applewebkit\/(\d+).*/.exec(ua)?parseInt(RegExp.$1):0;this.geckoBuildDate=this.gecko&&/.*gecko\/(\d{8}).*/.exec(ua)?parseInt(RegExp.$1):0;this.konquerorVersion=this.konqueror&&/.*konqueror\/(\d\.\d).*/.exec(ua)?parseInt(RegExp.$1):0;this.flashVersion=0;if(this.ieWin){var axo;var _71=false;try{axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7")}catch(e){try{axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");this.flashVersion=6;axo.AllowScriptAccess="always"}catch(e){_71=this.flashVersion==6}if(!_71){try{axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash")}catch(e){}}}if(!_71&&axo){this.flashVersion=parseFloat(/([\d,?]+)/.exec(axo.GetVariable("$version"))[1].replace(/,/g,"."))}}else{if(navigator.plugins&&navigator.plugins["Shockwave Flash"]){var _72=navigator.plugins["Shockwave Flash"];this.flashVersion=parseFloat(/(\d+\.?\d*)/.exec(_72.description)[1]);var i=0;while(this.flashVersion>=_46&&i<navigator.mimeTypes.length){var _74=navigator.mimeTypes[i];if(_74.type=="application/x-shockwave-flash"&&_74.enabledPlugin.description.toLowerCase().indexOf("quicktime")>-1){this.flashVersion=0;this.quicktime=true}i++}}}this.flash=this.flashVersion>=_46;this.transparencySupport=this.macintosh||this.windows;this.computedStyleSupport=this.ie||document.defaultView&&document.defaultView.getComputedStyle&&(!this.gecko||this.geckoBuildDate>=20030624);this.css=true;if(this.computedStyleSupport){try{var _75=document.getElementsByTagName("head")[0];_75.style.backgroundColor="#FF0000";var _76=dom.getComputedStyle(_75,"backgroundColor");this.css=!_76||/\#F{2}0{4}|rgb\(255,\s?0,\s?0\)/i.test(_76);_75.style.backgroundColor="";_75=null}catch(e){}}this.xhtmlSupport=!!window.DOMParser&&!!document.importNode;try{var n=dom.create("span");if(!this.ieMac){n.innerHTML="x"}this.innerHtmlSupport=n.innerHTML=="x"}catch(e){this.innerHtmlSupport=false}this.zoomSupport=!!(this.opera&&document.documentElement);this.geckoXml=this.gecko&&(document.contentType||"").indexOf("xml")>-1;this.requiresPrefetch=this.ieWin||this.khtml;this.verifiedKonqueror=false;this.supported=this.flash&&this.css&&(!this.ie||this.ieSupported)&&(!this.opera||this.operaVersion>=8)&&(!this.webkit||this.webkitVersion>=412)&&(!this.konqueror||this.konquerorVersion>3.5)&&this.computedStyleSupport&&(this.innerHtmlSupport||!this.khtml&&this.xhtmlSupport)&&(!this.gecko||this.geckoBuildDate>20040804)};this.ua=ua;var _78=new function(){var _79={leading:true,"margin-left":true,"margin-right":true,"text-indent":true};var _7a=" ";function capitalize($){return $.toUpperCase()}this.normalize=function(str){if(_3b.preserveSingleWhitespace){return str.replace(/\s/g,_7a)}return str.replace(/(\s)\s+/g,"$1").replace(/\xA0/,_7a)};this.textTransform=function(_7d,str){switch(_7d){case "uppercase":str=str.toUpperCase();break;case "lowercase":str=str.toLowerCase();break;case "capitalize":var _7f=str;str=str.replace(/^\w|\s\w/g,capitalize);if(str.indexOf("function capitalize")!=-1){var _80=_7f.replace(/(^|\s)(\w)/g,"$1$1$2$2").split(/^\w|\s\w/g);str="";for(var i=0;i<_80.length;i++){str+=_80[i].charAt(0).toUpperCase()+_80[i].substring(1)}}break}return str};this.toHexString=function(str){if(typeof (str)!="string"||!str.charAt(0)=="#"||str.length!=4&&str.length!=7){return str}str=str.replace(/#/,"");if(str.length==3){str=str.replace(/(.)(.)(.)/,"$1$1$2$2$3$3")}return "0x"+str};this.toJson=function(obj){var _84="";switch(typeof (obj)){case "string":_84="\""+obj+"\"";break;case "number":case "boolean":_84=obj.toString();break;case "object":_84=[];for(var _85 in obj){if(obj[_85]==Object.prototype[_85]){continue}_84.push("\""+_85+"\":"+_78.toJson(obj[_85]))}_84="{"+_84.join(",")+"}";break}return _84};this.convertCssArg=function(arg){if(!arg){return {}}if(typeof (arg)=="object"){if(arg.constructor==Array){arg=arg.join("")}else{return arg}}var obj={};var _88=arg.split("}");for(var i=0;i<_88.length;i++){var $=_88[i].match(/([^\s{]+)\s*\{(.+)\s*;?\s*/);if(!$||$.length!=3){continue}if(!obj[$[1]]){obj[$[1]]={}}var _8b=$[2].split(";");for(var j=0;j<_8b.length;j++){var $2=_8b[j].match(/\s*([^:\s]+)\s*\:\s*([^\s;]+)/);if(!$2||$2.length!=3){continue}obj[$[1]][$2[1]]=$2[2]}}return obj};this.extractFromCss=function(css,_8f,_90,_91){var _92=null;if(css&&css[_8f]&&css[_8f][_90]){_92=css[_8f][_90];if(_91){delete css[_8f][_90]}}return _92};this.cssToString=function(arg){var css=[];for(var _95 in arg){var _96=arg[_95];if(_96==Object.prototype[_95]){continue}css.push(_95,"{");for(var _97 in _96){if(_96[_97]==Object.prototype[_97]){continue}var _98=_96[_97];if(_79[_97]){_98=parseInt(_98,10)}css.push(_97,":",_98,";")}css.push("}")}return css.join("")};this.bind=function(_99,_9a){return function(){_99[_9a].apply(_99,arguments)}};this.escape=function(str){return escape(str).replace(/\+/,"%2B")}};this.util=_78;var _6c={};_6c.fragmentIdentifier=new function(){this.fix=true;var _9c;this.cache=function(){_9c=document.title};function doFix(){document.title=_9c}this.restore=function(){if(this.fix){setTimeout(doFix,0)}}};_6c.synchronizer=new function(){this.isBlocked=false;this.block=function(){this.isBlocked=true};this.unblock=function(){this.isBlocked=false;_9d.replaceAll()}};_6c.zoom=new function(){var _9e=100;this.getLatest=function(){return _9e};if(ua.zoomSupport&&ua.opera){var _9f=document.createElement("div");_9f.style.position="fixed";_9f.style.left="-65536px";_9f.style.top="0";_9f.style.height="100%";_9f.style.width="1px";_9f.style.zIndex="-32";document.documentElement.appendChild(_9f);function updateZoom(){if(!_9f){return}var _a0=window.innerHeight/_9f.offsetHeight;var _a1=Math.round(_a0*100)%10;if(_a1>5){_a0=Math.round(_a0*100)+10-_a1}else{_a0=Math.round(_a0*100)-_a1}_9e=isNaN(_a0)?100:_a0;_6c.synchronizer.unblock();document.documentElement.removeChild(_9f);_9f=null}_6c.synchronizer.block();setTimeout(updateZoom,54)}};this.hacks=_6c;this.errors={};var _a2={kwargs:[],replaceAll:function(_a3){for(var i=0;i<this.kwargs.length;i++){_3b.replace(this.kwargs[i])}if(!_a3){this.kwargs=[]}}};var _9d={kwargs:[],replaceAll:_a2.replaceAll};function isValidDomain(){if(_3b.domains.length==0){return true}var _a5="";try{_a5=document.domain}catch(e){}for(var i=0;i<_3b.domains.length;i++){var _a7=_3b.domains[i];if(_a7=="*"||_a7==_a5){return true}var _a8=_a7.lastIndexOf("*");if(_a8>-1){_a7=_a7.substr(_a8+1);var _a9=_a5.lastIndexOf(_a7);if(_a9>-1&&(_a9+_a7.length)==_a5.length){return true}}}return false}function isFile(){if(!_3b.fromLocal&&document.location.protocol=="file:"){if(_3b.debug){throw new Error(_3b.errors.isFile)}return true}return false}this.activate=function(){if(!ua.supported||!this.isEnabled||this.isActive||!isValidDomain()||isFile()){return}if(arguments.length>0){this.prefetch.apply(this,arguments)}this.isActive=true;if(this.hideElements){this.setFlashClass()}if(ua.ieWin&&_6c.fragmentIdentifier.fix&&window.location.hash!=""){_6c.fragmentIdentifier.cache()}else{_6c.fragmentIdentifier.fix=false}if(!this.registerEvents){return}function handler(evt,_ab){_3b.initialize(_ab);if(evt&&evt.type=="load"){if(document.removeEventListener){document.removeEventListener("DOMContentLoaded",handler,false)}if(window.removeEventListener){window.removeEventListener("load",handler,false)}}}function resize(){if(resize.timer){clearTimeout(resize.timer)}resize.timer=setTimeout(function(){delete resize.timer;for(var i=0;i<_3b.callbacks.length;i++){_3b.callbacks[i].resize()}},200)}if(window.addEventListener){if(_3b.useDomContentLoaded&&ua.gecko){document.addEventListener("DOMContentLoaded",handler,false)}window.addEventListener("load",handler,false);window.addEventListener("resize",resize,false)}else{if(ua.ieWin){if(_3b.useDomContentLoaded){document.write("<scr"+"ipt id=__sifr_ie_onload defer src=//:></script>");document.getElementById("__sifr_ie_onload").onreadystatechange=function(){if(this.readyState=="complete"){handler(null,true);this.removeNode()}}}window.attachEvent("onload",handler);window.attachEvent("onresize",resize)}}};this.setFlashClass=function(){if(this.hasFlashClassSet){return}dom.addClass(_3c,dom.getBody()||document.documentElement);this.hasFlashClassSet=true};this.removeFlashClass=function(){if(!this.hasFlashClassSet){return}dom.removeClass(_3c,dom.getBody());dom.removeClass(_3c,document.documentElement);this.hasFlashClassSet=false};this.initialize=function(_ad){if(!this.isActive||!this.isEnabled){return}if(_4c){if(!_ad){_a2.replaceAll(false)}return}_4c=true;_a2.replaceAll(_ad);clearPrefetch()};function getSource(src){if(typeof (src)!="string"){if(src.src){src=src.src}if(typeof (src)!="string"){var _af=[];for(var _b0 in src){if(src[_b0]!=Object.prototype[_b0]){_af.push(_b0)}}_af.sort().reverse();var _b1="";var i=-1;while(!_b1&&++i<_af.length){if(parseFloat(_af[i])<=ua.flashVersion){_b1=src[_af[i]]}}src=_b1}}if(!src&&_3b.debug){throw new Error(_3b.errors.getSource)}if(ua.ie&&src.charAt(0)=="/"){src=window.location.toString().replace(/([^:]+)(:\/?\/?)([^\/]+).*/,"$1$2$3")+src}return src}this.prefetch=function(){if((!ua.requiresPrefetch&&!this.isActive)||!ua.supported||!this.isEnabled||!isValidDomain()){return}if(this.setPrefetchCookie&&new RegExp(";?"+_47+"=true;?").test(document.cookie)){return}try{_4b=true;if(ua.ieWin){prefetchIexplore(arguments)}else{prefetchLight(arguments)}if(this.setPrefetchCookie){document.cookie=_47+"=true;path="+this.cookiePath}}catch(e){if(_3b.debug){throw e}}};function prefetchIexplore(_b3){for(var i=0;i<_b3.length;i++){document.write("<script defer type=\"sifr/prefetch\" src=\""+getSource(_b3[i])+"\"></script>")}}function prefetchLight(_b5){for(var i=0;i<_b5.length;i++){new Image().src=getSource(_b5[i])}}function clearPrefetch(){if(!ua.ieWin||!_4b){return}try{var _b7=document.getElementsByTagName("script");for(var i=_b7.length-1;i>=0;i--){var _b9=_b7[i];if(_b9.type=="sifr/prefetch"){_b9.parentNode.removeChild(_b9)}}}catch(e){}}function getRatio(_ba,_bb){for(var i=0;i<_bb.length;i+=2){if(_ba<=_bb[i]){return _bb[i+1]}}return _bb[_bb.length-1]||1}function getFilters(obj){var _be=[];for(var _bf in obj){if(obj[_bf]==Object.prototype[_bf]){continue}var _c0=obj[_bf];_bf=[_bf.replace(/filter/i,"")+"Filter"];for(var _c1 in _c0){if(_c0[_c1]==Object.prototype[_c1]){continue}_bf.push(_c1+":"+_78.escape(_78.toJson(_78.toHexString(_c0[_c1]))))}_be.push(_bf.join(","))}return _78.escape(_be.join(";"))}function calculate(_c2){var _c3,_c4;if(!ua.ie){_c3=dom.getStyleAsInt(_c2,"lineHeight");_c4=Math.floor(dom.getStyleAsInt(_c2,"height")/_c3)}else{if(ua.ie){var _c5=_c2.innerHTML;_c2.style.visibility="visible";_c2.style.overflow="visible";_c2.style.position="static";_c2.style.zoom="normal";_c2.style.writingMode="lr-tb";_c2.style.width=_c2.style.height="auto";_c2.style.maxWidth=_c2.style.maxHeight=_c2.style.styleFloat="none";var _c6=_c2;var _c7=_c2.currentStyle.hasLayout;if(_c7){dom.setInnerHtml(_c2,"<div class=\""+_43+"\">X<br />X<br />X</div>");_c6=_c2.firstChild}else{dom.setInnerHtml(_c2,"X<br />X<br />X")}var _c8=_c6.getClientRects();_c3=_c8[1].bottom-_c8[1].top;_c3=Math.ceil(_c3*0.8);if(_c7){dom.setInnerHtml(_c2,"<div class=\""+_43+"\">"+_c5+"</div>");_c6=_c2.firstChild}else{dom.setInnerHtml(_c2,_c5)}_c8=_c6.getClientRects();_c4=_c8.length;if(_c7){dom.setInnerHtml(_c2,_c5)}_c2.style.visibility=_c2.style.width=_c2.style.height=_c2.style.maxWidth=_c2.style.maxHeight=_c2.style.overflow=_c2.style.styleFloat=_c2.style.position=_c2.style.zoom=_c2.style.writingMode=""}}return {lineHeight:_c3,lines:_c4}}function shouldDelayCSS(){return !ua.opera&&!ua.ie&&_3b.delayCSS}this.replace=function(_c9,_ca){if(!ua.supported){return}if(_ca){for(var _cb in _c9){if(typeof (_ca[_cb])=="undefined"){_ca[_cb]=_c9[_cb]}}_c9=_ca}if(!_4c){return _a2.kwargs.push(_c9)}if(_6c.synchronizer.isBlocked){return _9d.kwargs.push(_c9)}var _cc=_c9.elements;if(!_cc&&parseSelector){_cc=parseSelector(_c9.selector)}if(_cc.length==0){return}this.setFlashClass();var src=getSource(_c9.src);var css=_78.convertCssArg(_c9.css);var _cf=getFilters(_c9.filters);var _d0=(_c9.forceClear==null)?_3b.forceClear:_c9.forceClear;var _d1=(_c9.fitExactly==null)?_3b.fitExactly:_c9.fitExactly;var _d2=_d1||(_c9.forceWidth==null?_3b.forceWidth:_c9.forceWidth);var _d3=parseInt(_78.extractFromCss(css,".sIFR-root","leading"))||0;var _d4=_78.extractFromCss(css,".sIFR-root","font-size",true)||0;var _d5=_78.extractFromCss(css,".sIFR-root","background-color",true)||"#FFFFFF";var _d6=_78.extractFromCss(css,".sIFR-root","kerning",true)||"";var _d7=_c9.gridFitType||_78.extractFromCss(css,".sIFR-root","text-align")=="right"?"subpixel":"pixel";var _d8=_3b.forceTextTransform?_78.extractFromCss(css,".sIFR-root","text-transform",true)||"none":"none";var _d9=_78.extractFromCss(css,".sIFR-root","opacity",true)||"100";var _da=_c9.pixelFont||false;var _db=_c9.ratios||_48;var _dc=parseInt(_c9.tuneHeight)||0;if(parseInt(_d4).toString()!=_d4&&_d4.indexOf("px")==-1){_d4=0}else{_d4=parseInt(_d4)}if(parseFloat(_d9)<1){_d9=100*parseFloat(_d9)}var _dd="";if(_d1){_78.extractFromCss(css,".sIFR-root","text-align",true)}if(!_c9.modifyCss){_dd=_78.cssToString(css)}var _de=_c9.wmode||"";if(!_de){if(_c9.transparent){_de="transparent"}else{if(_c9.opaque){_de="opaque"}}}if(_de=="transparent"){if(!ua.transparencySupport){_de="opaque"}else{_d5="transparent"}}for(var i=0;i<_cc.length;i++){var _e0=_cc[i];if(!ua.verifiedKonqueror){if(dom.getComputedStyle(_e0,"lineHeight").match(/e\+08px/)){ua.supported=_3b.isEnabled=false;this.removeFlashClass();return}ua.verifiedKonqueror=true}if(dom.hasOneOfClassses([_3d,_3e,_40,_41],_e0)){continue}var _e1=_e0.offsetHeight;var _e2=_e0.offsetWidth;var _e3=dom.getComputedStyle(_e0,"display");if(!_e1||!_e2||_e3==null||_e3=="none"){continue}if(_d0&&ua.gecko){_e0.style.clear="both"}var _e4=null;if(_3b.fixWrap&&ua.ie&&_e3=="block"){_e4=_e0.innerHTML;dom.setInnerHtml(_e0,"X")}_e2=dom.getWidthFromStyle(_e0);if(_e4&&_3b.fixWrap&&ua.ie){dom.setInnerHtml(_e0,_e4)}var _e5,_e6;if(!_d4){var _e7=calculate(_e0);_e5=Math.min(_45,Math.max(_44,_e7.lineHeight));if(_da){_e5=Math.max(8,8*Math.round(_e5/8))}_e6=_e7.lines;if(isNaN(_e6)||!isFinite(_e6)||_e6==0){_e6=1}if(_e6>1&&_d3){_e1+=Math.round((_e6-1)*_d3)}}else{_e5=_d4;_e6=1}_e1=Math.round(_e6*_e5);if(_d0&&ua.gecko){_e0.style.clear=""}var _e8=dom.create("span");_e8.className=_41;var _e9=_e0.cloneNode(true);for(var j=0,l=_e9.childNodes.length;j<l;j++){_e8.appendChild(_e9.childNodes[j].cloneNode(true))}if(_c9.modifyContent){_c9.modifyContent(_e9,_c9.selector)}if(_c9.modifyCss){_dd=_c9.modifyCss(css,_e9,_c9.selector)}var _ec=handleContent(_e9,_d8);if(_c9.modifyContentString){_ec.text=_c9.modifyContentString(_ec.text,_c9.selector)}if(_ec==""){continue}var _ed=["content="+_78.escape(_ec.text),"width="+_e2,"height="+_e1,"fitexactly="+(_d1?"true":""),"tunewidth="+(_c9.tuneWidth||""),"tuneheight="+_dc,"offsetleft="+(_c9.offsetLeft||""),"offsettop="+(_c9.offsetTop||""),"thickness="+(_c9.thickness||""),"sharpness="+(_c9.sharpness||""),"kerning="+_d6,"gridfittype="+_d7,"zoomsupport="+ua.zoomSupport,"flashfilters="+_cf,"opacity="+_d9,"blendmode="+(_c9.blendMode||""),"size="+_e5,"zoom="+dom.getZoom(),"css="+_78.escape(_dd),"selectable="+(_c9.selectable==null?"true":_c9.selectable),"lines="+_e6,"fixhover="+(_3b.fixHover?"true":""),"antialiastype="+(_c9.antiAliasType||""),"preventwrap="+(_c9.preventWrap?"true":"false"),"link="+_78.escape(_ec.primaryLink[0]||""),"target="+_78.escape(_ec.primaryLink[1]||"")];var _ee=encodeVars(_ed);var _ef="sIFR_callback_"+_4a++;var _f0=new CallbackInfo(_ef,_ed,_c9.onReplacement);window[_ef+"_DoFSCommand"]=(function(_f1){return function(_f2,arg){_f1.handle(_f2,arg)}})(_f0);_e8.setAttribute("id",_ef+"_alternate");_e1=Math.round(_e6*getRatio(_e5,_db)*_e5)+_49+_dc;var _f4=_d2?_e2:"100%";var _f5;if(ua.ie){_f5=["<object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" id=\"",_ef,"\" sifr=\"true\" width=\"",_f4,"\" height=\"",_e1,"\" class=\"",_3f,"\">","<param name=\"movie\" value=\"",src,"\"></param>","<param name=\"flashvars\" value=\"",_ee,"\"></param>","<param name=\"allowScriptAccess\" value=\"always\"></param>","<param name=\"quality\" value=\"best\"></param>","<param name=\"wmode\" value=\"",_de,"\"></param>","<param name=\"bgcolor\" value=\"",_d5,"\"></param>","<param name=\"name\" value=\"",_ef,"\"></param>","</object>","<scr","ipt event=FSCommand(info,args) for=",_ef,">",_ef,"_DoFSCommand(info, args);","</","script>"].join("")}else{_f5=["<embed type=\"application/x-shockwave-flash\"",(!shouldDelayCSS()?" class=\""+_3f+"\"":"")," src=\"",src,"\" quality=\"best\" flashvars=\"",_ee,"\" width=\"",_f4,"\" height=\"",_e1,"\" wmode=\"",_de,"\" bgcolor=\"",_d5,"\" name=\"",_ef,"\" id=\"",_ef,"\" allowScriptAccess=\"always\" sifr=\"true\"></embed>"].join("")}dom.setInnerHtml(_e0,_f5);_f0.flashNode=_e0.firstChild;_f0.html=_f5;_3b.callbacks.push(_f0);if(_c9.selector){if(!_3b.callbacks[_c9.selector]){_3b.callbacks[_c9.selector]=[_f0]}else{_3b.callbacks[_c9.selector].push(_f0)}}_e0.appendChild(_e8);dom.addClass(shouldDelayCSS()?_3e:_3d,_e0)}_6c.fragmentIdentifier.restore()};this.getCallbackByFlashElement=function(_f6){for(var i=0;i<_3b.callbacks.length;i++){if(_3b.callbacks[i].id==_f6.getAttribute("id")){return _3b.callbacks[i]}}};this.redraw=function(){for(var i=0;i<_3b.callbacks.length;i++){_3b.callbacks[i].resetMovie()}};function encodeVars(_f9){return _f9.join("&amp;").replace(/%/g,"%25")}function handleContent(_fa,_fb){var _fc=[],_fd=[],_fe=[];var _ff=_fa.childNodes;var i=0;while(i<_ff.length){var node=_ff[i];if(node.nodeType==3){var text=_78.normalize(node.nodeValue);text=_78.textTransform(_fb,text);_fd.push(text)}if(node.nodeType==1){var _103=[];var _104=node.nodeName.toLowerCase();var _105=node.className||"";if(/\s+/.test(_105)){if(_105.indexOf(_42)>-1){_105=_105.match("(\\s|^)"+_42+"-([^\\s$]*)(\\s|$)")[2]}else{_105=_105.match(/^([^\s]+)/)[1]}}if(_105!=""){_103.push("class=\""+_105+"\"")}if(_104=="a"){var href=node.getAttribute("href")||"";var _107=node.getAttribute("target")||"";_103.push("href=\""+href+"\"","target=\""+_107+"\"");if(_fe.length==0){_fe=[href,_107]}}_fd.push("<"+_104+(_103.length>0?" ":"")+_103.join(" ")+">");if(node.hasChildNodes()){_fc.push(i);i=0;_ff=node.childNodes;continue}else{if(!/^(br|img)$/i.test(node.nodeName)){_fd.push("</",node.nodeName.toLowerCase(),">")}}}if(_fc.length>0&&!node.nextSibling){do{i=_fc.pop();_ff=node.parentNode.parentNode.childNodes;node=_ff[i];if(node){_fd.push("</",node.nodeName.toLowerCase(),">")}}while(i==_ff.length-1&&_fc.length>0)}i++}return {text:_fd.join("").replace(/\n|\r/g,""),primaryLink:_fe}}function CallbackInfo(id,vars,_10a,_10b){this.id=id;this.vars=vars;this._replacementHandler=_10a;this._firedReplacementEvent=!(this._replacementHandler!=null);this._fixHover=_10b;this._setClasses=!shouldDelayCSS();this.html=""}CallbackInfo.prototype.getFlashElement=function(){return document.getElementById(this.id)};CallbackInfo.prototype.available=function(){var _10c=this.getFlashElement();return _10c&&_10c.parentNode};CallbackInfo.prototype.handle=function(info,arg){if(!this.available()){return}if(/(FSCommand\:)?resize/.test(info)){var _10f=this.getFlashElement();var $=arg.split(/\:|,/);_10f.setAttribute($[0],$[1]);if($.length>2){_10f.setAttribute($[2],$[3])}if(!this._setClasses){dom.addClass(_3f,_10f);dom.removeClass(_3e,_10f.parentNode);dom.addClass(_3d,_10f.parentNode);this._setClasses=true}if(ua.khtml){var _111=_10f.offsetHeight}if(!this._firedReplacementEvent){this._replacementHandler(this);this._firedReplacementEvent=true}}else{if(/(FSCommand\:)?resetmovie/.test(info)){this.resetMovie()}else{if(/(FSCommand\:)?blur/.test(info)){this.getFlashElement().blur()}else{if(this.debugHandler&&/(FSCommand\:)?debug/.test(info)){this.debugHandler(info,arg)}}}}};CallbackInfo.prototype.call=function(type,_113){if(!this.available()){return false}var _114=this.getFlashElement();try{_114.SetVariable("callbackType",type);_114.SetVariable("callbackValue",_113);_114.SetVariable("callbackTrigger",true)}catch(e){return false}return true};CallbackInfo.prototype.replaceText=function(_115){_115=_78.escape(_115);this.vars[0]="content="+_115;this.html=this.html.replace(/(flashvars(=|\"\svalue=)\")[^\"]+/,"$1"+encodeVars(this.vars));return this.call("replacetext",_115)};CallbackInfo.prototype.resetMovie=function(){if(!this.available()){return}var _116=this.getFlashElement();var node=_116.parentNode;node.replaceChild(dom.nodeFromHtml(this.html),_116)};CallbackInfo.prototype.resize=function(){if(!this.available()){return}var _118=this.getFlashElement();var _119=_118.parentNode;_118.style.width="0px";_118.style.height="0px";var _11a=document.getElementById(this.id+"_alternate").childNodes;var _11b=[];for(var i=0;i<_11a.length;i++){var node=_11a[i].cloneNode(true);_11b.push(node);_119.appendChild(node)}var _11e=dom.getWidthFromStyle(_119);for(var i=0;i<_11b.length;i++){_119.removeChild(_11b[i])}_118.style.width="";_118.style.height="";if(_11e>0){this.call("resize",_11e)}}};