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

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