/*=:project
    scalable Inman Flash Replacement (sIFR) version 3, revision 370

  =: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="sIFR-zoomdetect";var _47=6;var _48=126;var _49=8;var _4a="SIFR-PREFETCHED";var _4b=[];var _4c=5;var _4d="370";this.isActive=false;this.isEnabled=true;this.preserveSingleWhitespace=false;this.fixWrap=true;this.fixHover=true;this.autoInitialize=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 _4e=0;var _4f=false,_50=false;var dom=new function(){var _52="http://www.w3.org/1999/xhtml";this.getBody=function(){var _53=document.getElementsByTagName("body");if(_53.length==1){return _53[0]}return null};this.addClass=function(_54,_55){if(_55){_55.className=((_55.className||"")==""?"":_55.className+" ")+_54}};this.removeClass=function(_56,_57){if(_57){_57.className=_57.className.replace(new RegExp("(^|\\s)"+_56+"(\\s|$)"),"").replace(/^\s+|(\s)\s+/g,"$1")}};this.hasClass=function(_58,_59){return new RegExp("(^|\\s)"+_58+"(\\s|$)").test(_59.className)};this.hasOneOfClassses=function(_5a,_5b){for(var i=0;i<_5a.length;i++){if(this.hasClass(_5a[i],_5b)){return true}}return false};this.create=function(_5d){if(document.createElementNS){return document.createElementNS(_52,_5d)}return document.createElement(_5d)};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){var _63=document.defaultView.getComputedStyle(_60,null);_62=_63?_63[_61]:null}else{if(_60.currentStyle){_62=_60.currentStyle[_61]}}return _62||""};this.getStyleAsInt=function(_64,_65,_66){var _67=this.getComputedStyle(_64,_65);if(_66&&!/px$/.test(_67)){return 0}_67=parseInt(_67);return isNaN(_67)?0:_67};this.getWidthFromStyle=function(_68){var _69=this.getStyleAsInt(_68,"width",ua.ie);if(_69==0){var _6a=this.getStyleAsInt(_68,"paddingRight",true);var _6b=this.getStyleAsInt(_68,"paddingLeft",true);var _6c=this.getStyleAsInt(_68,"borderRightWidth",true);var _6d=this.getStyleAsInt(_68,"borderLeftWidth",true);_69=_68.offsetWidth-_6b-_6a-_6d-_6c}return _69};this.getHeightFromStyle=function(_6e){var _6f=this.getStyleAsInt(_6e,"height",ua.ie);if(_6f==0){var _70=this.getStyleAsInt(_6e,"paddingTop",true);var _71=this.getStyleAsInt(_6e,"paddingBottom",true);var _72=this.getStyleAsInt(_6e,"borderTopHeight",true);var _73=this.getStyleAsInt(_6e,"borderBottomHeight",true);_6f=_6e.offsetHeight-_71-_70-_73-_72}return _6f};this.blurElement=function(_74){if(ua.gecko){_74.blur();return}var _75=dom.create("input");_75.style.width="0px";_75.style.height="0px";_74.parentNode.appendChild(_75);_75.focus();_75.blur();_75.parentNode.removeChild(_75)};this.getDimensions=function(_76){var _77=_76.offsetWidth;var _78=_76.offsetHeight;if(_77==0||_78==0){for(var i=0;i<_76.childNodes.length;i++){var _7a=_76.childNodes[i];if(_7a.nodeType!=1){continue}_77=Math.max(_77,_7a.offsetWidth);_78=Math.max(_78,_7a.offsetHeight)}}return {width:_77,height:_78}};this.contentIsLink=function(_7b){var _7c=false;for(var i=0;i<_7b.childNodes.length;i++){var _7e=_7b.childNodes[i];if(_7e.nodeType==3&&!_7e.nodeValue.match(/^\s*$/)){return false}else{if(_7e.nodeType!=1){continue}}var _7f=_7e.nodeName.toLowerCase()=="a";if(!_7f){return false}else{_7c=true}}return _7c};var dom=this;this.swf={create:function(_81,_82,id,_84,_85,src,_87,_88,_89){var obj=_81.object(_82,id,src,_84,_85);return _81.params(obj,"flashvars",_87,"wmode",_88,"bgcolor",_89,"allowScriptAccess","always","quality","best")},ie:{object:function(_8b,id,src,_8e,_8f){return "<object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" id=\""+id+"\" width=\""+_8e+"\" height=\""+_8f+"\" 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 _91="";for(var i=1;i<arguments.length;i+=2){_91+="<param name=\""+arguments[i]+"\" value=\""+arguments[i+1]+"\"></param>"}return obj.replace(/(<\/object>)/,_91+"$1")},insert:function(_93,_94){_93.innerHTML=_94;return _94}},other:{object:function(_95,id,src,_98,_99){var obj=dom.create("object");var _9b=["type","application/x-shockwave-flash","id",id,"name",id,"data",src,"width",_98,"height",_99];while(_9b.length){obj.setAttribute(_9b.shift(),_9b.shift())}obj.className=_3f;if(!_95){return {root:obj,obj:obj}}var _9c=dom.create("div");_9c.className=_44;_9c.appendChild(obj);return {root:_9c,obj:obj}},params:function(obj){for(var i=1;i<arguments.length;i+=2){if(arguments[i]=="name"){continue}var _9f=dom.create("param");_9f.setAttribute("name",arguments[i]);_9f.setAttribute("value",arguments[i+1]);obj.obj.appendChild(_9f)}return obj.root},insert:function(_a0,_a1){while(_a0.firstChild){_a0.removeChild(_a0.firstChild)}_a0.appendChild(_a1);return _a1.cloneNode(true)}}}};this.dom=dom;var ua=new function(){var ua=navigator.userAgent.toLowerCase();var _a4=(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=_a4.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&&_a4=="gecko";this.ieVersion=this.ie&&/.*msie\s(\d\.\d)/.exec(ua)?parseFloat(RegExp.$1):0;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 _a6=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){_a6=this.flashVersion==6}if(!_a6){try{axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash")}catch(e){}}}if(!_a6&&axo){this.flashVersion=parseFloat(/([\d,?]+)/.exec(axo.GetVariable("$version"))[1].replace(/,/g,"."))}}else{if(navigator.plugins&&navigator.plugins["Shockwave Flash"]){var _a7=navigator.plugins["Shockwave Flash"];this.flashVersion=parseFloat(/(\d+\.?\d*)/.exec(_a7.description)[1]);var i=0;while(this.flashVersion>=_49&&i<navigator.mimeTypes.length){var _a9=navigator.mimeTypes[i];if(_a9.type=="application/x-shockwave-flash"&&_a9.enabledPlugin.description.toLowerCase().indexOf("quicktime")>-1){this.flashVersion=0;this.quicktime=true}i++}}}this.flash=this.flashVersion>=_49;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 _aa=new function(){var _ab={leading:true,"margin-left":true,"margin-right":true,"text-indent":true};var _ac=" ";function capitalize($){return $.toUpperCase()}this.normalize=function(str){if(_3b.preserveSingleWhitespace){return str.replace(/\s/g,_ac)}return str.replace(/(\n|\r)+/g,_ac).replace(/(\s)\s+/g,"$1").replace(/\xA0/,_ac)};this.textTransform=function(_af,str){switch(_af){case "uppercase":str=str.toUpperCase();break;case "lowercase":str=str.toLowerCase();break;case "capitalize":var _b1=str;str=str.replace(/^\w|\s\w/g,capitalize);if(str.indexOf("function capitalize")!=-1){var _b2=_b1.replace(/(^|\s)(\w)/g,"$1$1$2$2").split(/^\w|\s\w/g);str="";for(var i=0;i<_b2.length;i++){str+=_b2[i].charAt(0).toUpperCase()+_b2[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 _b6="";switch(typeof (obj)){case "string":_b6="\""+obj+"\"";break;case "number":case "boolean":_b6=obj.toString();break;case "object":_b6=[];for(var _b7 in obj){if(obj[_b7]==Object.prototype[_b7]){continue}_b6.push("\""+_b7+"\":"+_aa.toJson(obj[_b7]))}_b6="{"+_b6.join(",")+"}";break}return _b6};this.convertCssArg=function(arg){if(!arg){return {}}if(typeof (arg)=="object"){if(arg.constructor==Array){arg=arg.join("")}else{return arg}}var obj={};var _ba=arg.split("}");for(var i=0;i<_ba.length;i++){var $=_ba[i].match(/([^\s{]+)\s*\{(.+)\s*;?\s*/);if(!$||$.length!=3){continue}if(!obj[$[1]]){obj[$[1]]={}}var _bd=$[2].split(";");for(var j=0;j<_bd.length;j++){var $2=_bd[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,_c1,_c2,_c3){var _c4=null;if(css&&css[_c1]&&css[_c1][_c2]){_c4=css[_c1][_c2];if(_c3){delete css[_c1][_c2]}}return _c4};this.cssToString=function(arg){var css=[];for(var _c7 in arg){var _c8=arg[_c7];if(_c8==Object.prototype[_c7]){continue}css.push(_c7,"{");for(var _c9 in _c8){if(_c8[_c9]==Object.prototype[_c9]){continue}var _ca=_c8[_c9];if(_ab[_c9]){_ca=parseInt(_ca,10)}css.push(_c9,":",_ca,";")}css.push("}")}return css.join("")};this.escape=function(str){return escape(str).replace(/\+/g,"%2B")};this.copyProperties=function(_cc,to){for(var _ce in _cc){if(to[_ce]===undefined){to[_ce]=_cc[_ce]}}return to};this.domain=function(){var _cf="";try{_cf=document.domain}catch(e){}return _cf};this.domainMatches=function(_d0,_d1){if(_d1=="*"||_d1==_d0){return true}var _d2=_d1.lastIndexOf("*");if(_d2>-1){_d1=_d1.substr(_d2+1);var _d3=_d0.lastIndexOf(_d1);if(_d3>-1&&(_d3+_d1.length)==_d0.length){return true}}return false};this.uriEncode=function(s){return encodeURI(decodeURIComponent(s))}};this.util=_aa;var _d5={};_d5.fragmentIdentifier=new function(){this.fix=true;var _d6;this.cache=function(){_d6=document.title};function doFix(){document.title=_d6}this.restore=function(){if(this.fix){setTimeout(doFix,0)}}};this.hacks=_d5;_d5.pageLoad=new function(){var _d7=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(){_d7=dom.create("div");_d7.className=_45;dom.getBody().appendChild(_d7);pollStyle()}function pollStyle(){if(dom.getComputedStyle(_d7,"marginLeft")=="42px"){afterStyle()}else{setTimeout(pollStyle,10)}}function afterStyle(){if(_d7&&_d7.parentNode){_d7.parentNode.removeChild(_d7)}_d7=null;fire(null,true)}function fire(evt,_d9){_3b.initialize(_d9);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 _da={kwargs:[],replaceAll:function(_db){for(var i=0;i<this.kwargs.length;i++){_3b.replace(this.kwargs[i])}if(!_db){this.kwargs=[]}}};function isValidDomain(){if(_3b.domains.length==0){return true}var _dd=_aa.domain();for(var i=0;i<_3b.domains.length;i++){var _df=_3b.domains[i];if(_aa.domainMatches(_dd,_df)){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(evt){var _e1=resize.viewport;resize.viewport={width:window.innerWidth||document.documentElement.clientWidth||dom.getBody().clientWidth,height:window.innerHeight||document.documentElement.clientHeight||dom.getBody().clientHeight};if(_e1&&resize.viewport.width==_e1.width&&resize.viewport.height==_e1.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;this.setFlashClass();_d5.fragmentIdentifier.fix=ua.ieWin&&_d5.fragmentIdentifier.fix&&window.location.hash!="";if(_d5.fragmentIdentifier.fix){_d5.fragmentIdentifier.cache()}if(!this.autoInitialize){return}_d5.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(_e3){if(!this.isActive||!this.isEnabled){return}if(_50){if(!_e3){_da.replaceAll(false)}return}_50=true;_da.replaceAll(_e3);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 _e5=[];for(var _e6 in src){if(src[_e6]!=Object.prototype[_e6]){_e5.push(_e6)}}_e5.sort().reverse();var _e7="";var i=-1;while(!_e7&&++i<_e5.length){if(parseFloat(_e5[i])<=ua.flashVersion){_e7=src[_e5[i]]}}src=_e7}}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(";?"+_4a+"=true;?").test(document.cookie)){return}try{_4f=true;if(ua.ieWin){prefetchIexplore(arguments)}else{prefetchLight(arguments)}if(this.setPrefetchCookie){document.cookie=_4a+"=true;path="+this.cookiePath}}catch(e){if(_3b.debug){throw e}}};function prefetchIexplore(_e9){for(var i=0;i<_e9.length;i++){document.write("<script defer type=\"sifr/prefetch\" src=\""+getSource(_e9[i])+"\"></script>")}}function prefetchLight(_eb){for(var i=0;i<_eb.length;i++){new Image().src=getSource(_eb[i])}}function clearPrefetch(){if(!ua.ieWin||!_4f){return}try{var _ed=document.getElementsByTagName("script");for(var i=_ed.length-1;i>=0;i--){var _ef=_ed[i];if(_ef.type=="sifr/prefetch"){_ef.parentNode.removeChild(_ef)}}}catch(e){}}function getRatio(_f0,_f1){for(var i=0;i<_f1.length;i+=2){if(_f0<=_f1[i]){return _f1[i+1]}}return _f1[_f1.length-1]||1}function getFilters(obj){var _f4=[];for(var _f5 in obj){if(obj[_f5]==Object.prototype[_f5]){continue}var _f6=obj[_f5];_f5=[_f5.replace(/filter/i,"")+"Filter"];for(var _f7 in _f6){if(_f6[_f7]==Object.prototype[_f7]){continue}_f5.push(_f7+":"+_aa.escape(_aa.toJson(_aa.toHexString(_f6[_f7]))))}_f4.push(_f5.join(","))}return _aa.escape(_f4.join(";"))}function calculate(_f8){var _f9,_fa;if(!ua.ie){_f9=dom.getStyleAsInt(_f8,"lineHeight");_fa=Math.floor(dom.getStyleAsInt(_f8,"height")/_f9)}else{if(ua.ie){var _fb=dom.getComputedStyle(_f8,"fontSize");if(_fb.indexOf("px")>0){_f9=parseInt(_fb)}else{var _fc=_f8.innerHTML;_f8.style.visibility="visible";_f8.style.overflow="visible";_f8.style.position="static";_f8.style.zoom="normal";_f8.style.writingMode="lr-tb";_f8.style.width=_f8.style.height="auto";_f8.style.maxWidth=_f8.style.maxHeight=_f8.style.styleFloat="none";var _fd=_f8;var _fe=_f8.currentStyle.hasLayout;if(_fe){_f8.innerHTML="<div class=\""+_43+"\">X<br />X<br />X</div>";_fd=_f8.firstChild}else{_f8.innerHTML="X<br />X<br />X"}var _ff=_fd.getClientRects();_f9=_ff[1].bottom-_ff[1].top;_f9=Math.ceil(_f9*0.8);if(_fe){_f8.innerHTML="<div class=\""+_43+"\">"+_fc+"</div>";_fd=_f8.firstChild}else{_f8.innerHTML=_fc}_ff=_fd.getClientRects();_fa=_ff.length;if(_fe){_f8.innerHTML=_fc}_f8.style.visibility=_f8.style.width=_f8.style.height=_f8.style.maxWidth=_f8.style.maxHeight=_f8.style.overflow=_f8.style.styleFloat=_f8.style.position=_f8.style.zoom=_f8.style.writingMode=""}}}return {lineHeight:_f9,lines:_fa}}this.replace=function(_100,_101){if(!ua.supported){return}if(_101){_100=_aa.copyProperties(_100,_101)}if(!_50){return _da.kwargs.push(_100)}if(_3b.onReplacementStart){_3b.onReplacementStart(_100)}var _102=_100.elements;if(!_102&&parseSelector){_102=parseSelector(_100.selector)}if(_102.length==0){return}var src=getSource(_100.src);var css=_aa.convertCssArg(_100.css);var _105=getFilters(_100.filters);var _106=(_100.forceClear==null)?_3b.forceClear:_100.forceClear;var _107=_100.forceSingleLine===true;var _108=_107||((_100.fitExactly==null)?_3b.fitExactly:_100.fitExactly);var _109=_108||(_100.forceWidth==null?_3b.forceWidth:_100.forceWidth);var _10a=!!(_100.preventWrap&&!_107);var _10b=parseInt(_aa.extractFromCss(css,".sIFR-root","leading"))||0;var _10c=_aa.extractFromCss(css,".sIFR-root","font-size",true)||0;var _10d=_aa.extractFromCss(css,".sIFR-root","background-color",true)||"#FFFFFF";var _10e=_aa.extractFromCss(css,".sIFR-root","kerning",true)||"";var _10f=_100.gridFitType||_aa.extractFromCss(css,".sIFR-root","text-align")=="right"?"subpixel":"pixel";var _110=_3b.forceTextTransform?_aa.extractFromCss(css,".sIFR-root","text-transform",true)||"none":"none";var _111=_aa.extractFromCss(css,".sIFR-root","opacity",true)||"100";var _112=_aa.extractFromCss(css,".sIFR-root","cursor",true)||"default";var _113=_100.pixelFont||false;var _114=_100.ratios||_4b;var _115=parseInt(_100.tuneHeight)||0;var _116=!!_100.onRelease||!!_100.onRollOver||!!_100.onRollOut;if(parseInt(_10c).toString()!=_10c&&_10c.indexOf("px")==-1){_10c=0}else{_10c=parseInt(_10c)}if(parseFloat(_111)<1){_111=100*parseFloat(_111)}var _117="";if(_108){_aa.extractFromCss(css,".sIFR-root","text-align",true)}if(!_100.modifyCss){_117=_aa.cssToString(css)}var _118=_100.wmode||"";if(!_118){if(_100.transparent){_118="transparent"}else{if(_100.opaque){_118="opaque"}}}if(_118=="transparent"){if(!ua.transparencySupport){_118="opaque"}else{_10d="transparent"}}for(var i=0;i<_102.length;i++){var node=_102[i];if(dom.hasOneOfClassses([_3e,_40,_41],node)){continue}var _11b=dom.getDimensions(node);var _11c=_11b.height;var _11d=_11b.width;var _11e=dom.getComputedStyle(node,"display");if(!_11c||!_11d||_11e==null||_11e=="none"){continue}if(_106&&ua.gecko){node.style.clear="both"}var html=null;if(_3b.fixWrap&&ua.ie&&_11e=="block"){html=node.innerHTML;node.innerHTML="X"}_11d=dom.getWidthFromStyle(node);if(html&&_3b.fixWrap&&ua.ie){node.innerHTML=html}var _120,_121;if(!_10c){var _122=calculate(node);_120=Math.min(_48,Math.max(_47,_122.lineHeight));if(_113){_120=Math.max(8,8*Math.round(_120/8))}_121=_122.lines;if(isNaN(_121)||!isFinite(_121)||_121==0){_121=1}if(_121>1&&_10b){_11c+=Math.round((_121-1)*_10b)}}else{_120=_10c;_121=1}_11c=Math.round(_121*_120);if(_106&&ua.gecko){node.style.clear=""}var _123=dom.create("span");_123.className=_41;var _124=node.cloneNode(true);node.parentNode.appendChild(_124);for(var j=0,l=_124.childNodes.length;j<l;j++){_123.appendChild(_124.childNodes[j].cloneNode(true))}if(_100.modifyContent){_100.modifyContent(_124,_100.selector)}if(_100.modifyCss){_117=_100.modifyCss(css,_124,_100.selector)}var _127=_3b.fixHover&&dom.contentIsLink(_124);var _128=handleContent(_124,_110,_100.uriEncode);_124.parentNode.removeChild(_124);if(_100.modifyContentString){_128.text=_100.modifyContentString(_128.text,_100.selector)}if(_128.text==""){continue}var _129=Math.round(_121*getRatio(_120,_114)*_120)+_4c+_115;var _12a=_109?_11d:"100%";var vars=["content="+_aa.escape(_128.text),"antialiastype="+(_100.antiAliasType||""),"width="+_11d,"height="+_11c,"renderheight="+_129,"fitexactly="+_108,"tunewidth="+(_100.tuneWidth||0),"tuneheight="+_115,"offsetleft="+(_100.offsetLeft||""),"offsettop="+(_100.offsetTop||""),"thickness="+(_100.thickness||""),"sharpness="+(_100.sharpness||""),"kerning="+_10e,"gridfittype="+_10f,"flashfilters="+_105,"opacity="+_111,"blendmode="+(_100.blendMode||""),"size="+_120,"css="+_aa.escape(_117),"selectable="+(_100.selectable==null?"true":_100.selectable),"fixhover="+_127,"preventwrap="+_10a,"forcesingleline="+_107,"link="+_aa.escape(_128.primaryLink[0]||""),"target="+_aa.escape(_128.primaryLink[1]||""),"events="+_116,"cursor="+_112,"version="+_4d];var _12c=encodeVars(vars);var _12d="sIFR_callback_"+_4e++;var _12e=new CallbackInfo(_12d,vars,_109,{onReplacement:_100.onReplacement,onRollOver:_100.onRollOver,onRollOut:_100.onRollOut,onRelease:_100.onRelease});window[_12d+"_DoFSCommand"]=(function(_12f){return function(info,arg){_12f.handle(info,arg)}})(_12e);_123.setAttribute("id",_12d+"_alternate");var _132=ua.ie?dom.swf.ie:dom.swf.other;var _133=dom.swf.create(_132,ua.fixFocus&&_100.fixFocus,_12d,_12a,_129,src,_12c,_118,_10d);_12e.html=_132.insert(node,_133);_3b.callbacks.push(_12e);if(_100.selector){if(!_3b.callbacks[_100.selector]){_3b.callbacks[_100.selector]=[_12e]}else{_3b.callbacks[_100.selector].push(_12e)}}node.appendChild(_123);dom.addClass(_3e,node)}_d5.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(_138,_139,_13a){_13a=_13a||_aa.uriEncode;var _13b=[],_13c=[],_13d=[];var _13e=_138.childNodes;var i=0;while(i<_13e.length){var node=_13e[i];if(node.nodeType==3){var text=_aa.normalize(node.nodeValue);text=_aa.textTransform(_139,text);text=text.replace(/</g,"&lt;");_13c.push(text)}if(node.nodeType==1){var _142=[];var _143=node.nodeName.toLowerCase();var _144=node.className||"";if(/\s+/.test(_144)){if(_144.indexOf(_42)>-1){_144=_144.match("(\\s|^)"+_42+"-([^\\s$]*)(\\s|$)")[2]}else{_144=_144.match(/^([^\s]+)/)[1]}}if(_144!=""){_142.push("class=\""+_144+"\"")}if(_143=="a"){var href=_13a(node.getAttribute("href")||"");var _146=node.getAttribute("target")||"";_142.push("href=\""+href+"\"","target=\""+_146+"\"");if(_13d.length==0){_13d=[href,_146]}}_13c.push("<"+_143+(_142.length>0?" ":"")+_142.join(" ")+">");if(node.hasChildNodes()){_13b.push(i);i=0;_13e=node.childNodes;continue}else{if(!/^(br|img)$/i.test(node.nodeName)){_13c.push("</",node.nodeName.toLowerCase(),">")}}}if(_13b.length>0&&!node.nextSibling){do{i=_13b.pop();_13e=node.parentNode.parentNode.childNodes;node=_13e[i];if(node){_13c.push("</",node.nodeName.toLowerCase(),">")}}while(i==_13e.length-1&&_13b.length>0)}i++}return {text:_13c.join("").replace(/\n|\r/g,""),primaryLink:_13d}}function CallbackInfo(id,vars,_149,_14a){this.id=id;this.vars=vars;this._events=_14a;this._forceWidth=_149;this._firedReplacementEvent=!(_14a.onReplacement!=null);this._rescale=false;this.html=null}CallbackInfo.prototype.getFlashElement=function(){return document.getElementById(this.id)};CallbackInfo.prototype.available=function(){var _14b=this.getFlashElement();return _14b&&_14b.parentNode};CallbackInfo.prototype.handle=function(info,arg){if(!this.available()){return}switch(/(FSCommand\:)?(.+)/.exec(info)[2]){case "init":this._rescale=true;break;case "resize":var _14e=this.getFlashElement();var $=arg.split(/\:|,/);_14e.setAttribute($[0],$[1]);if($.length>2){_14e.style[$[2]]=$[3]+"px"}if(ua.khtml){var _150=_14e.offsetHeight}if(!this._firedReplacementEvent){this._events.onReplacement(this);this._firedReplacementEvent=true}if(this._rescale){this._rescale=false;var cb=this;setTimeout(function(){cb.call("scale")},0)}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,_153){if(!this.available()){return false}var _154=this.getFlashElement();try{_154.SetVariable("callbackType",type);_154.SetVariable("callbackValue",_153);_154.SetVariable("callbackTrigger",true)}catch(e){return false}return true};CallbackInfo.prototype.replaceText=function(_155,_156){var _157=_aa.escape(_155);if(this.call("replacetext",_157)){this.updateVars("content",_157);var node=this.getAlternate();if(_156){while(node.firstChild){node.removeChild(node.firstChild)}for(var i=0;i<_156.length;i++){node.appendChild(_156[i])}}else{try{node.innerHTML=_155}catch(e){}}return true}return false};CallbackInfo.prototype.updateVars=function(name,_15b){for(var i=0;i<this.vars.length;i++){if(this.vars[i].split("=")[0]==name){this.vars[i]=name+"="+_15b;break}}if(!ua.ie){this.injectVars(this.getFlashElement());this.injectVars(this.html)}};CallbackInfo.prototype.injectVars=function(_15d){var _15e=_15d.getElementsByTagName("param");for(var i=0;i<_15e.length;i++){if(_15e[i].getAttribute("name")=="flashvars"){_15e[i].setAttribute("value",encodeVars(this.vars));break}}};CallbackInfo.prototype.resetMovie=function(){if(!this.available()){return}var _160=this.getFlashElement();var node=_160.parentNode;if(ua.ie){this.html=this.html.replace(/(flashvars(=|\"\svalue=)\")[^\"]+/,"$1"+encodeVars(this.vars));node.replaceChild(dom.nodeFromHtml(this.html),_160)}else{node.replaceChild(this.html.cloneNode(true),_160)}};CallbackInfo.prototype.resize=function(){if(!this.available()){return}var _162=this.getFlashElement();var _163=_162.offsetWidth;if(_163==0){return}var _164=_162.getAttribute("width");var _165=_162.getAttribute("height");var _166=this.getAncestor();var _167=dom.getHeightFromStyle(_166);_162.style.width="0px";_162.style.height="0px";_166.style.minHeight=_167+"px";var _168=this.getAlternate().childNodes;var _169=[];for(var i=0;i<_168.length;i++){var node=_168[i].cloneNode(true);_169.push(node);_166.appendChild(node)}var _16c=dom.getWidthFromStyle(_166);for(var i=0;i<_169.length;i++){_166.removeChild(_169[i])}_162.style.width=_162.style.height=_166.style.minHeight="";_162.setAttribute("width",this._forceWidth?_16c:_164);_162.setAttribute("height",_165);if(_16c!=_163){this.call("resize",_16c)}};CallbackInfo.prototype.changeCSS=function(css){css=_aa.escape(_aa.cssToString(_aa.convertCssArg(css)));this.updateVars("css",css);return this.call("changecss",css)};CallbackInfo.prototype.getAlternate=function(){return document.getElementById(this.id+"_alternate")};CallbackInfo.prototype.getAncestor=function(){var _16e=this.getFlashElement().parentNode;return !dom.hasClass(_44,_16e)?_16e:_16e.parentNode}};