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

  =: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-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="sIFR-dummy";var _45=6;var _46=126;var _47=8;var _48="SIFR-PREFETCHED";var _49=[];var _4a=5;var _4b="344";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.useDomLoaded=true;this.useStyleCheck=false;this.hasFlashClassSet=false;this.repaintOnResize=true;this.callbacks=[];var _4c=0;var _4d=false,_4e=false;var dom=new function(){var _50="http://www.w3.org/1999/xhtml";this.getBody=function(){var _51=document.getElementsByTagName("body");if(_51.length==1){return _51[0]}return null};this.addClass=function(_52,_53){if(_53){_53.className=((_53.className||"")==""?"":_53.className+" ")+_52}};this.removeClass=function(_54,_55){if(_55){_55.className=_55.className.replace(new RegExp("(^|\\s)"+_54+"(\\s|$)"),"").replace(/^\s+|(\s)\s+/g,"$1")}};this.hasClass=function(_56,_57){return new RegExp("(^|\\s)"+_56+"(\\s|$)").test(_57.className)};this.hasOneOfClassses=function(_58,_59){for(var i=0;i<_58.length;i++){if(this.hasClass(_58[i],_59)){return true}}return false};this.create=function(_5b){if(document.createElementNS){return document.createElementNS(_50,_5b)}return document.createElement(_5b)};this.nodeFromHtml=function(_5c){var _5d=this.create("div");_5d.innerHTML=_5c;return _5d.firstChild};this.getComputedStyle=function(_5e,_5f){var _60;if(document.defaultView&&document.defaultView.getComputedStyle){_60=document.defaultView.getComputedStyle(_5e,null)[_5f]}else{if(_5e.currentStyle){_60=_5e.currentStyle[_5f]}}return _60||""};this.getStyleAsInt=function(_61,_62,_63){var _64=this.getComputedStyle(_61,_62);if(_63&&!/px$/.test(_64)){return 0}_64=parseInt(_64);return isNaN(_64)?0:_64};this.getWidthFromStyle=function(_65){var _66=this.getStyleAsInt(_65,"width",ua.ie);if(_66==0){var _67=this.getStyleAsInt(_65,"paddingRight",true);var _68=this.getStyleAsInt(_65,"paddingLeft",true);var _69=this.getStyleAsInt(_65,"borderRightWidth",true);var _6a=this.getStyleAsInt(_65,"borderLeftWidth",true);_66=_65.offsetWidth-_68-_67-_6a-_69}return _66};this.getZoom=function(){return _ce.zoom.getLatest()};this.blurElement=function(_6b){if(ua.gecko){_6b.blur();return}var _6c=dom.create("input");_6c.style.width="0px";_6c.style.height="0px";_6b.parentNode.appendChild(_6c);_6c.focus();_6c.blur();_6c.parentNode.removeChild(_6c)};this.getDimensions=function(_6d){var _6e=_6d.offsetWidth;var _6f=_6d.offsetHeight;if(_6e==0||_6f==0){for(var i=0;i<_6d.childNodes.length;i++){var _71=_6d.childNodes[i];if(_71.nodeType!=1){continue}_6e=Math.max(_6e,_71.offsetWidth);_6f=Math.max(_6f,_71.offsetHeight)}}return {width:_6e,height:_6f}};this.contentIsLink=function(_72){var _73=false;for(var i=0;i<_72.childNodes.length;i++){var _75=_72.childNodes[i];if(_75.nodeType==3&&!_75.nodeValue.match(/^\s*$/)){return false}else{if(_75.nodeType!=1){continue}}var _76=_75.nodeName.toLowerCase()=="a";if(!_76){return false}else{_73=true}}return _73};var dom=this;this.swf={create:function(_78,_79,id,_7b,_7c,src,_7e,_7f,_80){var obj=_78.object(_79,id,src,_7b,_7c);return _78.params(obj,"flashvars",_7e,"wmode",_7f,"bgcolor",_80,"allowScriptAccess","always","quality","best")},ie:{object:function(_82,id,src,_85,_86){return "<object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" id=\""+id+"\" sifr=\"true\" width=\""+_85+"\" height=\""+_86+"\" class=\""+_3e+"\">"+"<param name=\"movie\" value=\""+src+"\"></param></object>"+"<scr"+"ipt event=FSCommand(info,args) for="+id+">"+id+"_DoFSCommand(info, args);"+"</"+"script>"},params:function(obj){var _88="";for(var i=1;i<arguments.length;i+=2){_88+="<param name=\""+arguments[i]+"\" value=\""+arguments[i+1]+"\"></param>"}return obj.replace(/(<\/object>)/,_88+"$1")},insert:function(_8a,_8b){_8a.innerHTML=_8b}},other:{object:function(_8c,id,src,_8f,_90){var obj=dom.create("object");var _92=["type","application/x-shockwave-flash","id",id,"name",id,"data",src,"width",_8f,"height",_90,"sifr","true"];while(_92.length){obj.setAttribute(_92.shift(),_92.shift())}obj.className=_3e;if(!_8c){return obj}var _93=dom.create("div");_93.className=_43;_93.appendChild(obj);return _93},params:function(obj){for(var i=1;i<arguments.length;i+=2){if(arguments[i]=="name"){continue}var _96=dom.create("param");_96.setAttribute("name",arguments[i]);_96.setAttribute("value",arguments[i+1]);obj.appendChild(_96)}return obj},insert:function(_97,_98){while(_97.firstChild){_97.removeChild(_97.firstChild)}_97.appendChild(_98)}}}};this.dom=dom;var ua=new function(){var ua=navigator.userAgent.toLowerCase();var _9b=(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=_9b.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&&_9b=="gecko";this.operaVersion=this.opera&&/.*opera(\s|\/)(\d+\.\d+)/.exec(ua)?parseFloat(RegExp.$2):0;this.webkitVersion=this.webkit&&/.*applewebkit\/(\d+).*/.exec(ua)?parseFloat(RegExp.$1):0;this.geckoBuildDate=this.gecko&&/.*gecko\/(\d{8}).*/.exec(ua)?parseFloat(RegExp.$1):0;this.konquerorMajor=this.konqueror&&/.*konqueror\/(\d).*/.exec(ua)?parseFloat(RegExp.$1):0;this.konquerorMinor=this.konqueror&&/.*khtml\/\d\.(\d).*/.exec(ua)?parseFloat(RegExp.$1):0;this.konquerorSmall=this.konqueror&&/.*khtml\/\d\.\d\.(\d).*/.exec(ua)?parseFloat(RegExp.$1):0;this.flashVersion=0;if(this.ieWin){var axo;var _9d=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){_9d=this.flashVersion==6}if(!_9d){try{axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash")}catch(e){}}}if(!_9d&&axo){this.flashVersion=parseFloat(/([\d,?]+)/.exec(axo.GetVariable("$version"))[1].replace(/,/g,"."))}}else{if(navigator.plugins&&navigator.plugins["Shockwave Flash"]){var _9e=navigator.plugins["Shockwave Flash"];this.flashVersion=parseFloat(/(\d+\.?\d*)/.exec(_9e.description)[1]);var i=0;while(this.flashVersion>=_47&&i<navigator.mimeTypes.length){var _a0=navigator.mimeTypes[i];if(_a0.type=="application/x-shockwave-flash"&&_a0.enabledPlugin.description.toLowerCase().indexOf("quicktime")>-1){this.flashVersion=0;this.quicktime=true}i++}}}this.flash=this.flashVersion>=_47;this.transparencySupport=this.macintosh||this.windows;this.computedStyleSupport=this.ie||document.defaultView&&document.defaultView.getComputedStyle&&(!this.gecko||this.geckoBuildDate>=20030624);this.zoomSupport=!!(this.opera&&document.documentElement);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 _a1=new function(){var _a2={leading:true,"margin-left":true,"margin-right":true,"text-indent":true};var _a3=" ";function capitalize($){return $.toUpperCase()}this.normalize=function(str){if(_3b.preserveSingleWhitespace){return str.replace(/\s/g,_a3)}return str.replace(/(\n|\r)+/g,_a3).replace(/(\s)\s+/g,"$1").replace(/\xA0/,_a3)};this.textTransform=function(_a6,str){switch(_a6){case "uppercase":str=str.toUpperCase();break;case "lowercase":str=str.toLowerCase();break;case "capitalize":var _a8=str;str=str.replace(/^\w|\s\w/g,capitalize);if(str.indexOf("function capitalize")!=-1){var _a9=_a8.replace(/(^|\s)(\w)/g,"$1$1$2$2").split(/^\w|\s\w/g);str="";for(var i=0;i<_a9.length;i++){str+=_a9[i].charAt(0).toUpperCase()+_a9[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 _ad="";switch(typeof (obj)){case "string":_ad="\""+obj+"\"";break;case "number":case "boolean":_ad=obj.toString();break;case "object":_ad=[];for(var _ae in obj){if(obj[_ae]==Object.prototype[_ae]){continue}_ad.push("\""+_ae+"\":"+_a1.toJson(obj[_ae]))}_ad="{"+_ad.join(",")+"}";break}return _ad};this.convertCssArg=function(arg){if(!arg){return {}}if(typeof (arg)=="object"){if(arg.constructor==Array){arg=arg.join("")}else{return arg}}var obj={};var _b1=arg.split("}");for(var i=0;i<_b1.length;i++){var $=_b1[i].match(/([^\s{]+)\s*\{(.+)\s*;?\s*/);if(!$||$.length!=3){continue}if(!obj[$[1]]){obj[$[1]]={}}var _b4=$[2].split(";");for(var j=0;j<_b4.length;j++){var $2=_b4[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,_b8,_b9,_ba){var _bb=null;if(css&&css[_b8]&&css[_b8][_b9]){_bb=css[_b8][_b9];if(_ba){delete css[_b8][_b9]}}return _bb};this.cssToString=function(arg){var css=[];for(var _be in arg){var _bf=arg[_be];if(_bf==Object.prototype[_be]){continue}css.push(_be,"{");for(var _c0 in _bf){if(_bf[_c0]==Object.prototype[_c0]){continue}var _c1=_bf[_c0];if(_a2[_c0]){_c1=parseInt(_c1,10)}css.push(_c0,":",_c1,";")}css.push("}")}return css.join("")};this.bind=function(_c2,_c3){return function(){_c2[_c3].apply(_c2,arguments)}};this.escape=function(str){return escape(str).replace(/\+/g,"%2B")};this.copyProperties=function(_c5,to){for(var _c7 in _c5){if(to[_c7]===undefined){to[_c7]=_c5[_c7]}}return to};this.domain=function(){var _c8="";try{_c8=document.domain}catch(e){}return _c8};this.domainMatches=function(_c9,_ca){if(_ca=="*"||_ca==_c9){return true}var _cb=_ca.lastIndexOf("*");if(_cb>-1){_ca=_ca.substr(_cb+1);var _cc=_c9.lastIndexOf(_ca);if(_cc>-1&&(_cc+_ca.length)==_c9.length){return true}}return false};this.uriEncode=function(s){return encodeURI(decodeURIComponent(s))}};this.util=_a1;var _ce={};_ce.fragmentIdentifier=new function(){this.fix=true;var _cf;this.cache=function(){_cf=document.title};function doFix(){document.title=_cf}this.restore=function(){if(this.fix){setTimeout(doFix,0)}}};this.hacks=_ce;_ce.synchronizer=new function(){this.isBlocked=false;this.block=function(){this.isBlocked=true};this.unblock=function(){this.isBlocked=false;_d0.replaceAll()}};_ce.zoom=new function(){var _d1=100;this.getLatest=function(){return _d1};if(ua.zoomSupport&&ua.opera){var _d2=document.createElement("div");_d2.style.position="fixed";_d2.style.left="-65536px";_d2.style.top="0";_d2.style.height="100%";_d2.style.width="1px";_d2.style.zIndex="-32";document.documentElement.appendChild(_d2);function updateZoom(){if(!_d2){return}var _d3=window.innerHeight/_d2.offsetHeight;var _d4=Math.round(_d3*100)%10;if(_d4>5){_d3=Math.round(_d3*100)+10-_d4}else{_d3=Math.round(_d3*100)-_d4}_d1=isNaN(_d3)?100:_d3;_ce.synchronizer.unblock();document.documentElement.removeChild(_d2);_d2=null}_ce.synchronizer.block();setTimeout(updateZoom,54)}};_ce.pageLoad=new function(){var _d5=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(){_d5=dom.create("div");_d5.className=_44;dom.getBody().appendChild(_d5);pollStyle()}function pollStyle(){if(dom.getComputedStyle(_d5,"marginLeft")=="42px"){afterStyle()}else{setTimeout(pollStyle,10)}}function afterStyle(){if(_d5&&_d5.parentNode){_d5.parentNode.removeChild(_d5)}_d5=null;fire(null,true)}function fire(evt,_d7){_3b.initialize(_d7);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){return}if(ua.nativeDomLoaded){document.addEventListener("DOMContentLoaded",afterDomLoad,false)}else{if(ua.ie||ua.khtml){pollLoad()}}}};this.errors={};var _d8={kwargs:[],replaceAll:function(_d9){for(var i=0;i<this.kwargs.length;i++){_3b.replace(this.kwargs[i])}if(!_d9){this.kwargs=[]}}};var _d0={kwargs:[],replaceAll:_d8.replaceAll};function isValidDomain(){if(_3b.domains.length==0){return true}var _db=_a1.domain();for(var i=0;i<_3b.domains.length;i++){var _dd=_3b.domains[i];if(_a1.domainMatches(_db,_dd)){return true}}return false}function isFile(){if(!_3b.fromLocal&&document.location.protocol=="file:"){if(_3b.debug){_3b.errors.fire("isFile")}return true}return false}function resize(){var _de=resize.viewport;resize.viewport={width:window.innerWidth||document.documentElement.clientWidth||dom.getBody().clientWidth,height:window.innerHeight||document.documentElement.clientHeight||dom.getBody().clientHeight};if(_de&&resize.viewport.width==_de.width&&resize.viewport.height==_de.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()}_ce.fragmentIdentifier.fix=ua.ieWin&&_ce.fragmentIdentifier.fix&&window.location.hash!="";if(_ce.fragmentIdentifier.fix){_ce.fragmentIdentifier.cache()}if(!this.registerEvents){return}_ce.pageLoad.attach()};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(_e0){if(!this.isActive||!this.isEnabled){return}if(_4e){if(!_e0){_d8.replaceAll(false)}return}_4e=true;_d8.replaceAll(_e0);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 _e2=[];for(var _e3 in src){if(src[_e3]!=Object.prototype[_e3]){_e2.push(_e3)}}_e2.sort().reverse();var _e4="";var i=-1;while(!_e4&&++i<_e2.length){if(parseFloat(_e2[i])<=ua.flashVersion){_e4=src[_e2[i]]}}src=_e4}}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(";?"+_48+"=true;?").test(document.cookie)){return}try{_4d=true;if(ua.ieWin){prefetchIexplore(arguments)}else{prefetchLight(arguments)}if(this.setPrefetchCookie){document.cookie=_48+"=true;path="+this.cookiePath}}catch(e){if(_3b.debug){throw e}}};function prefetchIexplore(_e6){for(var i=0;i<_e6.length;i++){document.write("<script defer type=\"sifr/prefetch\" src=\""+getSource(_e6[i])+"\"></script>")}}function prefetchLight(_e8){for(var i=0;i<_e8.length;i++){new Image().src=getSource(_e8[i])}}function clearPrefetch(){if(!ua.ieWin||!_4d){return}try{var _ea=document.getElementsByTagName("script");for(var i=_ea.length-1;i>=0;i--){var _ec=_ea[i];if(_ec.type=="sifr/prefetch"){_ec.parentNode.removeChild(_ec)}}}catch(e){}}function getRatio(_ed,_ee){for(var i=0;i<_ee.length;i+=2){if(_ed<=_ee[i]){return _ee[i+1]}}return _ee[_ee.length-1]||1}function getFilters(obj){var _f1=[];for(var _f2 in obj){if(obj[_f2]==Object.prototype[_f2]){continue}var _f3=obj[_f2];_f2=[_f2.replace(/filter/i,"")+"Filter"];for(var _f4 in _f3){if(_f3[_f4]==Object.prototype[_f4]){continue}_f2.push(_f4+":"+_a1.escape(_a1.toJson(_a1.toHexString(_f3[_f4]))))}_f1.push(_f2.join(","))}return _a1.escape(_f1.join(";"))}function calculate(_f5){var _f6,_f7;if(!ua.ie){_f6=dom.getStyleAsInt(_f5,"lineHeight");_f7=Math.floor(dom.getStyleAsInt(_f5,"height")/_f6)}else{if(ua.ie){var _f8=dom.getComputedStyle(_f5,"fontSize");if(_f8.indexOf("px")>0){_f6=parseInt(_f8)}else{var _f9=_f5.innerHTML;_f5.style.visibility="visible";_f5.style.overflow="visible";_f5.style.position="static";_f5.style.zoom="normal";_f5.style.writingMode="lr-tb";_f5.style.width=_f5.style.height="auto";_f5.style.maxWidth=_f5.style.maxHeight=_f5.style.styleFloat="none";var _fa=_f5;var _fb=_f5.currentStyle.hasLayout;if(_fb){_f5.innerHTML="<div class=\""+_42+"\">X<br />X<br />X</div>";_fa=_f5.firstChild}else{_f5.innerHTML="X<br />X<br />X"}var _fc=_fa.getClientRects();_f6=_fc[1].bottom-_fc[1].top;_f6=Math.ceil(_f6*0.8);if(_fb){_f5.innerHTML="<div class=\""+_42+"\">"+_f9+"</div>";_fa=_f5.firstChild}else{_f5.innerHTML=_f9}_fc=_fa.getClientRects();_f7=_fc.length;if(_fb){_f5.innerHTML=_f9}_f5.style.visibility=_f5.style.width=_f5.style.height=_f5.style.maxWidth=_f5.style.maxHeight=_f5.style.overflow=_f5.style.styleFloat=_f5.style.position=_f5.style.zoom=_f5.style.writingMode=""}}}return {lineHeight:_f6,lines:_f7}}this.replace=function(_fd,_fe){if(!ua.supported){return}if(_fe){_fd=_a1.copyProperties(_fd,_fe)}if(!_4e){return _d8.kwargs.push(_fd)}if(_ce.synchronizer.isBlocked){return _d0.kwargs.push(_fd)}if(_3b.onReplacementStart){_3b.onReplacementStart(_fd)}var _ff=_fd.elements;if(!_ff&&parseSelector){_ff=parseSelector(_fd.selector)}if(_ff.length==0){return}this.setFlashClass();var src=getSource(_fd.src);var css=_a1.convertCssArg(_fd.css);var _102=getFilters(_fd.filters);var _103=(_fd.forceClear==null)?_3b.forceClear:_fd.forceClear;var _104=(_fd.fitExactly==null)?_3b.fitExactly:_fd.fitExactly;var _105=_104||(_fd.forceWidth==null?_3b.forceWidth:_fd.forceWidth);var _106=!!(_fd.preventWrap&&!_fd.forceSingleLine);var _107=parseInt(_a1.extractFromCss(css,".sIFR-root","leading"))||0;var _108=_a1.extractFromCss(css,".sIFR-root","font-size",true)||0;var _109=_a1.extractFromCss(css,".sIFR-root","background-color",true)||"#FFFFFF";var _10a=_a1.extractFromCss(css,".sIFR-root","kerning",true)||"";var _10b=_fd.gridFitType||_a1.extractFromCss(css,".sIFR-root","text-align")=="right"?"subpixel":"pixel";var _10c=_3b.forceTextTransform?_a1.extractFromCss(css,".sIFR-root","text-transform",true)||"none":"none";var _10d=_a1.extractFromCss(css,".sIFR-root","opacity",true)||"100";var _10e=_a1.extractFromCss(css,".sIFR-root","cursor",true)||"default";var _10f=_fd.pixelFont||false;var _110=_fd.ratios||_49;var _111=parseInt(_fd.tuneHeight)||0;var _112=!!_fd.onRelease||!!_fd.onRollOver||!!_fd.onRollOut;if(parseInt(_108).toString()!=_108&&_108.indexOf("px")==-1){_108=0}else{_108=parseInt(_108)}if(parseFloat(_10d)<1){_10d=100*parseFloat(_10d)}var _113="";if(_104){_a1.extractFromCss(css,".sIFR-root","text-align",true)}if(!_fd.modifyCss){_113=_a1.cssToString(css)}var _114=_fd.wmode||"";if(!_114){if(_fd.transparent){_114="transparent"}else{if(_fd.opaque){_114="opaque"}}}if(_114=="transparent"){if(!ua.transparencySupport){_114="opaque"}else{_109="transparent"}}for(var i=0;i<_ff.length;i++){var node=_ff[i];if(dom.hasOneOfClassses([_3d,_3f,_40],node)){continue}var _117=dom.getDimensions(node);var _118=_117.height;var _119=_117.width;var _11a=dom.getComputedStyle(node,"display");if(!_118||!_119||_11a==null||_11a=="none"){continue}if(_103&&ua.gecko){node.style.clear="both"}var html=null;if(_3b.fixWrap&&ua.ie&&_11a=="block"){html=node.innerHTML;node.innerHTML="X"}_119=dom.getWidthFromStyle(node);if(html&&_3b.fixWrap&&ua.ie){node.innerHTML=html}var _11c,_11d;if(!_108){var _11e=calculate(node);_11c=Math.min(_46,Math.max(_45,_11e.lineHeight));if(_10f){_11c=Math.max(8,8*Math.round(_11c/8))}_11d=_11e.lines;if(isNaN(_11d)||!isFinite(_11d)||_11d==0){_11d=1}if(_11d>1&&_107){_118+=Math.round((_11d-1)*_107)}}else{_11c=_108;_11d=1}_118=Math.round(_11d*_11c);if(_103&&ua.gecko){node.style.clear=""}var _11f=dom.create("span");_11f.className=_40;var _120=node.cloneNode(true);node.parentNode.appendChild(_120);for(var j=0,l=_120.childNodes.length;j<l;j++){_11f.appendChild(_120.childNodes[j].cloneNode(true))}if(_fd.modifyContent){_fd.modifyContent(_120,_fd.selector)}if(_fd.modifyCss){_113=_fd.modifyCss(css,_120,_fd.selector)}var _123=_3b.fixHover&&dom.contentIsLink(_120);var _124=handleContent(_120,_10c,_fd.uriEncode);_120.parentNode.removeChild(_120);if(_fd.modifyContentString){_124.text=_fd.modifyContentString(_124.text,_fd.selector)}if(_124.text==""){continue}var vars=["content="+_a1.escape(_124.text),"antialiastype="+(_fd.antiAliasType||""),"width="+_119,"height="+_118,"fitexactly="+_104,"tunewidth="+(_fd.tuneWidth||0),"tuneheight="+_111,"offsetleft="+(_fd.offsetLeft||""),"offsettop="+(_fd.offsetTop||""),"thickness="+(_fd.thickness||""),"sharpness="+(_fd.sharpness||""),"kerning="+_10a,"gridfittype="+_10b,"zoomsupport="+ua.zoomSupport,"flashfilters="+_102,"opacity="+_10d,"blendmode="+(_fd.blendMode||""),"size="+_11c,"zoom="+dom.getZoom(),"css="+_a1.escape(_113),"selectable="+(_fd.selectable==null?"true":_fd.selectable),"fixhover="+_123,"preventwrap="+_106,"forcesingleline="+(_fd.forceSingleLine===true),"link="+_a1.escape(_124.primaryLink[0]||""),"target="+_a1.escape(_124.primaryLink[1]||""),"events="+_112,"cursor="+_10e,"version="+_4b];var _126=encodeVars(vars);var _127="sIFR_callback_"+_4c++;var _128=new CallbackInfo(_127,vars,{onReplacement:_fd.onReplacement,onRollOver:_fd.onRollOver,onRollOut:_fd.onRollOut,onRelease:_fd.onRelease});window[_127+"_DoFSCommand"]=(function(_129){return function(info,arg){_129.handle(info,arg)}})(_128);_11f.setAttribute("id",_127+"_alternate");_118=Math.round(_11d*getRatio(_11c,_110)*_11c)+_4a+_111;var _12c=_105?_119:"100%";var _12d=ua.ie?dom.swf.ie:dom.swf.other;var _12e=dom.swf.create(_12d,ua.fixFocus&&_fd.fixFocus,_127,_12c,_118,src,_126,_114,_109);_12d.insert(node,_12e);_128.html=_12e;_3b.callbacks.push(_128);if(_fd.selector){if(!_3b.callbacks[_fd.selector]){_3b.callbacks[_fd.selector]=[_128]}else{_3b.callbacks[_fd.selector].push(_128)}}node.appendChild(_11f);dom.addClass(_3d,node)}_ce.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(_133,_134,_135){_135=_135||_a1.uriEncode;var _136=[],_137=[],_138=[];var _139=_133.childNodes;var i=0;while(i<_139.length){var node=_139[i];if(node.nodeType==3){var text=_a1.normalize(node.nodeValue);text=_a1.textTransform(_134,text);text=text.replace(/</g,"&lt;");_137.push(text)}if(node.nodeType==1){var _13d=[];var _13e=node.nodeName.toLowerCase();var _13f=node.className||"";if(/\s+/.test(_13f)){if(_13f.indexOf(_41)>-1){_13f=_13f.match("(\\s|^)"+_41+"-([^\\s$]*)(\\s|$)")[2]}else{_13f=_13f.match(/^([^\s]+)/)[1]}}if(_13f!=""){_13d.push("class=\""+_13f+"\"")}if(_13e=="a"){var href=_135(node.getAttribute("href")||"");var _141=node.getAttribute("target")||"";_13d.push("href=\""+href+"\"","target=\""+_141+"\"");if(_138.length==0){_138=[href,_141]}}_137.push("<"+_13e+(_13d.length>0?" ":"")+_13d.join(" ")+">");if(node.hasChildNodes()){_136.push(i);i=0;_139=node.childNodes;continue}else{if(!/^(br|img)$/i.test(node.nodeName)){_137.push("</",node.nodeName.toLowerCase(),">")}}}if(_136.length>0&&!node.nextSibling){do{i=_136.pop();_139=node.parentNode.parentNode.childNodes;node=_139[i];if(node){_137.push("</",node.nodeName.toLowerCase(),">")}}while(i==_139.length-1&&_136.length>0)}i++}return {text:_137.join("").replace(/\n|\r/g,""),primaryLink:_138}}function CallbackInfo(id,vars,_144){this.id=id;this.vars=vars;this._events=_144;this._firedReplacementEvent=!(_144.onReplacement!=null);this.html=null}CallbackInfo.prototype.getFlashElement=function(){return document.getElementById(this.id)};CallbackInfo.prototype.available=function(){var _145=this.getFlashElement();return _145&&_145.parentNode};CallbackInfo.prototype.handle=function(info,arg){if(!this.available()){return}if(/(FSCommand\:)?resize/.test(info)){var _148=this.getFlashElement();var $=arg.split(/\:|,/);_148.setAttribute($[0],$[1]);if($.length>2){_148.style[$[2]]=$[3]+"px"}if(ua.khtml){var _14a=_148.offsetHeight}if(!this._firedReplacementEvent){this._events.onReplacement(this);this._firedReplacementEvent=true}}else{if(/(FSCommand\:)?resetmovie/.test(info)){this.resetMovie()}else{if(/(FSCommand\:)?blur/.test(info)){dom.blurElement(this.getFlashElement())}else{if(/(FSCommand\:)?event/.test(info)){if(this._events[arg]){this._events[arg](this)}}else{if(this.debugHandler&&/(FSCommand\:)?debug/.test(info)){this.debugHandler(info,arg)}}}}}};CallbackInfo.prototype.call=function(type,_14c){if(!this.available()){return false}var _14d=this.getFlashElement();try{_14d.SetVariable("callbackType",type);_14d.SetVariable("callbackValue",_14c);_14d.SetVariable("callbackTrigger",true)}catch(e){return false}return true};CallbackInfo.prototype.replaceText=function(_14e){var _14f=_a1.escape(_14e);this.updateVars("content",_14f);if(this.call("replacetext",_14f)){this.getAlternate().innerHTML=_14e;return true}return false};CallbackInfo.prototype.updateVars=function(name,_151){for(var i=0;i<this.vars.length;i++){if(this.vars[i].split("=")[0]==name){this.vars[i]=name+"="+_151;break}}};CallbackInfo.prototype.resetMovie=function(){if(!this.available()){return}var _153=this.getFlashElement();var node=_153.parentNode;var vars=encodeVars(this.vars);if(ua.ie){this.html=this.html.replace(/(flashvars(=|\"\svalue=)\")[^\"]+/,"$1"+vars);node.replaceChild(dom.nodeFromHtml(this.html),_153)}else{var _156=this.html.getElementsByTagName("param");for(var i=0;i<_156.length;i++){if(_156[i].getAttribute("name")=="flashvars"){_156[i].setAttribute("value",vars);break}}node.replaceChild(this.html.cloneNode(true),_153)}};CallbackInfo.prototype.resize=function(){if(!this.available()){return}var _158=this.getFlashElement();var _159=_158.parentNode;var _15a=dom.getComputedStyle(_158,"width");var _15b=dom.getComputedStyle(_158,"height");_158.style.width="0px";_158.style.height="0px";_158.parentNode.style.minHeight=_15b;var _15c=this.getAlternate().childNodes;var _15d=[];for(var i=0;i<_15c.length;i++){var node=_15c[i].cloneNode(true);_15d.push(node);_159.appendChild(node)}var _160=dom.getWidthFromStyle(_159);for(var i=0;i<_15d.length;i++){_159.removeChild(_15d[i])}_158.style.width=_15a;_158.style.height=_15b;_158.parentNode.style.minHeight="";if(_160!=parseInt(_15a)){this.call("resize",_160)}};CallbackInfo.prototype.changeCSS=function(css){css=_a1.escape(_a1.cssToString(_a1.convertCssArg(css)));this.injectVars("css",css);return this.call("changecss",css)};CallbackInfo.prototype.getAlternate=function(){return document.getElementById(this.id+"_alternate")}};
