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

  =: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.repaintOnResize=true;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 _9d.zoom.getLatest()};this.blurElement=function(_6c){if(ua.gecko){_6c.blur();return}var _6e=dom.create("input");_6e.style.width="0px";_6e.style.height="0px";_6c.parentNode.appendChild(_6e);_6e.focus();_6e.blur();_6e.parentNode.removeChild(_6e)}};this.dom=dom;var ua=new function(){var ua=navigator.userAgent.toLowerCase();var _70=(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=_70.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&&_70=="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 _72=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){_72=this.flashVersion==6}if(!_72){try{axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash")}catch(e){}}}if(!_72&&axo){this.flashVersion=parseFloat(/([\d,?]+)/.exec(axo.GetVariable("$version"))[1].replace(/,/g,"."))}}else{if(navigator.plugins&&navigator.plugins["Shockwave Flash"]){var _73=navigator.plugins["Shockwave Flash"];this.flashVersion=parseFloat(/(\d+\.?\d*)/.exec(_73.description)[1]);var i=0;while(this.flashVersion>=_46&&i<navigator.mimeTypes.length){var _75=navigator.mimeTypes[i];if(_75.type=="application/x-shockwave-flash"&&_75.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 _76=document.getElementsByTagName("head")[0];_76.style.backgroundColor="#FF0000";var _77=dom.getComputedStyle(_76,"backgroundColor");this.css=!_77||/\#F{2}0{4}|rgb\(255,\s?0,\s?0\)/i.test(_77);_76.style.backgroundColor="";_76=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 _79=new function(){var _7a={leading:true,"margin-left":true,"margin-right":true,"text-indent":true};var _7b=" ";function capitalize($){return $.toUpperCase()}this.normalize=function(str){if(_3b.preserveSingleWhitespace){return str.replace(/\s/g,_7b)}return str.replace(/(\s)\s+/g,"$1").replace(/\xA0/,_7b)};this.textTransform=function(_7e,str){switch(_7e){case "uppercase":str=str.toUpperCase();break;case "lowercase":str=str.toLowerCase();break;case "capitalize":var _80=str;str=str.replace(/^\w|\s\w/g,capitalize);if(str.indexOf("function capitalize")!=-1){var _81=_80.replace(/(^|\s)(\w)/g,"$1$1$2$2").split(/^\w|\s\w/g);str="";for(var i=0;i<_81.length;i++){str+=_81[i].charAt(0).toUpperCase()+_81[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 _85="";switch(typeof (obj)){case "string":_85="\""+obj+"\"";break;case "number":case "boolean":_85=obj.toString();break;case "object":_85=[];for(var _86 in obj){if(obj[_86]==Object.prototype[_86]){continue}_85.push("\""+_86+"\":"+_79.toJson(obj[_86]))}_85="{"+_85.join(",")+"}";break}return _85};this.convertCssArg=function(arg){if(!arg){return {}}if(typeof (arg)=="object"){if(arg.constructor==Array){arg=arg.join("")}else{return arg}}var obj={};var _89=arg.split("}");for(var i=0;i<_89.length;i++){var $=_89[i].match(/([^\s{]+)\s*\{(.+)\s*;?\s*/);if(!$||$.length!=3){continue}if(!obj[$[1]]){obj[$[1]]={}}var _8c=$[2].split(";");for(var j=0;j<_8c.length;j++){var $2=_8c[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,_90,_91,_92){var _93=null;if(css&&css[_90]&&css[_90][_91]){_93=css[_90][_91];if(_92){delete css[_90][_91]}}return _93};this.cssToString=function(arg){var css=[];for(var _96 in arg){var _97=arg[_96];if(_97==Object.prototype[_96]){continue}css.push(_96,"{");for(var _98 in _97){if(_97[_98]==Object.prototype[_98]){continue}var _99=_97[_98];if(_7a[_98]){_99=parseInt(_99,10)}css.push(_98,":",_99,";")}css.push("}")}return css.join("")};this.bind=function(_9a,_9b){return function(){_9a[_9b].apply(_9a,arguments)}};this.escape=function(str){return escape(str).replace(/\+/,"%2B")}};this.util=_79;var _9d={};_9d.fragmentIdentifier=new function(){this.fix=true;var _9e;this.cache=function(){_9e=document.title};function doFix(){document.title=_9e}this.restore=function(){if(this.fix){setTimeout(doFix,0)}}};_9d.synchronizer=new function(){this.isBlocked=false;this.block=function(){this.isBlocked=true};this.unblock=function(){this.isBlocked=false;_9f.replaceAll()}};_9d.zoom=new function(){var _a0=100;this.getLatest=function(){return _a0};if(ua.zoomSupport&&ua.opera){var _a1=document.createElement("div");_a1.style.position="fixed";_a1.style.left="-65536px";_a1.style.top="0";_a1.style.height="100%";_a1.style.width="1px";_a1.style.zIndex="-32";document.documentElement.appendChild(_a1);function updateZoom(){if(!_a1){return}var _a2=window.innerHeight/_a1.offsetHeight;var _a3=Math.round(_a2*100)%10;if(_a3>5){_a2=Math.round(_a2*100)+10-_a3}else{_a2=Math.round(_a2*100)-_a3}_a0=isNaN(_a2)?100:_a2;_9d.synchronizer.unblock();document.documentElement.removeChild(_a1);_a1=null}_9d.synchronizer.block();setTimeout(updateZoom,54)}};this.hacks=_9d;this.errors={};var _a4={kwargs:[],replaceAll:function(_a5){for(var i=0;i<this.kwargs.length;i++){_3b.replace(this.kwargs[i])}if(!_a5){this.kwargs=[]}}};var _9f={kwargs:[],replaceAll:_a4.replaceAll};function isValidDomain(){if(_3b.domains.length==0){return true}var _a7="";try{_a7=document.domain}catch(e){}for(var i=0;i<_3b.domains.length;i++){var _a9=_3b.domains[i];if(_a9=="*"||_a9==_a7){return true}var _aa=_a9.lastIndexOf("*");if(_aa>-1){_a9=_a9.substr(_aa+1);var _ab=_a7.lastIndexOf(_a9);if(_ab>-1&&(_ab+_a9.length)==_a7.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&&_9d.fragmentIdentifier.fix&&window.location.hash!=""){_9d.fragmentIdentifier.cache()}else{_9d.fragmentIdentifier.fix=false}if(!this.registerEvents){return}function handler(evt,_ad){_3b.initialize(_ad);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);if(_3b.repaintOnResize){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);if(_3b.repaintOnResize){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(_af){if(!this.isActive||!this.isEnabled){return}if(_4c){if(!_af){_a4.replaceAll(false)}return}_4c=true;_a4.replaceAll(_af);clearPrefetch()};function getSource(src){if(typeof (src)!="string"){if(src.src){src=src.src}if(typeof (src)!="string"){var _b1=[];for(var _b2 in src){if(src[_b2]!=Object.prototype[_b2]){_b1.push(_b2)}}_b1.sort().reverse();var _b3="";var i=-1;while(!_b3&&++i<_b1.length){if(parseFloat(_b1[i])<=ua.flashVersion){_b3=src[_b1[i]]}}src=_b3}}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(_b5){for(var i=0;i<_b5.length;i++){document.write("<script defer type=\"sifr/prefetch\" src=\""+getSource(_b5[i])+"\"></script>")}}function prefetchLight(_b7){for(var i=0;i<_b7.length;i++){new Image().src=getSource(_b7[i])}}function clearPrefetch(){if(!ua.ieWin||!_4b){return}try{var _b9=document.getElementsByTagName("script");for(var i=_b9.length-1;i>=0;i--){var _bb=_b9[i];if(_bb.type=="sifr/prefetch"){_bb.parentNode.removeChild(_bb)}}}catch(e){}}function getRatio(_bc,_bd){for(var i=0;i<_bd.length;i+=2){if(_bc<=_bd[i]){return _bd[i+1]}}return _bd[_bd.length-1]||1}function getFilters(obj){var _c0=[];for(var _c1 in obj){if(obj[_c1]==Object.prototype[_c1]){continue}var _c2=obj[_c1];_c1=[_c1.replace(/filter/i,"")+"Filter"];for(var _c3 in _c2){if(_c2[_c3]==Object.prototype[_c3]){continue}_c1.push(_c3+":"+_79.escape(_79.toJson(_79.toHexString(_c2[_c3]))))}_c0.push(_c1.join(","))}return _79.escape(_c0.join(";"))}function calculate(_c4){var _c5,_c6;if(!ua.ie){_c5=dom.getStyleAsInt(_c4,"lineHeight");_c6=Math.floor(dom.getStyleAsInt(_c4,"height")/_c5)}else{if(ua.ie){var _c7=_c4.innerHTML;_c4.style.visibility="visible";_c4.style.overflow="visible";_c4.style.position="static";_c4.style.zoom="normal";_c4.style.writingMode="lr-tb";_c4.style.width=_c4.style.height="auto";_c4.style.maxWidth=_c4.style.maxHeight=_c4.style.styleFloat="none";var _c8=_c4;var _c9=_c4.currentStyle.hasLayout;if(_c9){dom.setInnerHtml(_c4,"<div class=\""+_43+"\">X<br />X<br />X</div>");_c8=_c4.firstChild}else{dom.setInnerHtml(_c4,"X<br />X<br />X")}var _ca=_c8.getClientRects();_c5=_ca[1].bottom-_ca[1].top;_c5=Math.ceil(_c5*0.8);if(_c9){dom.setInnerHtml(_c4,"<div class=\""+_43+"\">"+_c7+"</div>");_c8=_c4.firstChild}else{dom.setInnerHtml(_c4,_c7)}_ca=_c8.getClientRects();_c6=_ca.length;if(_c9){dom.setInnerHtml(_c4,_c7)}_c4.style.visibility=_c4.style.width=_c4.style.height=_c4.style.maxWidth=_c4.style.maxHeight=_c4.style.overflow=_c4.style.styleFloat=_c4.style.position=_c4.style.zoom=_c4.style.writingMode=""}}return {lineHeight:_c5,lines:_c6}}function shouldDelayCSS(){return !ua.opera&&!ua.ie&&_3b.delayCSS}this.replace=function(_cb,_cc){if(!ua.supported){return}if(_cc){for(var _cd in _cb){if(typeof (_cc[_cd])=="undefined"){_cc[_cd]=_cb[_cd]}}_cb=_cc}if(!_4c){return _a4.kwargs.push(_cb)}if(_9d.synchronizer.isBlocked){return _9f.kwargs.push(_cb)}var _ce=_cb.elements;if(!_ce&&parseSelector){_ce=parseSelector(_cb.selector)}if(_ce.length==0){return}this.setFlashClass();var src=getSource(_cb.src);var css=_79.convertCssArg(_cb.css);var _d1=getFilters(_cb.filters);var _d2=(_cb.forceClear==null)?_3b.forceClear:_cb.forceClear;var _d3=(_cb.fitExactly==null)?_3b.fitExactly:_cb.fitExactly;var _d4=_d3||(_cb.forceWidth==null?_3b.forceWidth:_cb.forceWidth);var _d5=parseInt(_79.extractFromCss(css,".sIFR-root","leading"))||0;var _d6=_79.extractFromCss(css,".sIFR-root","font-size",true)||0;var _d7=_79.extractFromCss(css,".sIFR-root","background-color",true)||"#FFFFFF";var _d8=_79.extractFromCss(css,".sIFR-root","kerning",true)||"";var _d9=_cb.gridFitType||_79.extractFromCss(css,".sIFR-root","text-align")=="right"?"subpixel":"pixel";var _da=_3b.forceTextTransform?_79.extractFromCss(css,".sIFR-root","text-transform",true)||"none":"none";var _db=_79.extractFromCss(css,".sIFR-root","opacity",true)||"100";var _dc=_cb.pixelFont||false;var _dd=_cb.ratios||_48;var _de=parseInt(_cb.tuneHeight)||0;if(parseInt(_d6).toString()!=_d6&&_d6.indexOf("px")==-1){_d6=0}else{_d6=parseInt(_d6)}if(parseFloat(_db)<1){_db=100*parseFloat(_db)}var _df="";if(_d3){_79.extractFromCss(css,".sIFR-root","text-align",true)}if(!_cb.modifyCss){_df=_79.cssToString(css)}var _e0=_cb.wmode||"";if(!_e0){if(_cb.transparent){_e0="transparent"}else{if(_cb.opaque){_e0="opaque"}}}if(_e0=="transparent"){if(!ua.transparencySupport){_e0="opaque"}else{_d7="transparent"}}for(var i=0;i<_ce.length;i++){var _e2=_ce[i];if(!ua.verifiedKonqueror){if(dom.getComputedStyle(_e2,"lineHeight").match(/e\+08px/)){ua.supported=_3b.isEnabled=false;this.removeFlashClass();return}ua.verifiedKonqueror=true}if(dom.hasOneOfClassses([_3d,_3e,_40,_41],_e2)){continue}var _e3=_e2.offsetHeight;var _e4=_e2.offsetWidth;var _e5=dom.getComputedStyle(_e2,"display");if(!_e3||!_e4||_e5==null||_e5=="none"){continue}if(_d2&&ua.gecko){_e2.style.clear="both"}var _e6=null;if(_3b.fixWrap&&ua.ie&&_e5=="block"){_e6=_e2.innerHTML;dom.setInnerHtml(_e2,"X")}_e4=dom.getWidthFromStyle(_e2);if(_e6&&_3b.fixWrap&&ua.ie){dom.setInnerHtml(_e2,_e6)}var _e7,_e8;if(!_d6){var _e9=calculate(_e2);_e7=Math.min(_45,Math.max(_44,_e9.lineHeight));if(_dc){_e7=Math.max(8,8*Math.round(_e7/8))}_e8=_e9.lines;if(isNaN(_e8)||!isFinite(_e8)||_e8==0){_e8=1}if(_e8>1&&_d5){_e3+=Math.round((_e8-1)*_d5)}}else{_e7=_d6;_e8=1}_e3=Math.round(_e8*_e7);if(_d2&&ua.gecko){_e2.style.clear=""}var _ea=dom.create("span");_ea.className=_41;var _eb=_e2.cloneNode(true);for(var j=0,l=_eb.childNodes.length;j<l;j++){_ea.appendChild(_eb.childNodes[j].cloneNode(true))}if(_cb.modifyContent){_cb.modifyContent(_eb,_cb.selector)}if(_cb.modifyCss){_df=_cb.modifyCss(css,_eb,_cb.selector)}var _ee=handleContent(_eb,_da);if(_cb.modifyContentString){_ee.text=_cb.modifyContentString(_ee.text,_cb.selector)}if(_ee==""){continue}var _ef=["content="+_79.escape(_ee.text),"antialiastype="+(_cb.antiAliasType||""),"width="+_e4,"height="+_e3,"fitexactly="+(_d3?"true":""),"tunewidth="+(_cb.tuneWidth||""),"tuneheight="+_de,"offsetleft="+(_cb.offsetLeft||""),"offsettop="+(_cb.offsetTop||""),"thickness="+(_cb.thickness||""),"sharpness="+(_cb.sharpness||""),"kerning="+_d8,"gridfittype="+_d9,"zoomsupport="+ua.zoomSupport,"flashfilters="+_d1,"opacity="+_db,"blendmode="+(_cb.blendMode||""),"size="+_e7,"zoom="+dom.getZoom(),"css="+_79.escape(_df),"selectable="+(_cb.selectable==null?"true":_cb.selectable),"lines="+_e8,"fixhover="+(_3b.fixHover?"true":""),"preventwrap="+(_cb.preventWrap?"true":"false"),"link="+_79.escape(_ee.primaryLink[0]||""),"target="+_79.escape(_ee.primaryLink[1]||"")];var _f0=encodeVars(_ef);var _f1="sIFR_callback_"+_4a++;var _f2=new CallbackInfo(_f1,_ef,_cb.onReplacement);window[_f1+"_DoFSCommand"]=(function(_f3){return function(_f4,arg){_f3.handle(_f4,arg)}})(_f2);_ea.setAttribute("id",_f1+"_alternate");_e3=Math.round(_e8*getRatio(_e7,_dd)*_e7)+_49+_de;var _f6=_d4?_e4:"100%";var _f7;if(ua.ie){_f7=["<object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" id=\"",_f1,"\" sifr=\"true\" width=\"",_f6,"\" height=\"",_e3,"\" class=\"",_3f,"\">","<param name=\"movie\" value=\"",src,"\"></param>","<param name=\"flashvars\" value=\"",_f0,"\"></param>","<param name=\"allowScriptAccess\" value=\"always\"></param>","<param name=\"quality\" value=\"best\"></param>","<param name=\"wmode\" value=\"",_e0,"\"></param>","<param name=\"bgcolor\" value=\"",_d7,"\"></param>","<param name=\"name\" value=\"",_f1,"\"></param>","</object>","<scr","ipt event=FSCommand(info,args) for=",_f1,">",_f1,"_DoFSCommand(info, args);","</","script>"].join("")}else{_f7=["<embed type=\"application/x-shockwave-flash\"",(!shouldDelayCSS()?" class=\""+_3f+"\"":"")," src=\"",src,"\" quality=\"best\" flashvars=\"",_f0,"\" width=\"",_f6,"\" height=\"",_e3,"\" wmode=\"",_e0,"\" bgcolor=\"",_d7,"\" name=\"",_f1,"\" id=\"",_f1,"\" allowScriptAccess=\"always\" sifr=\"true\"></embed>"].join("")}dom.setInnerHtml(_e2,_f7);_f2.flashNode=_e2.firstChild;_f2.html=_f7;_3b.callbacks.push(_f2);if(_cb.selector){if(!_3b.callbacks[_cb.selector]){_3b.callbacks[_cb.selector]=[_f2]}else{_3b.callbacks[_cb.selector].push(_f2)}}_e2.appendChild(_ea);dom.addClass(shouldDelayCSS()?_3e:_3d,_e2)}_9d.fragmentIdentifier.restore()};this.getCallbackByFlashElement=function(_f8){for(var i=0;i<_3b.callbacks.length;i++){if(_3b.callbacks[i].id==_f8.getAttribute("id")){return _3b.callbacks[i]}}};this.redraw=function(){for(var i=0;i<_3b.callbacks.length;i++){_3b.callbacks[i].resetMovie()}};function encodeVars(_fb){return _fb.join("&amp;").replace(/%/g,"%25")}function handleContent(_fc,_fd){var _fe=[],_ff=[],_100=[];var _101=_fc.childNodes;var i=0;while(i<_101.length){var node=_101[i];if(node.nodeType==3){var text=_79.normalize(node.nodeValue);text=_79.textTransform(_fd,text);_ff.push(text)}if(node.nodeType==1){var _105=[];var _106=node.nodeName.toLowerCase();var _107=node.className||"";if(/\s+/.test(_107)){if(_107.indexOf(_42)>-1){_107=_107.match("(\\s|^)"+_42+"-([^\\s$]*)(\\s|$)")[2]}else{_107=_107.match(/^([^\s]+)/)[1]}}if(_107!=""){_105.push("class=\""+_107+"\"")}if(_106=="a"){var href=encodeURI(node.getAttribute("href")||"");var _109=node.getAttribute("target")||"";_105.push("href=\""+href+"\"","target=\""+_109+"\"");if(_100.length==0){_100=[href,_109]}}_ff.push("<"+_106+(_105.length>0?" ":"")+_105.join(" ")+">");if(node.hasChildNodes()){_fe.push(i);i=0;_101=node.childNodes;continue}else{if(!/^(br|img)$/i.test(node.nodeName)){_ff.push("</",node.nodeName.toLowerCase(),">")}}}if(_fe.length>0&&!node.nextSibling){do{i=_fe.pop();_101=node.parentNode.parentNode.childNodes;node=_101[i];if(node){_ff.push("</",node.nodeName.toLowerCase(),">")}}while(i==_101.length-1&&_fe.length>0)}i++}return {text:_ff.join("").replace(/\n|\r/g,""),primaryLink:_100}}function CallbackInfo(id,vars,_10c,_10d){this.id=id;this.vars=vars;this._replacementHandler=_10c;this._firedReplacementEvent=!(this._replacementHandler!=null);this._fixHover=_10d;this._setClasses=!shouldDelayCSS();this.html=""}CallbackInfo.prototype.getFlashElement=function(){return document.getElementById(this.id)};CallbackInfo.prototype.available=function(){var _10e=this.getFlashElement();return _10e&&_10e.parentNode};CallbackInfo.prototype.handle=function(info,arg){if(!this.available()){return}if(/(FSCommand\:)?resize/.test(info)){var _111=this.getFlashElement();var $=arg.split(/\:|,/);_111.setAttribute($[0],$[1]);if($.length>2){_111.setAttribute($[2],$[3])}if(!this._setClasses){dom.addClass(_3f,_111);dom.removeClass(_3e,_111.parentNode);dom.addClass(_3d,_111.parentNode);this._setClasses=true}if(ua.khtml){var _113=_111.offsetHeight}if(!this._firedReplacementEvent){this._replacementHandler(this);this._firedReplacementEvent=true}}else{if(/(FSCommand\:)?resetmovie/.test(info)){this.resetMovie()}else{if(/(FSCommand\:)?blur/.test(info)){dom.blurElement(this.getFlashElement())}else{if(this.debugHandler&&/(FSCommand\:)?debug/.test(info)){this.debugHandler(info,arg)}}}}};CallbackInfo.prototype.call=function(type,_115){if(!this.available()){return false}var _116=this.getFlashElement();try{_116.SetVariable("callbackType",type);_116.SetVariable("callbackValue",_115);_116.SetVariable("callbackTrigger",true)}catch(e){return false}return true};CallbackInfo.prototype.replaceText=function(_117){_117=_79.escape(_117);this.injectVars("content",_117);return this.call("replacetext",_117)};CallbackInfo.prototype.injectVars=function(name,_119){for(var i=0;i<this.vars.length;i++){if(this.vars[i].split("=")[0]==name){this.vars[i]=name+"="+_119;break}}this.html=this.html.replace(/(flashvars(=|\"\svalue=)\")[^\"]+/,"$1"+encodeVars(this.vars))};CallbackInfo.prototype.resetMovie=function(){if(!this.available()){return}var _11b=this.getFlashElement();var node=_11b.parentNode;node.replaceChild(dom.nodeFromHtml(this.html),_11b)};CallbackInfo.prototype.resize=function(){if(!this.available()){return}var _11d=this.getFlashElement();var _11e=_11d.parentNode;_11d.style.width="0px";_11d.style.height="0px";var _11f=document.getElementById(this.id+"_alternate").childNodes;var _120=[];for(var i=0;i<_11f.length;i++){var node=_11f[i].cloneNode(true);_120.push(node);_11e.appendChild(node)}var _123=dom.getWidthFromStyle(_11e);for(var i=0;i<_120.length;i++){_11e.removeChild(_120[i])}_11d.style.width="";_11d.style.height="";if(_123>0){this.call("resize",_123)}};CallbackInfo.prototype.changeCSS=function(css){css=_79.escape(_79.cssToString(_79.convertCssArg(css)));this.injectVars("css",css);return this.call("changecss",css)}};