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

  =: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-flash";var _3f="sIFR-ignore";var _40="sIFR-alternate";var _41="sIFR-class";var _42="sIFR-layout";var _43="sIFR-fixfocus";var _44=6;var _45=126;var _46=8;var _47="SIFR-PREFETCHED";var _48=[];var _49=5;var _4a="323";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.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 _af.zoom.getLatest()};this.blurElement=function(_6d){if(ua.gecko){_6d.blur();return}var _6e=dom.create("input");_6e.style.width="0px";_6e.style.height="0px";_6d.parentNode.appendChild(_6e);_6e.focus();_6e.blur();_6e.parentNode.removeChild(_6e)};this.getDimensions=function(_6f){var _70=_6f.offsetWidth;var _71=_6f.offsetHeight;if(_70==0||_71==0){for(var i=0;i<_6f.childNodes.length;i++){var _73=_6f.childNodes[i];if(_73.nodeType!=1){continue}_70=Math.max(_70,_73.offsetWidth);_71=Math.max(_71,_73.offsetHeight)}}return {width:_70,height:_71}};this.contentIsLink=function(_74){var _75=false;for(var i=0;i<_74.childNodes.length;i++){var _77=_74.childNodes[i];if(_77.nodeType==3&&!_77.nodeValue.match(/^\s*$/)){return false}else{if(_77.nodeType!=1){continue}}var _78=_77.nodeName.toLowerCase()=="a";if(!_78){return false}else{_75=true}}return _75}};this.dom=dom;var ua=new function(){var ua=navigator.userAgent.toLowerCase();var _7b=(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=_7b.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&&_7b=="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 _7d=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){_7d=this.flashVersion==6}if(!_7d){try{axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash")}catch(e){}}}if(!_7d&&axo){this.flashVersion=parseFloat(/([\d,?]+)/.exec(axo.GetVariable("$version"))[1].replace(/,/g,"."))}}else{if(navigator.plugins&&navigator.plugins["Shockwave Flash"]){var _7e=navigator.plugins["Shockwave Flash"];this.flashVersion=parseFloat(/(\d+\.?\d*)/.exec(_7e.description)[1]);var i=0;while(this.flashVersion>=_46&&i<navigator.mimeTypes.length){var _80=navigator.mimeTypes[i];if(_80.type=="application/x-shockwave-flash"&&_80.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.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.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 _82=new function(){var _83={leading:true,"margin-left":true,"margin-right":true,"text-indent":true};var _84=" ";function capitalize($){return $.toUpperCase()}this.normalize=function(str){if(_3b.preserveSingleWhitespace){return str.replace(/\s/g,_84)}return str.replace(/(\n|\r)+/g,_84).replace(/(\s)\s+/g,"$1").replace(/\xA0/,_84)};this.textTransform=function(_87,str){switch(_87){case "uppercase":str=str.toUpperCase();break;case "lowercase":str=str.toLowerCase();break;case "capitalize":var _89=str;str=str.replace(/^\w|\s\w/g,capitalize);if(str.indexOf("function capitalize")!=-1){var _8a=_89.replace(/(^|\s)(\w)/g,"$1$1$2$2").split(/^\w|\s\w/g);str="";for(var i=0;i<_8a.length;i++){str+=_8a[i].charAt(0).toUpperCase()+_8a[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 _8e="";switch(typeof (obj)){case "string":_8e="\""+obj+"\"";break;case "number":case "boolean":_8e=obj.toString();break;case "object":_8e=[];for(var _8f in obj){if(obj[_8f]==Object.prototype[_8f]){continue}_8e.push("\""+_8f+"\":"+_82.toJson(obj[_8f]))}_8e="{"+_8e.join(",")+"}";break}return _8e};this.convertCssArg=function(arg){if(!arg){return {}}if(typeof (arg)=="object"){if(arg.constructor==Array){arg=arg.join("")}else{return arg}}var obj={};var _92=arg.split("}");for(var i=0;i<_92.length;i++){var $=_92[i].match(/([^\s{]+)\s*\{(.+)\s*;?\s*/);if(!$||$.length!=3){continue}if(!obj[$[1]]){obj[$[1]]={}}var _95=$[2].split(";");for(var j=0;j<_95.length;j++){var $2=_95[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,_99,_9a,_9b){var _9c=null;if(css&&css[_99]&&css[_99][_9a]){_9c=css[_99][_9a];if(_9b){delete css[_99][_9a]}}return _9c};this.cssToString=function(arg){var css=[];for(var _9f in arg){var _a0=arg[_9f];if(_a0==Object.prototype[_9f]){continue}css.push(_9f,"{");for(var _a1 in _a0){if(_a0[_a1]==Object.prototype[_a1]){continue}var _a2=_a0[_a1];if(_83[_a1]){_a2=parseInt(_a2,10)}css.push(_a1,":",_a2,";")}css.push("}")}return css.join("")};this.bind=function(_a3,_a4){return function(){_a3[_a4].apply(_a3,arguments)}};this.escape=function(str){return escape(str).replace(/\+/g,"%2B")};this.copyProperties=function(_a6,to){for(var _a8 in _a6){if(to[_a8]===undefined){to[_a8]=_a6[_a8]}}return to};this.domain=function(){var _a9="";try{_a9=document.domain}catch(e){}return _a9};this.domainMatches=function(_aa,_ab){if(_ab=="*"||_ab==_aa){return true}var _ac=_ab.lastIndexOf("*");if(_ac>-1){_ab=_ab.substr(_ac+1);var _ad=_aa.lastIndexOf(_ab);if(_ad>-1&&(_ad+_ab.length)==_aa.length){return true}}return false};this.uriEncode=function(s){return encodeURI(decodeURIComponent(s))}};this.util=_82;var _af={};_af.fragmentIdentifier=new function(){this.fix=true;var _b0;this.cache=function(){_b0=document.title};function doFix(){document.title=_b0}this.restore=function(){if(this.fix){setTimeout(doFix,0)}}};_af.synchronizer=new function(){this.isBlocked=false;this.block=function(){this.isBlocked=true};this.unblock=function(){this.isBlocked=false;_b1.replaceAll()}};_af.zoom=new function(){var _b2=100;this.getLatest=function(){return _b2};if(ua.zoomSupport&&ua.opera){var _b3=document.createElement("div");_b3.style.position="fixed";_b3.style.left="-65536px";_b3.style.top="0";_b3.style.height="100%";_b3.style.width="1px";_b3.style.zIndex="-32";document.documentElement.appendChild(_b3);function updateZoom(){if(!_b3){return}var _b4=window.innerHeight/_b3.offsetHeight;var _b5=Math.round(_b4*100)%10;if(_b5>5){_b4=Math.round(_b4*100)+10-_b5}else{_b4=Math.round(_b4*100)-_b5}_b2=isNaN(_b4)?100:_b4;_af.synchronizer.unblock();document.documentElement.removeChild(_b3);_b3=null}_af.synchronizer.block();setTimeout(updateZoom,54)}};this.hacks=_af;this.errors={};var _b6={kwargs:[],replaceAll:function(_b7){for(var i=0;i<this.kwargs.length;i++){_3b.replace(this.kwargs[i])}if(!_b7){this.kwargs=[]}}};var _b1={kwargs:[],replaceAll:_b6.replaceAll};function isValidDomain(){if(_3b.domains.length==0){return true}var _b9=_82.domain();for(var i=0;i<_3b.domains.length;i++){var _bb=_3b.domains[i];if(_82.domainMatches(_b9,_bb)){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 _bc=resize.viewport;resize.viewport={width:window.innerWidth||document.documentElement.clientWidth||dom.getBody().clientWidth,height:window.innerHeight||document.documentElement.clientHeight||dom.getBody().clientHeight};if(_bc&&resize.viewport.width==_bc.width&&resize.viewport.height==_bc.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&&_af.fragmentIdentifier.fix&&window.location.hash!=""){_af.fragmentIdentifier.cache()}else{_af.fragmentIdentifier.fix=false}if(!this.registerEvents){return}function handler(evt,_bf){_3b.initialize(_bf);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(_c0){if(!this.isActive||!this.isEnabled){return}if(_4d){if(!_c0){_b6.replaceAll(false)}return}_4d=true;_b6.replaceAll(_c0);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 _c2=[];for(var _c3 in src){if(src[_c3]!=Object.prototype[_c3]){_c2.push(_c3)}}_c2.sort().reverse();var _c4="";var i=-1;while(!_c4&&++i<_c2.length){if(parseFloat(_c2[i])<=ua.flashVersion){_c4=src[_c2[i]]}}src=_c4}}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(_c6){for(var i=0;i<_c6.length;i++){document.write("<script defer type=\"sifr/prefetch\" src=\""+getSource(_c6[i])+"\"></script>")}}function prefetchLight(_c8){for(var i=0;i<_c8.length;i++){new Image().src=getSource(_c8[i])}}function clearPrefetch(){if(!ua.ieWin||!_4c){return}try{var _ca=document.getElementsByTagName("script");for(var i=_ca.length-1;i>=0;i--){var _cc=_ca[i];if(_cc.type=="sifr/prefetch"){_cc.parentNode.removeChild(_cc)}}}catch(e){}}function getRatio(_cd,_ce){for(var i=0;i<_ce.length;i+=2){if(_cd<=_ce[i]){return _ce[i+1]}}return _ce[_ce.length-1]||1}function getFilters(obj){var _d1=[];for(var _d2 in obj){if(obj[_d2]==Object.prototype[_d2]){continue}var _d3=obj[_d2];_d2=[_d2.replace(/filter/i,"")+"Filter"];for(var _d4 in _d3){if(_d3[_d4]==Object.prototype[_d4]){continue}_d2.push(_d4+":"+_82.escape(_82.toJson(_82.toHexString(_d3[_d4]))))}_d1.push(_d2.join(","))}return _82.escape(_d1.join(";"))}function calculate(_d5){var _d6,_d7;if(!ua.ie){_d6=dom.getStyleAsInt(_d5,"lineHeight");_d7=Math.floor(dom.getStyleAsInt(_d5,"height")/_d6)}else{if(ua.ie){var _d8=dom.getComputedStyle(_d5,"fontSize");if(_d8.indexOf("px")>0){_d6=parseInt(_d8)}else{var _d9=_d5.innerHTML;_d5.style.visibility="visible";_d5.style.overflow="visible";_d5.style.position="static";_d5.style.zoom="normal";_d5.style.writingMode="lr-tb";_d5.style.width=_d5.style.height="auto";_d5.style.maxWidth=_d5.style.maxHeight=_d5.style.styleFloat="none";var _da=_d5;var _db=_d5.currentStyle.hasLayout;if(_db){dom.setInnerHtml(_d5,"<div class=\""+_42+"\">X<br />X<br />X</div>");_da=_d5.firstChild}else{dom.setInnerHtml(_d5,"X<br />X<br />X")}var _dc=_da.getClientRects();_d6=_dc[1].bottom-_dc[1].top;_d6=Math.ceil(_d6*0.8);if(_db){dom.setInnerHtml(_d5,"<div class=\""+_42+"\">"+_d9+"</div>");_da=_d5.firstChild}else{dom.setInnerHtml(_d5,_d9)}_dc=_da.getClientRects();_d7=_dc.length;if(_db){dom.setInnerHtml(_d5,_d9)}_d5.style.visibility=_d5.style.width=_d5.style.height=_d5.style.maxWidth=_d5.style.maxHeight=_d5.style.overflow=_d5.style.styleFloat=_d5.style.position=_d5.style.zoom=_d5.style.writingMode=""}}}return {lineHeight:_d6,lines:_d7}}this.replace=function(_dd,_de){if(!ua.supported){return}if(_de){_dd=_82.copyProperties(_dd,_de)}if(!_4d){return _b6.kwargs.push(_dd)}if(_af.synchronizer.isBlocked){return _b1.kwargs.push(_dd)}var _df=_dd.elements;if(!_df&&parseSelector){_df=parseSelector(_dd.selector)}if(_df.length==0){return}this.setFlashClass();var src=getSource(_dd.src);var css=_82.convertCssArg(_dd.css);var _e2=getFilters(_dd.filters);var _e3=(_dd.forceClear==null)?_3b.forceClear:_dd.forceClear;var _e4=(_dd.fitExactly==null)?_3b.fitExactly:_dd.fitExactly;var _e5=_e4||(_dd.forceWidth==null?_3b.forceWidth:_dd.forceWidth);var _e6=!!(_dd.preventWrap&&!_dd.forceSingleLine);var _e7=parseInt(_82.extractFromCss(css,".sIFR-root","leading"))||0;var _e8=_82.extractFromCss(css,".sIFR-root","font-size",true)||0;var _e9=_82.extractFromCss(css,".sIFR-root","background-color",true)||"#FFFFFF";var _ea=_82.extractFromCss(css,".sIFR-root","kerning",true)||"";var _eb=_dd.gridFitType||_82.extractFromCss(css,".sIFR-root","text-align")=="right"?"subpixel":"pixel";var _ec=_3b.forceTextTransform?_82.extractFromCss(css,".sIFR-root","text-transform",true)||"none":"none";var _ed=_82.extractFromCss(css,".sIFR-root","opacity",true)||"100";var _ee=_dd.pixelFont||false;var _ef=_dd.ratios||_48;var _f0=parseInt(_dd.tuneHeight)||0;if(parseInt(_e8).toString()!=_e8&&_e8.indexOf("px")==-1){_e8=0}else{_e8=parseInt(_e8)}if(parseFloat(_ed)<1){_ed=100*parseFloat(_ed)}var _f1="";if(_e4){_82.extractFromCss(css,".sIFR-root","text-align",true)}if(!_dd.modifyCss){_f1=_82.cssToString(css)}var _f2=_dd.wmode||"";if(!_f2){if(_dd.transparent){_f2="transparent"}else{if(_dd.opaque){_f2="opaque"}}}if(_f2=="transparent"){if(!ua.transparencySupport){_f2="opaque"}else{_e9="transparent"}}for(var i=0;i<_df.length;i++){var _f4=_df[i];if(!ua.verifiedKonqueror){if(dom.getComputedStyle(_f4,"lineHeight").match(/e\+08px/)){ua.supported=_3b.isEnabled=false;this.removeFlashClass();return}ua.verifiedKonqueror=true}if(dom.hasOneOfClassses([_3d,_3f,_40],_f4)){continue}var _f5=dom.getDimensions(_f4);var _f6=_f5.height;var _f7=_f5.width;var _f8=dom.getComputedStyle(_f4,"display");if(!_f6||!_f7||_f8==null||_f8=="none"){continue}if(_e3&&ua.gecko){_f4.style.clear="both"}var _f9=null;if(_3b.fixWrap&&ua.ie&&_f8=="block"){_f9=_f4.innerHTML;dom.setInnerHtml(_f4,"X")}_f7=dom.getWidthFromStyle(_f4);if(_f9&&_3b.fixWrap&&ua.ie){dom.setInnerHtml(_f4,_f9)}var _fa,_fb;if(!_e8){var _fc=calculate(_f4);_fa=Math.min(_45,Math.max(_44,_fc.lineHeight));if(_ee){_fa=Math.max(8,8*Math.round(_fa/8))}_fb=_fc.lines;if(isNaN(_fb)||!isFinite(_fb)||_fb==0){_fb=1}if(_fb>1&&_e7){_f6+=Math.round((_fb-1)*_e7)}}else{_fa=_e8;_fb=1}_f6=Math.round(_fb*_fa);if(_e3&&ua.gecko){_f4.style.clear=""}var _fd=dom.create("span");_fd.className=_40;var _fe=_f4.cloneNode(true);_f4.parentNode.appendChild(_fe);for(var j=0,l=_fe.childNodes.length;j<l;j++){_fd.appendChild(_fe.childNodes[j].cloneNode(true))}if(_dd.modifyContent){_dd.modifyContent(_fe,_dd.selector)}if(_dd.modifyCss){_f1=_dd.modifyCss(css,_fe,_dd.selector)}var _101=_3b.fixHover&&dom.contentIsLink(_fe);var _102=handleContent(_fe,_ec,_dd.uriEncode);_fe.parentNode.removeChild(_fe);if(_dd.modifyContentString){_102.text=_dd.modifyContentString(_102.text,_dd.selector)}if(_102.text==""){continue}var vars=["content="+_82.escape(_102.text),"antialiastype="+(_dd.antiAliasType||""),"width="+_f7,"height="+_f6,"fitexactly="+_e4,"tunewidth="+(_dd.tuneWidth||0),"tuneheight="+_f0,"offsetleft="+(_dd.offsetLeft||""),"offsettop="+(_dd.offsetTop||""),"thickness="+(_dd.thickness||""),"sharpness="+(_dd.sharpness||""),"kerning="+_ea,"gridfittype="+_eb,"zoomsupport="+ua.zoomSupport,"flashfilters="+_e2,"opacity="+_ed,"blendmode="+(_dd.blendMode||""),"size="+_fa,"zoom="+dom.getZoom(),"css="+_82.escape(_f1),"selectable="+(_dd.selectable==null?"true":_dd.selectable),"fixhover="+_101,"preventwrap="+_e6,"forcesingleline="+(_dd.forceSingleLine===true),"link="+_82.escape(_102.primaryLink[0]||""),"target="+_82.escape(_102.primaryLink[1]||""),"handlerelease="+!!_dd.onRelease,"version="+_4a];var _104=encodeVars(vars);var _105="sIFR_callback_"+_4b++;var _106=new CallbackInfo(_105,vars,_dd.onReplacement,_dd.onRelease);window[_105+"_DoFSCommand"]=(function(_107){return function(info,arg){_107.handle(info,arg)}})(_106);_fd.setAttribute("id",_105+"_alternate");_f6=Math.round(_fb*getRatio(_fa,_ef)*_fa)+_49+_f0;var _10a=_e5?_f7:"100%";var _10b;if(ua.ie){_10b=["<object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" id=\"",_105,"\" sifr=\"true\" width=\"",_10a,"\" height=\"",_f6,"\" class=\"",_3e,"\">","<param name=\"movie\" value=\"",src,"\"></param>","<param name=\"flashvars\" value=\"",_104,"\"></param>","<param name=\"allowScriptAccess\" value=\"always\"></param>","<param name=\"quality\" value=\"best\"></param>","<param name=\"wmode\" value=\"",_f2,"\"></param>","<param name=\"bgcolor\" value=\"",_e9,"\"></param>","<param name=\"name\" value=\"",_105,"\"></param>","</object>","<scr","ipt event=FSCommand(info,args) for=",_105,">",_105,"_DoFSCommand(info, args);","</","script>"].join("")}else{_10b=["<embed type=\"application/x-shockwave-flash\" class=\""+_3e+"\" src=\"",src,"\" quality=\"best\" flashvars=\"",_104,"\" width=\"",_10a,"\" height=\"",_f6,"\" wmode=\"",_f2,"\" bgcolor=\"",_e9,"\" name=\"",_105,"\" id=\"",_105,"\" allowScriptAccess=\"always\" sifr=\"true\"></embed>"].join("")}var _10c=_dd.fixFocus?"<div class=\""+_43+"\">"+_10b+"</div>":_10b;dom.setInnerHtml(_f4,_10c);_106.html=_10b;_3b.callbacks.push(_106);if(_dd.selector){if(!_3b.callbacks[_dd.selector]){_3b.callbacks[_dd.selector]=[_106]}else{_3b.callbacks[_dd.selector].push(_106)}}_f4.appendChild(_fd);dom.addClass(_3d,_f4)}_af.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("&amp;").replace(/%/g,"%25")}function handleContent(_111,_112,_113){_113=_113||_82.uriEncode;var _114=[],_115=[],_116=[];var _117=_111.childNodes;var i=0;while(i<_117.length){var node=_117[i];if(node.nodeType==3){var text=_82.normalize(node.nodeValue);text=_82.textTransform(_112,text);text=text.replace(/</g,"&lt;");_115.push(text)}if(node.nodeType==1){var _11b=[];var _11c=node.nodeName.toLowerCase();var _11d=node.className||"";if(/\s+/.test(_11d)){if(_11d.indexOf(_41)>-1){_11d=_11d.match("(\\s|^)"+_41+"-([^\\s$]*)(\\s|$)")[2]}else{_11d=_11d.match(/^([^\s]+)/)[1]}}if(_11d!=""){_11b.push("class=\""+_11d+"\"")}if(_11c=="a"){var href=_113(node.getAttribute("href")||"");var _11f=node.getAttribute("target")||"";_11b.push("href=\""+href+"\"","target=\""+_11f+"\"");if(_116.length==0){_116=[href,_11f]}}_115.push("<"+_11c+(_11b.length>0?" ":"")+_11b.join(" ")+">");if(node.hasChildNodes()){_114.push(i);i=0;_117=node.childNodes;continue}else{if(!/^(br|img)$/i.test(node.nodeName)){_115.push("</",node.nodeName.toLowerCase(),">")}}}if(_114.length>0&&!node.nextSibling){do{i=_114.pop();_117=node.parentNode.parentNode.childNodes;node=_117[i];if(node){_115.push("</",node.nodeName.toLowerCase(),">")}}while(i==_117.length-1&&_114.length>0)}i++}return {text:_115.join("").replace(/\n|\r/g,""),primaryLink:_116}}function CallbackInfo(id,vars,_122,_123){this.id=id;this.vars=vars;this._replacementHandler=_122;this._releaseHandler=_123;this._firedReplacementEvent=!(this._replacementHandler!=null);this.html=""}CallbackInfo.prototype.getFlashElement=function(){return document.getElementById(this.id)};CallbackInfo.prototype.available=function(){var _124=this.getFlashElement();return _124&&_124.parentNode};CallbackInfo.prototype.handle=function(info,arg){if(!this.available()){return}if(/(FSCommand\:)?resize/.test(info)){var _127=this.getFlashElement();var $=arg.split(/\:|,/);_127.setAttribute($[0],$[1]);if($.length>2){_127.setAttribute($[2],$[3])}if(ua.khtml){var _129=_127.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._releaseHandler&&/(FSCommand\:)?release/.test(info)){this._releaseHandler(this)}else{if(this.debugHandler&&/(FSCommand\:)?debug/.test(info)){this.debugHandler(info,arg)}}}}}};CallbackInfo.prototype.call=function(type,_12b){if(!this.available()){return false}var _12c=this.getFlashElement();try{_12c.SetVariable("callbackType",type);_12c.SetVariable("callbackValue",_12b);_12c.SetVariable("callbackTrigger",true)}catch(e){return false}return true};CallbackInfo.prototype.replaceText=function(_12d){var _12e=_82.escape(_12d);this.injectVars("content",_12e);if(this.call("replacetext",_12e)){dom.setInnerHtml(this.getAlternate(),_12d);return true}return false};CallbackInfo.prototype.injectVars=function(name,_130){for(var i=0;i<this.vars.length;i++){if(this.vars[i].split("=")[0]==name){this.vars[i]=name+"="+_130;break}}this.html=this.html.replace(/(flashvars(=|\"\svalue=)\")[^\"]+/,"$1"+encodeVars(this.vars))};CallbackInfo.prototype.resetMovie=function(){if(!this.available()){return}var _132=this.getFlashElement();var node=_132.parentNode;node.replaceChild(dom.nodeFromHtml(this.html),_132)};CallbackInfo.prototype.resize=function(){if(!this.available()){return}var _134=this.getFlashElement();var _135=_134.parentNode;_134.style.width="0px";_134.style.height="0px";var _136=this.getAlternate().childNodes;var _137=[];for(var i=0;i<_136.length;i++){var node=_136[i].cloneNode(true);_137.push(node);_135.appendChild(node)}var _13a=dom.getWidthFromStyle(_135);for(var i=0;i<_137.length;i++){_135.removeChild(_137[i])}_134.style.width="";_134.style.height="";if(_13a>0){this.call("resize",_13a)}};CallbackInfo.prototype.changeCSS=function(css){css=_82.escape(_82.cssToString(_82.convertCssArg(css)));this.injectVars("css",css);return this.call("changecss",css)};CallbackInfo.prototype.getAlternate=function(){return document.getElementById(this.id+"_alternate")}};
