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

  =: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 (parseSelector.selectors[_14])?parseSelector.selectors[_14](_13,_15,_16):[]}var _17={toArray:function(_18){var a=[];for(var i=0;i<_18.length;i++){a.push(_18[i])}return a}};var dom={isTag:function(_1c,tag){return (tag=="*")||(tag.toLowerCase()==_1c.nodeName.toLowerCase())},previousSiblingElement:function(_1e){do{_1e=_1e.previousSibling}while(_1e&&_1e.nodeType!=1);return _1e},nextSiblingElement:function(_1f){do{_1f=_1f.nextSibling}while(_1f&&_1f.nodeType!=1);return _1f},hasClass:function(_20,_21){return (_21.className||"").match("(^|\\s)"+_20+"(\\s|$)")},getByTag:function(tag,_23){return _23.getElementsByTagName(tag)}};var _24={"#":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(_17.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 (parseSelector.pseudoClasses[_39])?parseSelector.pseudoClasses[_39](_38,_3a):[]}};parseSelector.selectors=_24;parseSelector.pseudoClasses={};parseSelector.util=_17;parseSelector.dom=dom;return parseSelector})();
var sIFR=new function(){var _3b=this;var _3c="sIFR-active";var _3d="sIFR-unloading";var _3e="sIFR-replaced";var _3f="sIFR-flash";var _40="sIFR-ignore";var _41="sIFR-alternate";var _42="sIFR-class";var _43="sIFR-layout";var _44="sIFR-fixfocus";var _45="sIFR-dummy";var _46=6;var _47=126;var _48=8;var _49="SIFR-PREFETCHED";var _4a=[];var _4b=5;var _4c="357";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=true;this.fitExactly=false;this.forceTextTransform=true;this.useDomLoaded=true;this.useStyleCheck=false;this.hasFlashClassSet=false;this.repaintOnResize=true;this.callbacks=[];var _4d=0;var _4e=false,_4f=false;var dom=new function(){var _51="http://www.w3.org/1999/xhtml";this.getBody=function(){var _52=document.getElementsByTagName("body");if(_52.length==1){return _52[0]}return null};this.addClass=function(_53,_54){if(_54){_54.className=((_54.className||"")==""?"":_54.className+" ")+_53}};this.removeClass=function(_55,_56){if(_56){_56.className=_56.className.replace(new RegExp("(^|\\s)"+_55+"(\\s|$)"),"").replace(/^\s+|(\s)\s+/g,"$1")}};this.hasClass=function(_57,_58){return new RegExp("(^|\\s)"+_57+"(\\s|$)").test(_58.className)};this.hasOneOfClassses=function(_59,_5a){for(var i=0;i<_59.length;i++){if(this.hasClass(_59[i],_5a)){return true}}return false};this.create=function(_5c){if(document.createElementNS){return document.createElementNS(_51,_5c)}return document.createElement(_5c)};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.blurElement=function(_6c){if(ua.gecko){_6c.blur();return}var _6d=dom.create("input");_6d.style.width="0px";_6d.style.height="0px";_6c.parentNode.appendChild(_6d);_6d.focus();_6d.blur();_6d.parentNode.removeChild(_6d)};this.getDimensions=function(_6e){var _6f=_6e.offsetWidth;var _70=_6e.offsetHeight;if(_6f==0||_70==0){for(var i=0;i<_6e.childNodes.length;i++){var _72=_6e.childNodes[i];if(_72.nodeType!=1){continue}_6f=Math.max(_6f,_72.offsetWidth);_70=Math.max(_70,_72.offsetHeight)}}return {width:_6f,height:_70}};this.contentIsLink=function(_73){var _74=false;for(var i=0;i<_73.childNodes.length;i++){var _76=_73.childNodes[i];if(_76.nodeType==3&&!_76.nodeValue.match(/^\s*$/)){return false}else{if(_76.nodeType!=1){continue}}var _77=_76.nodeName.toLowerCase()=="a";if(!_77){return false}else{_74=true}}return _74};var dom=this;this.swf={create:function(_79,_7a,id,_7c,_7d,src,_7f,_80,_81){var obj=_79.object(_7a,id,src,_7c,_7d);return _79.params(obj,"flashvars",_7f,"wmode",_80,"bgcolor",_81,"allowScriptAccess","always","quality","best")},ie:{object:function(_83,id,src,_86,_87){return "<object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" id=\""+id+"\" width=\""+_86+"\" height=\""+_87+"\" class=\""+_3f+"\">"+"<param name=\"movie\" value=\""+src+"\"></param></object>"+"<scr"+"ipt event=FSCommand(info,args) for="+id+">"+id+"_DoFSCommand(info, args);"+"</"+"script>"},params:function(obj){var _89="";for(var i=1;i<arguments.length;i+=2){_89+="<param name=\""+arguments[i]+"\" value=\""+arguments[i+1]+"\"></param>"}return obj.replace(/(<\/object>)/,_89+"$1")},insert:function(_8b,_8c){_8b.innerHTML=_8c}},other:{object:function(_8d,id,src,_90,_91){var obj=dom.create("object");var _93=["type","application/x-shockwave-flash","id",id,"name",id,"data",src,"width",_90,"height",_91];while(_93.length){obj.setAttribute(_93.shift(),_93.shift())}obj.className=_3f;if(!_8d){return obj}var _94=dom.create("div");_94.className=_44;_94.appendChild(obj);return _94},params:function(obj){for(var i=1;i<arguments.length;i+=2){if(arguments[i]=="name"){continue}var _97=dom.create("param");_97.setAttribute("name",arguments[i]);_97.setAttribute("value",arguments[i+1]);obj.appendChild(_97)}return obj},insert:function(_98,_99){while(_98.firstChild){_98.removeChild(_98.firstChild)}_98.appendChild(_99)}}}};this.dom=dom;var ua=new function(){var ua=navigator.userAgent.toLowerCase();var _9c=(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=_9c.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&&_9c=="gecko";this.operaVersion=this.opera&&/.*opera(\s|\/)(\d+\.\d+)/.exec(ua)?parseFloat(RegExp.$2):0;this.webkitVersion=this.webkit&&/.*applewebkit\/(\d+).*/.exec(ua)?parseFloat(RegExp.$1):0;this.geckoBuildDate=this.gecko&&/.*gecko\/(\d{8}).*/.exec(ua)?parseFloat(RegExp.$1):0;this.konquerorMajor=this.konqueror&&/.*konqueror\/(\d).*/.exec(ua)?parseFloat(RegExp.$1):0;this.konquerorMinor=this.konqueror&&/.*khtml\/\d\.(\d).*/.exec(ua)?parseFloat(RegExp.$1):0;this.konquerorSmall=this.konqueror&&/.*khtml\/\d\.\d\.(\d).*/.exec(ua)?parseFloat(RegExp.$1):0;this.flashVersion=0;if(this.ieWin){var axo;var _9e=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){_9e=this.flashVersion==6}if(!_9e){try{axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash")}catch(e){}}}if(!_9e&&axo){this.flashVersion=parseFloat(/([\d,?]+)/.exec(axo.GetVariable("$version"))[1].replace(/,/g,"."))}}else{if(navigator.plugins&&navigator.plugins["Shockwave Flash"]){var _9f=navigator.plugins["Shockwave Flash"];this.flashVersion=parseFloat(/(\d+\.?\d*)/.exec(_9f.description)[1]);var i=0;while(this.flashVersion>=_48&&i<navigator.mimeTypes.length){var _a1=navigator.mimeTypes[i];if(_a1.type=="application/x-shockwave-flash"&&_a1.enabledPlugin.description.toLowerCase().indexOf("quicktime")>-1){this.flashVersion=0;this.quicktime=true}i++}}}this.flash=this.flashVersion>=_48;this.transparencySupport=this.macintosh||this.windows;this.computedStyleSupport=this.ie||document.defaultView&&document.defaultView.getComputedStyle&&(!this.gecko||this.geckoBuildDate>=20030624);this.requiresPrefetch=this.ieWin||this.khtml;this.fixFocus=this.gecko&&this.windows&&this.geckoBuildDate>20061206;this.nativeDomLoaded=this.gecko||this.webkit&&this.webkitVersion>=525||this.konqueror&&this.konquerorMajor>3||this.opera;this.mustCheckStyle=this.khtml||this.opera;this.forcePageLoad=this.webkit&&this.webkit<523;this.properDocument=typeof (document.location)=="object";this.supported=this.flash&&this.properDocument&&(!this.ie||this.ieSupported)&&(!this.opera)&&(!this.webkit||this.webkitVersion>=412)&&(!this.konqueror)&&this.computedStyleSupport&&(!this.gecko||this.geckoBuildDate>20040804)};this.ua=ua;var _a2=new function(){var _a3={leading:true,"margin-left":true,"margin-right":true,"text-indent":true};var _a4=" ";function capitalize($){return $.toUpperCase()}this.normalize=function(str){if(_3b.preserveSingleWhitespace){return str.replace(/\s/g,_a4)}return str.replace(/(\n|\r)+/g,_a4).replace(/(\s)\s+/g,"$1").replace(/\xA0/,_a4)};this.textTransform=function(_a7,str){switch(_a7){case "uppercase":str=str.toUpperCase();break;case "lowercase":str=str.toLowerCase();break;case "capitalize":var _a9=str;str=str.replace(/^\w|\s\w/g,capitalize);if(str.indexOf("function capitalize")!=-1){var _aa=_a9.replace(/(^|\s)(\w)/g,"$1$1$2$2").split(/^\w|\s\w/g);str="";for(var i=0;i<_aa.length;i++){str+=_aa[i].charAt(0).toUpperCase()+_aa[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 _ae="";switch(typeof (obj)){case "string":_ae="\""+obj+"\"";break;case "number":case "boolean":_ae=obj.toString();break;case "object":_ae=[];for(var _af in obj){if(obj[_af]==Object.prototype[_af]){continue}_ae.push("\""+_af+"\":"+_a2.toJson(obj[_af]))}_ae="{"+_ae.join(",")+"}";break}return _ae};this.convertCssArg=function(arg){if(!arg){return {}}if(typeof (arg)=="object"){if(arg.constructor==Array){arg=arg.join("")}else{return arg}}var obj={};var _b2=arg.split("}");for(var i=0;i<_b2.length;i++){var $=_b2[i].match(/([^\s{]+)\s*\{(.+)\s*;?\s*/);if(!$||$.length!=3){continue}if(!obj[$[1]]){obj[$[1]]={}}var _b5=$[2].split(";");for(var j=0;j<_b5.length;j++){var $2=_b5[j].match(/\s*([^:\s]+)\s*\:\s*([^;]+)/);if(!$2||$2.length!=3){continue}obj[$[1]][$2[1]]=$2[2].replace(/\s+$/,"")}}return obj};this.extractFromCss=function(css,_b9,_ba,_bb){var _bc=null;if(css&&css[_b9]&&css[_b9][_ba]){_bc=css[_b9][_ba];if(_bb){delete css[_b9][_ba]}}return _bc};this.cssToString=function(arg){var css=[];for(var _bf in arg){var _c0=arg[_bf];if(_c0==Object.prototype[_bf]){continue}css.push(_bf,"{");for(var _c1 in _c0){if(_c0[_c1]==Object.prototype[_c1]){continue}var _c2=_c0[_c1];if(_a3[_c1]){_c2=parseInt(_c2,10)}css.push(_c1,":",_c2,";")}css.push("}")}return css.join("")};this.bind=function(_c3,_c4){return function(){_c3[_c4].apply(_c3,arguments)}};this.escape=function(str){return escape(str).replace(/\+/g,"%2B")};this.copyProperties=function(_c6,to){for(var _c8 in _c6){if(to[_c8]===undefined){to[_c8]=_c6[_c8]}}return to};this.domain=function(){var _c9="";try{_c9=document.domain}catch(e){}return _c9};this.domainMatches=function(_ca,_cb){if(_cb=="*"||_cb==_ca){return true}var _cc=_cb.lastIndexOf("*");if(_cc>-1){_cb=_cb.substr(_cc+1);var _cd=_ca.lastIndexOf(_cb);if(_cd>-1&&(_cd+_cb.length)==_ca.length){return true}}return false};this.uriEncode=function(s){return encodeURI(decodeURIComponent(s))}};this.util=_a2;var _cf={};_cf.fragmentIdentifier=new function(){this.fix=true;var _d0;this.cache=function(){_d0=document.title};function doFix(){document.title=_d0}this.restore=function(){if(this.fix){setTimeout(doFix,0)}}};this.hacks=_cf;_cf.pageLoad=new function(){var _d1=null;function pollLoad(){try{if(ua.ie||document.readyState!="loaded"&&document.readyState!="complete"){document.documentElement.doScroll("left")}}catch(e){return setTimeout(pollLoad,10)}afterDomLoad()}function afterDomLoad(){if(_3b.useStyleCheck){checkStyle()}else{if(!ua.mustCheckStyle){fire(null,true)}}}function checkStyle(){_d1=dom.create("div");_d1.className=_45;dom.getBody().appendChild(_d1);pollStyle()}function pollStyle(){if(dom.getComputedStyle(_d1,"marginLeft")=="42px"){afterStyle()}else{setTimeout(pollStyle,10)}}function afterStyle(){if(_d1&&_d1.parentNode){_d1.parentNode.removeChild(_d1)}_d1=null;fire(null,true)}function fire(evt,_d3){_3b.initialize(_d3);if(evt&&evt.type=="load"){if(document.removeEventListener){document.removeEventListener("DOMContentLoaded",fire,false)}if(window.removeEventListener){window.removeEventListener("load",fire,false)}}}this.attach=function(){if(window.addEventListener){window.addEventListener("load",fire,false)}else{window.attachEvent("onload",fire)}if(!_3b.useDomLoaded||ua.forcePageLoad||ua.ie&&window.top!=window){return}if(ua.nativeDomLoaded){document.addEventListener("DOMContentLoaded",afterDomLoad,false)}else{if(ua.ie||ua.khtml){pollLoad()}}}};this.errors={};var _d4={kwargs:[],replaceAll:function(_d5){for(var i=0;i<this.kwargs.length;i++){_3b.replace(this.kwargs[i])}if(!_d5){this.kwargs=[]}}};function isValidDomain(){if(_3b.domains.length==0){return true}var _d7=_a2.domain();for(var i=0;i<_3b.domains.length;i++){var _d9=_3b.domains[i];if(_a2.domainMatches(_d7,_d9)){return true}}return false}function isFile(){if(!_3b.fromLocal&&document.location.protocol=="file:"){if(_3b.debug){_3b.errors.fire("isFile")}return true}return false}function resize(){var _da=resize.viewport;resize.viewport={width:window.innerWidth||document.documentElement.clientWidth||dom.getBody().clientWidth,height:window.innerHeight||document.documentElement.clientHeight||dom.getBody().clientHeight};if(_da&&resize.viewport.width==_da.width&&resize.viewport.height==_da.height){return}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)}function scroll(){for(var i=0;i<_3b.callbacks.length;i++){_3b.callbacks[i].call("scale")}}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()}_cf.fragmentIdentifier.fix=ua.ieWin&&_cf.fragmentIdentifier.fix&&window.location.hash!="";if(_cf.fragmentIdentifier.fix){_cf.fragmentIdentifier.cache()}if(!this.registerEvents){return}_cf.pageLoad.attach();if(ua.ie){window.attachEvent("onunload",function(){dom.addClass(_3d,document.documentElement)})}};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(_dd){if(!this.isActive||!this.isEnabled){return}if(_4f){if(!_dd){_d4.replaceAll(false)}return}_4f=true;_d4.replaceAll(_dd);if(_3b.repaintOnResize){if(window.addEventListener){window.addEventListener("resize",resize,false);window.addEventListener("scroll",scroll,false)}else{window.attachEvent("onresize",resize);window.attachEvent("onscroll",scroll)}}clearPrefetch()};function getSource(src){if(typeof (src)!="string"){if(src.src){src=src.src}if(typeof (src)!="string"){var _df=[];for(var _e0 in src){if(src[_e0]!=Object.prototype[_e0]){_df.push(_e0)}}_df.sort().reverse();var _e1="";var i=-1;while(!_e1&&++i<_df.length){if(parseFloat(_df[i])<=ua.flashVersion){_e1=src[_df[i]]}}src=_e1}}if(!src&&_3b.debug){_3b.errors.fire("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(";?"+_49+"=true;?").test(document.cookie)){return}try{_4e=true;if(ua.ieWin){prefetchIexplore(arguments)}else{prefetchLight(arguments)}if(this.setPrefetchCookie){document.cookie=_49+"=true;path="+this.cookiePath}}catch(e){if(_3b.debug){throw e}}};function prefetchIexplore(_e3){for(var i=0;i<_e3.length;i++){document.write("<script defer type=\"sifr/prefetch\" src=\""+getSource(_e3[i])+"\"></script>")}}function prefetchLight(_e5){for(var i=0;i<_e5.length;i++){new Image().src=getSource(_e5[i])}}function clearPrefetch(){if(!ua.ieWin||!_4e){return}try{var _e7=document.getElementsByTagName("script");for(var i=_e7.length-1;i>=0;i--){var _e9=_e7[i];if(_e9.type=="sifr/prefetch"){_e9.parentNode.removeChild(_e9)}}}catch(e){}}function getRatio(_ea,_eb){for(var i=0;i<_eb.length;i+=2){if(_ea<=_eb[i]){return _eb[i+1]}}return _eb[_eb.length-1]||1}function getFilters(obj){var _ee=[];for(var _ef in obj){if(obj[_ef]==Object.prototype[_ef]){continue}var _f0=obj[_ef];_ef=[_ef.replace(/filter/i,"")+"Filter"];for(var _f1 in _f0){if(_f0[_f1]==Object.prototype[_f1]){continue}_ef.push(_f1+":"+_a2.escape(_a2.toJson(_a2.toHexString(_f0[_f1]))))}_ee.push(_ef.join(","))}return _a2.escape(_ee.join(";"))}function calculate(_f2){var _f3,_f4;if(!ua.ie){_f3=dom.getStyleAsInt(_f2,"lineHeight");_f4=Math.floor(dom.getStyleAsInt(_f2,"height")/_f3)}else{if(ua.ie){var _f5=dom.getComputedStyle(_f2,"fontSize");if(_f5.indexOf("px")>0){_f3=parseInt(_f5)}else{var _f6=_f2.innerHTML;_f2.style.visibility="visible";_f2.style.overflow="visible";_f2.style.position="static";_f2.style.zoom="normal";_f2.style.writingMode="lr-tb";_f2.style.width=_f2.style.height="auto";_f2.style.maxWidth=_f2.style.maxHeight=_f2.style.styleFloat="none";var _f7=_f2;var _f8=_f2.currentStyle.hasLayout;if(_f8){_f2.innerHTML="<div class=\""+_43+"\">X<br />X<br />X</div>";_f7=_f2.firstChild}else{_f2.innerHTML="X<br />X<br />X"}var _f9=_f7.getClientRects();_f3=_f9[1].bottom-_f9[1].top;_f3=Math.ceil(_f3*0.8);if(_f8){_f2.innerHTML="<div class=\""+_43+"\">"+_f6+"</div>";_f7=_f2.firstChild}else{_f2.innerHTML=_f6}_f9=_f7.getClientRects();_f4=_f9.length;if(_f8){_f2.innerHTML=_f6}_f2.style.visibility=_f2.style.width=_f2.style.height=_f2.style.maxWidth=_f2.style.maxHeight=_f2.style.overflow=_f2.style.styleFloat=_f2.style.position=_f2.style.zoom=_f2.style.writingMode=""}}}return {lineHeight:_f3,lines:_f4}}this.replace=function(_fa,_fb){if(!ua.supported){return}if(_fb){_fa=_a2.copyProperties(_fa,_fb)}if(!_4f){return _d4.kwargs.push(_fa)}if(_3b.onReplacementStart){_3b.onReplacementStart(_fa)}var _fc=_fa.elements;if(!_fc&&parseSelector){_fc=parseSelector(_fa.selector)}if(_fc.length==0){return}this.setFlashClass();var src=getSource(_fa.src);var css=_a2.convertCssArg(_fa.css);var _ff=getFilters(_fa.filters);var _100=(_fa.forceClear==null)?_3b.forceClear:_fa.forceClear;var _101=(_fa.fitExactly==null)?_3b.fitExactly:_fa.fitExactly;var _102=_101||(_fa.forceWidth==null?_3b.forceWidth:_fa.forceWidth);var _103=!!(_fa.preventWrap&&!_fa.forceSingleLine);var _104=parseInt(_a2.extractFromCss(css,".sIFR-root","leading"))||0;var _105=_a2.extractFromCss(css,".sIFR-root","font-size",true)||0;var _106=_a2.extractFromCss(css,".sIFR-root","background-color",true)||"#FFFFFF";var _107=_a2.extractFromCss(css,".sIFR-root","kerning",true)||"";var _108=_fa.gridFitType||_a2.extractFromCss(css,".sIFR-root","text-align")=="right"?"subpixel":"pixel";var _109=_3b.forceTextTransform?_a2.extractFromCss(css,".sIFR-root","text-transform",true)||"none":"none";var _10a=_a2.extractFromCss(css,".sIFR-root","opacity",true)||"100";var _10b=_a2.extractFromCss(css,".sIFR-root","cursor",true)||"default";var _10c=_fa.pixelFont||false;var _10d=_fa.ratios||_4a;var _10e=parseInt(_fa.tuneHeight)||0;var _10f=!!_fa.onRelease||!!_fa.onRollOver||!!_fa.onRollOut;if(parseInt(_105).toString()!=_105&&_105.indexOf("px")==-1){_105=0}else{_105=parseInt(_105)}if(parseFloat(_10a)<1){_10a=100*parseFloat(_10a)}var _110="";if(_101){_a2.extractFromCss(css,".sIFR-root","text-align",true)}if(!_fa.modifyCss){_110=_a2.cssToString(css)}var _111=_fa.wmode||"";if(!_111){if(_fa.transparent){_111="transparent"}else{if(_fa.opaque){_111="opaque"}}}if(_111=="transparent"){if(!ua.transparencySupport){_111="opaque"}else{_106="transparent"}}for(var i=0;i<_fc.length;i++){var node=_fc[i];if(dom.hasOneOfClassses([_3e,_40,_41],node)){continue}var _114=dom.getDimensions(node);var _115=_114.height;var _116=_114.width;var _117=dom.getComputedStyle(node,"display");if(!_115||!_116||_117==null||_117=="none"){continue}if(_100&&ua.gecko){node.style.clear="both"}var html=null;if(_3b.fixWrap&&ua.ie&&_117=="block"){html=node.innerHTML;node.innerHTML="X"}_116=dom.getWidthFromStyle(node);if(html&&_3b.fixWrap&&ua.ie){node.innerHTML=html}var _119,_11a;if(!_105){var _11b=calculate(node);_119=Math.min(_47,Math.max(_46,_11b.lineHeight));if(_10c){_119=Math.max(8,8*Math.round(_119/8))}_11a=_11b.lines;if(isNaN(_11a)||!isFinite(_11a)||_11a==0){_11a=1}if(_11a>1&&_104){_115+=Math.round((_11a-1)*_104)}}else{_119=_105;_11a=1}_115=Math.round(_11a*_119);if(_100&&ua.gecko){node.style.clear=""}var _11c=dom.create("span");_11c.className=_41;var _11d=node.cloneNode(true);node.parentNode.appendChild(_11d);for(var j=0,l=_11d.childNodes.length;j<l;j++){_11c.appendChild(_11d.childNodes[j].cloneNode(true))}if(_fa.modifyContent){_fa.modifyContent(_11d,_fa.selector)}if(_fa.modifyCss){_110=_fa.modifyCss(css,_11d,_fa.selector)}var _120=_3b.fixHover&&dom.contentIsLink(_11d);var _121=handleContent(_11d,_109,_fa.uriEncode);_11d.parentNode.removeChild(_11d);if(_fa.modifyContentString){_121.text=_fa.modifyContentString(_121.text,_fa.selector)}if(_121.text==""){continue}var _122=Math.round(_11a*getRatio(_119,_10d)*_119)+_4b+_10e;var _123=_102?_116:"100%";var vars=["content="+_a2.escape(_121.text),"antialiastype="+(_fa.antiAliasType||""),"width="+_116,"height="+_115,"renderheight="+_122,"fitexactly="+_101,"tunewidth="+(_fa.tuneWidth||0),"tuneheight="+_10e,"offsetleft="+(_fa.offsetLeft||""),"offsettop="+(_fa.offsetTop||""),"thickness="+(_fa.thickness||""),"sharpness="+(_fa.sharpness||""),"kerning="+_107,"gridfittype="+_108,"flashfilters="+_ff,"opacity="+_10a,"blendmode="+(_fa.blendMode||""),"size="+_119,"css="+_a2.escape(_110),"selectable="+(_fa.selectable==null?"true":_fa.selectable),"fixhover="+_120,"preventwrap="+_103,"forcesingleline="+(_fa.forceSingleLine===true),"link="+_a2.escape(_121.primaryLink[0]||""),"target="+_a2.escape(_121.primaryLink[1]||""),"events="+_10f,"cursor="+_10b,"version="+_4c];var _125=encodeVars(vars);var _126="sIFR_callback_"+_4d++;var _127=new CallbackInfo(_126,vars,_102,{onReplacement:_fa.onReplacement,onRollOver:_fa.onRollOver,onRollOut:_fa.onRollOut,onRelease:_fa.onRelease});window[_126+"_DoFSCommand"]=(function(_128){return function(info,arg){_128.handle(info,arg)}})(_127);_11c.setAttribute("id",_126+"_alternate");var _12b=ua.ie?dom.swf.ie:dom.swf.other;var _12c=dom.swf.create(_12b,ua.fixFocus&&_fa.fixFocus,_126,_123,_122,src,_125,_111,_106);_12b.insert(node,_12c);_127.html=_12c;_3b.callbacks.push(_127);if(_fa.selector){if(!_3b.callbacks[_fa.selector]){_3b.callbacks[_fa.selector]=[_127]}else{_3b.callbacks[_fa.selector].push(_127)}}node.appendChild(_11c);dom.addClass(_3e,node)}_cf.fragmentIdentifier.restore()};this.getCallbackByFlashElement=function(node){for(var i=0;i<_3b.callbacks.length;i++){if(_3b.callbacks[i].id==node.getAttribute("id")){return _3b.callbacks[i]}}};this.redraw=function(){for(var i=0;i<_3b.callbacks.length;i++){_3b.callbacks[i].resetMovie()}};function encodeVars(vars){return vars.join("&").replace(/%/g,"%25")}function handleContent(_131,_132,_133){_133=_133||_a2.uriEncode;var _134=[],_135=[],_136=[];var _137=_131.childNodes;var i=0;while(i<_137.length){var node=_137[i];if(node.nodeType==3){var text=_a2.normalize(node.nodeValue);text=_a2.textTransform(_132,text);text=text.replace(/</g,"&lt;");_135.push(text)}if(node.nodeType==1){var _13b=[];var _13c=node.nodeName.toLowerCase();var _13d=node.className||"";if(/\s+/.test(_13d)){if(_13d.indexOf(_42)>-1){_13d=_13d.match("(\\s|^)"+_42+"-([^\\s$]*)(\\s|$)")[2]}else{_13d=_13d.match(/^([^\s]+)/)[1]}}if(_13d!=""){_13b.push("class=\""+_13d+"\"")}if(_13c=="a"){var href=_133(node.getAttribute("href")||"");var _13f=node.getAttribute("target")||"";_13b.push("href=\""+href+"\"","target=\""+_13f+"\"");if(_136.length==0){_136=[href,_13f]}}_135.push("<"+_13c+(_13b.length>0?" ":"")+_13b.join(" ")+">");if(node.hasChildNodes()){_134.push(i);i=0;_137=node.childNodes;continue}else{if(!/^(br|img)$/i.test(node.nodeName)){_135.push("</",node.nodeName.toLowerCase(),">")}}}if(_134.length>0&&!node.nextSibling){do{i=_134.pop();_137=node.parentNode.parentNode.childNodes;node=_137[i];if(node){_135.push("</",node.nodeName.toLowerCase(),">")}}while(i==_137.length-1&&_134.length>0)}i++}return {text:_135.join("").replace(/\n|\r/g,""),primaryLink:_136}}function CallbackInfo(id,vars,_142,_143){this.id=id;this.vars=vars;this._events=_143;this._forceWidth=_142;this._firedReplacementEvent=!(_143.onReplacement!=null);this.html=null}CallbackInfo.prototype.getFlashElement=function(){return document.getElementById(this.id)};CallbackInfo.prototype.available=function(){var _144=this.getFlashElement();return _144&&_144.parentNode};CallbackInfo.prototype.handle=function(info,arg){if(!this.available()){return}switch(/(FSCommand\:)?(.+)/.exec(info)[2]){case "resize":var _147=this.getFlashElement();var $=arg.split(/\:|,/);_147.setAttribute($[0],$[1]);if($.length>2){_147.style[$[2]]=$[3]+"px"}if(ua.khtml){var _149=_147.offsetHeight}if(!this._firedReplacementEvent){this._events.onReplacement(this);this._firedReplacementEvent=true}break;case "resetmovie":this.resetMovie();break;case "blur":dom.blurElement(this.getFlashElement());break;case "event":if(this._events[arg]){this._events[arg](this)}break;default:if(this.debugHandler&&/(FSCommand\:)?debug/.test(info)){this.debugHandler(info,arg)}}};CallbackInfo.prototype.call=function(type,_14b){if(!this.available()){return false}var _14c=this.getFlashElement();try{_14c.SetVariable("callbackType",type);_14c.SetVariable("callbackValue",_14b);_14c.SetVariable("callbackTrigger",true)}catch(e){return false}return true};CallbackInfo.prototype.replaceText=function(_14d,_14e){var _14f=_a2.escape(_14d);this.updateVars("content",_14f);if(this.call("replacetext",_14f)){var node=this.getAlternate();if(_14e){while(node.firstChild){node.removeChild(node.firstChild)}for(var i=0;i<_14e.length;i++){node.appendChild(_14e[i])}}else{try{node.innerHTML=_14d}catch(e){}}return true}return false};CallbackInfo.prototype.updateVars=function(name,_153){for(var i=0;i<this.vars.length;i++){if(this.vars[i].split("=")[0]==name){this.vars[i]=name+"="+_153;break}}};CallbackInfo.prototype.resetMovie=function(){if(!this.available()){return}var _155=this.getFlashElement();var node=_155.parentNode;var vars=encodeVars(this.vars);if(ua.ie){this.html=this.html.replace(/(flashvars(=|\"\svalue=)\")[^\"]+/,"$1"+vars);node.replaceChild(dom.nodeFromHtml(this.html),_155)}else{var _158=this.html.getElementsByTagName("param");for(var i=0;i<_158.length;i++){if(_158[i].getAttribute("name")=="flashvars"){_158[i].setAttribute("value",vars);break}}node.replaceChild(this.html.cloneNode(true),_155)}};CallbackInfo.prototype.resize=function(){if(!this.available()){return}var _15a=this.getFlashElement();var _15b=_15a.parentNode;var _15c=_15a.offsetWidth;var _15d=_15a.getAttribute("width");var _15e=_15a.getAttribute("height");_15a.style.width="0px";_15a.style.height="0px";_15a.parentNode.style.minHeight=_15e;var _15f=this.getAlternate().childNodes;var _160=[];for(var i=0;i<_15f.length;i++){var node=_15f[i].cloneNode(true);_160.push(node);_15b.appendChild(node)}var _163=dom.getWidthFromStyle(_15b);for(var i=0;i<_160.length;i++){_15b.removeChild(_160[i])}_15a.style.width=_15a.style.height=_15a.parentNode.style.minHeight="";_15a.setAttribute("width",this._forceWidth?_163:_15d);_15a.setAttribute("height",_15e);if(_163!=_15c){this.call("resize",_163)}else{this.call("scale")}};CallbackInfo.prototype.changeCSS=function(css){css=_a2.escape(_a2.cssToString(_a2.convertCssArg(css)));this.updateVars("css",css);return this.call("changecss",css)};CallbackInfo.prototype.getAlternate=function(){return document.getElementById(this.id+"_alternate")}};