/*=:project
    scalable Inman Flash Replacement (sIFR) version 3, revision 299

  =: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;var _4a="299";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 _4b=0;var _4c=false,_4d=false;var dom=new function(){var _4f="http://www.w3.org/1999/xhtml";this.getBody=function(){var _50=document.getElementsByTagName("body");if(_50.length==1){return _50[0]}return null};this.addClass=function(_51,_52){if(_52){_52.className=((_52.className||"")==""?"":_52.className+" ")+_51}};this.removeClass=function(_53,_54){if(_54){_54.className=_54.className.replace(new RegExp("(^|\\s)"+_53+"(\\s|$)"),"").replace(/^\s+|(\s)\s+/g,"$1")}};this.hasClass=function(_55,_56){return new RegExp("(^|\\s)"+_55+"(\\s|$)").test(_56.className)};this.hasOneOfClassses=function(_57,_58){for(var i=0;i<_57.length;i++){if(this.hasClass(_57[i],_58)){return true}}return false};this.create=function(_5a){if(document.createElementNS){return document.createElementNS(_4f,_5a)}return document.createElement(_5a)};this.setInnerHtml=function(_5b,_5c){if(ua.innerHtmlSupport){_5b.innerHTML=_5c}else{if(ua.xhtmlSupport){_5c=["<root xmlns=\"",_4f,"\">",_5c,"</root>"].join("");var xml=(new DOMParser()).parseFromString(_5c,"text/xml");xml=document.importNode(xml.documentElement,true);while(_5b.firstChild){_5b.removeChild(_5b.firstChild)}while(xml.firstChild){_5b.appendChild(xml.firstChild)}}}};this.nodeFromHtml=function(_5e){var _5f=this.create("div");_5f.innerHTML=_5e;return _5f.firstChild};this.getComputedStyle=function(_60,_61){var _62;if(document.defaultView&&document.defaultView.getComputedStyle){_62=document.defaultView.getComputedStyle(_60,null)[_61]}else{if(_60.currentStyle){_62=_60.currentStyle[_61]}}return _62||""};this.getStyleAsInt=function(_63,_64,_65){var _66=this.getComputedStyle(_63,_64);if(_65&&!/px$/.test(_66)){return 0}_66=parseInt(_66);return isNaN(_66)?0:_66};this.getWidthFromStyle=function(_67){var _68=this.getStyleAsInt(_67,"width",ua.ie);if(_68==0){var _69=this.getStyleAsInt(_67,"paddingRight",true);var _6a=this.getStyleAsInt(_67,"paddingLeft",true);var _6b=this.getStyleAsInt(_67,"borderRightWidth",true);var _6c=this.getStyleAsInt(_67,"borderLeftWidth",true);_68=_67.offsetWidth-_6a-_69-_6c-_6b}return _68};this.getZoom=function(){return _9e.zoom.getLatest()};this.blurElement=function(_6d){if(ua.gecko){_6d.blur();return}var _6f=dom.create("input");_6f.style.width="0px";_6f.style.height="0px";_6d.parentNode.appendChild(_6f);_6f.focus();_6f.blur();_6f.parentNode.removeChild(_6f)}};this.dom=dom;var ua=new function(){var ua=navigator.userAgent.toLowerCase();var _71=(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=_71.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&&_71=="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 _73=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){_73=this.flashVersion==6}if(!_73){try{axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash")}catch(e){}}}if(!_73&&axo){this.flashVersion=parseFloat(/([\d,?]+)/.exec(axo.GetVariable("$version"))[1].replace(/,/g,"."))}}else{if(navigator.plugins&&navigator.plugins["Shockwave Flash"]){var _74=navigator.plugins["Shockwave Flash"];this.flashVersion=parseFloat(/(\d+\.?\d*)/.exec(_74.description)[1]);var i=0;while(this.flashVersion>=_46&&i<navigator.mimeTypes.length){var _76=navigator.mimeTypes[i];if(_76.type=="application/x-shockwave-flash"&&_76.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 _77=document.getElementsByTagName("head")[0];_77.style.backgroundColor="#FF0000";var _78=dom.getComputedStyle(_77,"backgroundColor");this.css=!_78||/\#F{2}0{4}|rgb\(255,\s?0,\s?0\)/i.test(_78);_77.style.backgroundColor="";_77=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 _7a=new function(){var _7b={leading:true,"margin-left":true,"margin-right":true,"text-indent":true};var _7c=" ";function capitalize($){return $.toUpperCase()}this.normalize=function(str){if(_3b.preserveSingleWhitespace){return str.replace(/\s/g,_7c)}return str.replace(/(\s)\s+/g,"$1").replace(/\xA0/,_7c)};this.textTransform=function(_7f,str){switch(_7f){case "uppercase":str=str.toUpperCase();break;case "lowercase":str=str.toLowerCase();break;case "capitalize":var _81=str;str=str.replace(/^\w|\s\w/g,capitalize);if(str.indexOf("function capitalize")!=-1){var _82=_81.replace(/(^|\s)(\w)/g,"$1$1$2$2").split(/^\w|\s\w/g);str="";for(var i=0;i<_82.length;i++){str+=_82[i].charAt(0).toUpperCase()+_82[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 _86="";switch(typeof (obj)){case "string":_86="\""+obj+"\"";break;case "number":case "boolean":_86=obj.toString();break;case "object":_86=[];for(var _87 in obj){if(obj[_87]==Object.prototype[_87]){continue}_86.push("\""+_87+"\":"+_7a.toJson(obj[_87]))}_86="{"+_86.join(",")+"}";break}return _86};this.convertCssArg=function(arg){if(!arg){return {}}if(typeof (arg)=="object"){if(arg.constructor==Array){arg=arg.join("")}else{return arg}}var obj={};var _8a=arg.split("}");for(var i=0;i<_8a.length;i++){var $=_8a[i].match(/([^\s{]+)\s*\{(.+)\s*;?\s*/);if(!$||$.length!=3){continue}if(!obj[$[1]]){obj[$[1]]={}}var _8d=$[2].split(";");for(var j=0;j<_8d.length;j++){var $2=_8d[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,_91,_92,_93){var _94=null;if(css&&css[_91]&&css[_91][_92]){_94=css[_91][_92];if(_93){delete css[_91][_92]}}return _94};this.cssToString=function(arg){var css=[];for(var _97 in arg){var _98=arg[_97];if(_98==Object.prototype[_97]){continue}css.push(_97,"{");for(var _99 in _98){if(_98[_99]==Object.prototype[_99]){continue}var _9a=_98[_99];if(_7b[_99]){_9a=parseInt(_9a,10)}css.push(_99,":",_9a,";")}css.push("}")}return css.join("")};this.bind=function(_9b,_9c){return function(){_9b[_9c].apply(_9b,arguments)}};this.escape=function(str){return escape(str).replace(/\+/g,"%2B")}};this.util=_7a;var _9e={};_9e.fragmentIdentifier=new function(){this.fix=true;var _9f;this.cache=function(){_9f=document.title};function doFix(){document.title=_9f}this.restore=function(){if(this.fix){setTimeout(doFix,0)}}};_9e.synchronizer=new function(){this.isBlocked=false;this.block=function(){this.isBlocked=true};this.unblock=function(){this.isBlocked=false;_a0.replaceAll()}};_9e.zoom=new function(){var _a1=100;this.getLatest=function(){return _a1};if(ua.zoomSupport&&ua.opera){var _a2=document.createElement("div");_a2.style.position="fixed";_a2.style.left="-65536px";_a2.style.top="0";_a2.style.height="100%";_a2.style.width="1px";_a2.style.zIndex="-32";document.documentElement.appendChild(_a2);function updateZoom(){if(!_a2){return}var _a3=window.innerHeight/_a2.offsetHeight;var _a4=Math.round(_a3*100)%10;if(_a4>5){_a3=Math.round(_a3*100)+10-_a4}else{_a3=Math.round(_a3*100)-_a4}_a1=isNaN(_a3)?100:_a3;_9e.synchronizer.unblock();document.documentElement.removeChild(_a2);_a2=null}_9e.synchronizer.block();setTimeout(updateZoom,54)}};this.hacks=_9e;this.errors={};var _a5={kwargs:[],replaceAll:function(_a6){for(var i=0;i<this.kwargs.length;i++){_3b.replace(this.kwargs[i])}if(!_a6){this.kwargs=[]}}};var _a0={kwargs:[],replaceAll:_a5.replaceAll};function isValidDomain(){if(_3b.domains.length==0){return true}var _a8="";try{_a8=document.domain}catch(e){}for(var i=0;i<_3b.domains.length;i++){var _aa=_3b.domains[i];if(_aa=="*"||_aa==_a8){return true}var _ab=_aa.lastIndexOf("*");if(_ab>-1){_aa=_aa.substr(_ab+1);var _ac=_a8.lastIndexOf(_aa);if(_ac>-1&&(_ac+_aa.length)==_a8.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}function resize(){var _ad=resize.viewport;resize.viewport={width:window.innerWidth||document.documentElement.clientWidth||dom.getBody().clientWidth,height:window.innerHeight||document.documentElement.clientHeight||dom.getBody().clientHeight};if(_ad&&resize.viewport.width==_ad.width&&resize.viewport.height==_ad.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)}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&&_9e.fragmentIdentifier.fix&&window.location.hash!=""){_9e.fragmentIdentifier.cache()}else{_9e.fragmentIdentifier.fix=false}if(!this.registerEvents){return}function handler(evt,_b0){_3b.initialize(_b0);if(evt&&evt.type=="load"){if(document.removeEventListener){document.removeEventListener("DOMContentLoaded",handler,false)}if(window.removeEventListener){window.removeEventListener("load",handler,false)}}}if(window.addEventListener){if(_3b.useDomContentLoaded&&ua.gecko){document.addEventListener("DOMContentLoaded",handler,false)}window.addEventListener("load",handler,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)}}};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(_b1){if(!this.isActive||!this.isEnabled){return}if(_4d){if(!_b1){_a5.replaceAll(false)}return}_4d=true;_a5.replaceAll(_b1);if(_3b.repaintOnResize){if(window.addEventListener){window.addEventListener("resize",resize,false)}else{window.attachEvent("onresize",resize)}}clearPrefetch()};function getSource(src){if(typeof (src)!="string"){if(src.src){src=src.src}if(typeof (src)!="string"){var _b3=[];for(var _b4 in src){if(src[_b4]!=Object.prototype[_b4]){_b3.push(_b4)}}_b3.sort().reverse();var _b5="";var i=-1;while(!_b5&&++i<_b3.length){if(parseFloat(_b3[i])<=ua.flashVersion){_b5=src[_b3[i]]}}src=_b5}}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{_4c=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(_b7){for(var i=0;i<_b7.length;i++){document.write("<script defer type=\"sifr/prefetch\" src=\""+getSource(_b7[i])+"\"></script>")}}function prefetchLight(_b9){for(var i=0;i<_b9.length;i++){new Image().src=getSource(_b9[i])}}function clearPrefetch(){if(!ua.ieWin||!_4c){return}try{var _bb=document.getElementsByTagName("script");for(var i=_bb.length-1;i>=0;i--){var _bd=_bb[i];if(_bd.type=="sifr/prefetch"){_bd.parentNode.removeChild(_bd)}}}catch(e){}}function getRatio(_be,_bf){for(var i=0;i<_bf.length;i+=2){if(_be<=_bf[i]){return _bf[i+1]}}return _bf[_bf.length-1]||1}function getFilters(obj){var _c2=[];for(var _c3 in obj){if(obj[_c3]==Object.prototype[_c3]){continue}var _c4=obj[_c3];_c3=[_c3.replace(/filter/i,"")+"Filter"];for(var _c5 in _c4){if(_c4[_c5]==Object.prototype[_c5]){continue}_c3.push(_c5+":"+_7a.escape(_7a.toJson(_7a.toHexString(_c4[_c5]))))}_c2.push(_c3.join(","))}return _7a.escape(_c2.join(";"))}function calculate(_c6){var _c7,_c8;if(!ua.ie){_c7=dom.getStyleAsInt(_c6,"lineHeight");_c8=Math.floor(dom.getStyleAsInt(_c6,"height")/_c7)}else{if(ua.ie){var _c9=dom.getComputedStyle(_c6,"fontSize");if(_c9.indexOf("px")>0){_c7=parseInt(_c9)}else{var _ca=_c6.innerHTML;_c6.style.visibility="visible";_c6.style.overflow="visible";_c6.style.position="static";_c6.style.zoom="normal";_c6.style.writingMode="lr-tb";_c6.style.width=_c6.style.height="auto";_c6.style.maxWidth=_c6.style.maxHeight=_c6.style.styleFloat="none";var _cb=_c6;var _cc=_c6.currentStyle.hasLayout;if(_cc){dom.setInnerHtml(_c6,"<div class=\""+_43+"\">X<br />X<br />X</div>");_cb=_c6.firstChild}else{dom.setInnerHtml(_c6,"X<br />X<br />X")}var _cd=_cb.getClientRects();_c7=_cd[1].bottom-_cd[1].top;_c7=Math.ceil(_c7*0.8);if(_cc){dom.setInnerHtml(_c6,"<div class=\""+_43+"\">"+_ca+"</div>");_cb=_c6.firstChild}else{dom.setInnerHtml(_c6,_ca)}_cd=_cb.getClientRects();_c8=_cd.length;if(_cc){dom.setInnerHtml(_c6,_ca)}_c6.style.visibility=_c6.style.width=_c6.style.height=_c6.style.maxWidth=_c6.style.maxHeight=_c6.style.overflow=_c6.style.styleFloat=_c6.style.position=_c6.style.zoom=_c6.style.writingMode=""}}}return {lineHeight:_c7,lines:_c8}}function shouldDelayCSS(){return !ua.opera&&!ua.ie&&_3b.delayCSS}this.replace=function(_ce,_cf){if(!ua.supported){return}if(_cf){for(var _d0 in _ce){if(typeof (_cf[_d0])=="undefined"){_cf[_d0]=_ce[_d0]}}_ce=_cf}if(!_4d){return _a5.kwargs.push(_ce)}if(_9e.synchronizer.isBlocked){return _a0.kwargs.push(_ce)}var _d1=_ce.elements;if(!_d1&&parseSelector){_d1=parseSelector(_ce.selector)}if(_d1.length==0){return}this.setFlashClass();var src=getSource(_ce.src);var css=_7a.convertCssArg(_ce.css);var _d4=getFilters(_ce.filters);var _d5=(_ce.forceClear==null)?_3b.forceClear:_ce.forceClear;var _d6=(_ce.fitExactly==null)?_3b.fitExactly:_ce.fitExactly;var _d7=_d6||(_ce.forceWidth==null?_3b.forceWidth:_ce.forceWidth);var _d8=parseInt(_7a.extractFromCss(css,".sIFR-root","leading"))||0;var _d9=_7a.extractFromCss(css,".sIFR-root","font-size",true)||0;var _da=_7a.extractFromCss(css,".sIFR-root","background-color",true)||"#FFFFFF";var _db=_7a.extractFromCss(css,".sIFR-root","kerning",true)||"";var _dc=_ce.gridFitType||_7a.extractFromCss(css,".sIFR-root","text-align")=="right"?"subpixel":"pixel";var _dd=_3b.forceTextTransform?_7a.extractFromCss(css,".sIFR-root","text-transform",true)||"none":"none";var _de=_7a.extractFromCss(css,".sIFR-root","opacity",true)||"100";var _df=_ce.pixelFont||false;var _e0=_ce.ratios||_48;var _e1=parseInt(_ce.tuneHeight)||0;if(parseInt(_d9).toString()!=_d9&&_d9.indexOf("px")==-1){_d9=0}else{_d9=parseInt(_d9)}if(parseFloat(_de)<1){_de=100*parseFloat(_de)}var _e2="";if(_d6){_7a.extractFromCss(css,".sIFR-root","text-align",true)}if(!_ce.modifyCss){_e2=_7a.cssToString(css)}var _e3=_ce.wmode||"";if(!_e3){if(_ce.transparent){_e3="transparent"}else{if(_ce.opaque){_e3="opaque"}}}if(_e3=="transparent"){if(!ua.transparencySupport){_e3="opaque"}else{_da="transparent"}}for(var i=0;i<_d1.length;i++){var _e5=_d1[i];if(!ua.verifiedKonqueror){if(dom.getComputedStyle(_e5,"lineHeight").match(/e\+08px/)){ua.supported=_3b.isEnabled=false;this.removeFlashClass();return}ua.verifiedKonqueror=true}if(dom.hasOneOfClassses([_3d,_3e,_40,_41],_e5)){continue}var _e6=_e5.offsetHeight;var _e7=_e5.offsetWidth;var _e8=dom.getComputedStyle(_e5,"display");if(!_e6||!_e7||_e8==null||_e8=="none"){continue}if(_d5&&ua.gecko){_e5.style.clear="both"}var _e9=null;if(_3b.fixWrap&&ua.ie&&_e8=="block"){_e9=_e5.innerHTML;dom.setInnerHtml(_e5,"X")}_e7=dom.getWidthFromStyle(_e5);if(_e9&&_3b.fixWrap&&ua.ie){dom.setInnerHtml(_e5,_e9)}var _ea,_eb;if(!_d9){var _ec=calculate(_e5);_ea=Math.min(_45,Math.max(_44,_ec.lineHeight));if(_df){_ea=Math.max(8,8*Math.round(_ea/8))}_eb=_ec.lines;if(isNaN(_eb)||!isFinite(_eb)||_eb==0){_eb=1}if(_eb>1&&_d8){_e6+=Math.round((_eb-1)*_d8)}}else{_ea=_d9;_eb=1}_e6=Math.round(_eb*_ea);if(_d5&&ua.gecko){_e5.style.clear=""}var _ed=dom.create("span");_ed.className=_41;var _ee=_e5.cloneNode(true);for(var j=0,l=_ee.childNodes.length;j<l;j++){_ed.appendChild(_ee.childNodes[j].cloneNode(true))}if(_ce.modifyContent){_ce.modifyContent(_ee,_ce.selector)}if(_ce.modifyCss){_e2=_ce.modifyCss(css,_ee,_ce.selector)}var _f1=handleContent(_ee,_dd);if(_ce.modifyContentString){_f1.text=_ce.modifyContentString(_f1.text,_ce.selector)}if(_f1==""){continue}var _f2=["content="+_7a.escape(_f1.text),"antialiastype="+(_ce.antiAliasType||""),"width="+_e7,"height="+_e6,"fitexactly="+(_d6?"true":""),"tunewidth="+(_ce.tuneWidth||""),"tuneheight="+_e1,"offsetleft="+(_ce.offsetLeft||""),"offsettop="+(_ce.offsetTop||""),"thickness="+(_ce.thickness||""),"sharpness="+(_ce.sharpness||""),"kerning="+_db,"gridfittype="+_dc,"zoomsupport="+ua.zoomSupport,"flashfilters="+_d4,"opacity="+_de,"blendmode="+(_ce.blendMode||""),"size="+_ea,"zoom="+dom.getZoom(),"css="+_7a.escape(_e2),"selectable="+(_ce.selectable==null?"true":_ce.selectable),"fixhover="+(_3b.fixHover?"true":""),"preventwrap="+(_ce.preventWrap?"true":"false"),"link="+_7a.escape(_f1.primaryLink[0]||""),"target="+_7a.escape(_f1.primaryLink[1]||""),"version="+_4a];var _f3=encodeVars(_f2);var _f4="sIFR_callback_"+_4b++;var _f5=new CallbackInfo(_f4,_f2,_ce.onReplacement);window[_f4+"_DoFSCommand"]=(function(_f6){return function(_f7,arg){_f6.handle(_f7,arg)}})(_f5);_ed.setAttribute("id",_f4+"_alternate");_e6=Math.round(_eb*getRatio(_ea,_e0)*_ea)+_49+_e1;var _f9=_d7?_e7:"100%";var _fa;if(ua.ie){_fa=["<object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" id=\"",_f4,"\" sifr=\"true\" width=\"",_f9,"\" height=\"",_e6,"\" class=\"",_3f,"\">","<param name=\"movie\" value=\"",src,"\"></param>","<param name=\"flashvars\" value=\"",_f3,"\"></param>","<param name=\"allowScriptAccess\" value=\"always\"></param>","<param name=\"quality\" value=\"best\"></param>","<param name=\"wmode\" value=\"",_e3,"\"></param>","<param name=\"bgcolor\" value=\"",_da,"\"></param>","<param name=\"name\" value=\"",_f4,"\"></param>","</object>","<scr","ipt event=FSCommand(info,args) for=",_f4,">",_f4,"_DoFSCommand(info, args);","</","script>"].join("")}else{_fa=["<embed type=\"application/x-shockwave-flash\"",(!shouldDelayCSS()?" class=\""+_3f+"\"":"")," src=\"",src,"\" quality=\"best\" flashvars=\"",_f3,"\" width=\"",_f9,"\" height=\"",_e6,"\" wmode=\"",_e3,"\" bgcolor=\"",_da,"\" name=\"",_f4,"\" id=\"",_f4,"\" allowScriptAccess=\"always\" sifr=\"true\"></embed>"].join("")}dom.setInnerHtml(_e5,_fa);_f5.flashNode=_e5.firstChild;_f5.html=_fa;_3b.callbacks.push(_f5);if(_ce.selector){if(!_3b.callbacks[_ce.selector]){_3b.callbacks[_ce.selector]=[_f5]}else{_3b.callbacks[_ce.selector].push(_f5)}}_e5.appendChild(_ed);dom.addClass(shouldDelayCSS()?_3e:_3d,_e5)}_9e.fragmentIdentifier.restore()};this.getCallbackByFlashElement=function(_fb){for(var i=0;i<_3b.callbacks.length;i++){if(_3b.callbacks[i].id==_fb.getAttribute("id")){return _3b.callbacks[i]}}};this.redraw=function(){for(var i=0;i<_3b.callbacks.length;i++){_3b.callbacks[i].resetMovie()}};function encodeVars(_fe){return _fe.join("&amp;").replace(/%/g,"%25")}function handleContent(_ff,_100){var _101=[],_102=[],_103=[];var _104=_ff.childNodes;var i=0;while(i<_104.length){var node=_104[i];if(node.nodeType==3){var text=_7a.normalize(node.nodeValue);text=_7a.textTransform(_100,text);_102.push(text)}if(node.nodeType==1){var _108=[];var _109=node.nodeName.toLowerCase();var _10a=node.className||"";if(/\s+/.test(_10a)){if(_10a.indexOf(_42)>-1){_10a=_10a.match("(\\s|^)"+_42+"-([^\\s$]*)(\\s|$)")[2]}else{_10a=_10a.match(/^([^\s]+)/)[1]}}if(_10a!=""){_108.push("class=\""+_10a+"\"")}if(_109=="a"){var href=encodeURI(node.getAttribute("href")||"");var _10c=node.getAttribute("target")||"";_108.push("href=\""+href+"\"","target=\""+_10c+"\"");if(_103.length==0){_103=[href,_10c]}}_102.push("<"+_109+(_108.length>0?" ":"")+_108.join(" ")+">");if(node.hasChildNodes()){_101.push(i);i=0;_104=node.childNodes;continue}else{if(!/^(br|img)$/i.test(node.nodeName)){_102.push("</",node.nodeName.toLowerCase(),">")}}}if(_101.length>0&&!node.nextSibling){do{i=_101.pop();_104=node.parentNode.parentNode.childNodes;node=_104[i];if(node){_102.push("</",node.nodeName.toLowerCase(),">")}}while(i==_104.length-1&&_101.length>0)}i++}return {text:_102.join("").replace(/\n|\r/g,""),primaryLink:_103}}function CallbackInfo(id,vars,_10f,_110){this.id=id;this.vars=vars;this._replacementHandler=_10f;this._firedReplacementEvent=!(this._replacementHandler!=null);this._fixHover=_110;this._setClasses=!shouldDelayCSS();this.html=""}CallbackInfo.prototype.getFlashElement=function(){return document.getElementById(this.id)};CallbackInfo.prototype.available=function(){var _111=this.getFlashElement();return _111&&_111.parentNode};CallbackInfo.prototype.handle=function(info,arg){if(!this.available()){return}if(/(FSCommand\:)?resize/.test(info)){var _114=this.getFlashElement();var $=arg.split(/\:|,/);_114.setAttribute($[0],$[1]);if($.length>2){_114.setAttribute($[2],$[3])}if(!this._setClasses){dom.addClass(_3f,_114);dom.removeClass(_3e,_114.parentNode);dom.addClass(_3d,_114.parentNode);this._setClasses=true}if(ua.khtml){var _116=_114.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,_118){if(!this.available()){return false}var _119=this.getFlashElement();try{_119.SetVariable("callbackType",type);_119.SetVariable("callbackValue",_118);_119.SetVariable("callbackTrigger",true)}catch(e){return false}return true};CallbackInfo.prototype.replaceText=function(_11a){_11a=_7a.escape(_11a);this.injectVars("content",_11a);return this.call("replacetext",_11a)};CallbackInfo.prototype.injectVars=function(name,_11c){for(var i=0;i<this.vars.length;i++){if(this.vars[i].split("=")[0]==name){this.vars[i]=name+"="+_11c;break}}this.html=this.html.replace(/(flashvars(=|\"\svalue=)\")[^\"]+/,"$1"+encodeVars(this.vars))};CallbackInfo.prototype.resetMovie=function(){if(!this.available()){return}var _11e=this.getFlashElement();var node=_11e.parentNode;node.replaceChild(dom.nodeFromHtml(this.html),_11e)};CallbackInfo.prototype.resize=function(){if(!this.available()){return}var _120=this.getFlashElement();var _121=_120.parentNode;_120.style.width="0px";_120.style.height="0px";var _122=document.getElementById(this.id+"_alternate").childNodes;var _123=[];for(var i=0;i<_122.length;i++){var node=_122[i].cloneNode(true);_123.push(node);_121.appendChild(node)}var _126=dom.getWidthFromStyle(_121);for(var i=0;i<_123.length;i++){_121.removeChild(_123[i])}_120.style.width="";_120.style.height="";if(_126>0){this.call("resize",_126)}};CallbackInfo.prototype.changeCSS=function(css){css=_7a.escape(_7a.cssToString(_7a.convertCssArg(css)));this.injectVars("css",css);return this.call("changecss",css)}};