/*=:project
    scalable Inman Flash Replacement (sIFR) version 3, revision 361

  =: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="361";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){_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.getHeightFromStyle=function(_6d){var _6e=this.getStyleAsInt(_6d,"height",ua.ie);if(_6e==0){var _6f=this.getStyleAsInt(_6d,"paddingTop",true);var _70=this.getStyleAsInt(_6d,"paddingBottom",true);var _71=this.getStyleAsInt(_6d,"borderTopHeight",true);var _72=this.getStyleAsInt(_6d,"borderBottomHeight",true);_6e=_6d.offsetHeight-_70-_6f-_72-_71}return _6e};this.blurElement=function(_73){if(ua.gecko){_73.blur();return}var _74=dom.create("input");_74.style.width="0px";_74.style.height="0px";_73.parentNode.appendChild(_74);_74.focus();_74.blur();_74.parentNode.removeChild(_74)};this.getDimensions=function(_75){var _76=_75.offsetWidth;var _77=_75.offsetHeight;if(_76==0||_77==0){for(var i=0;i<_75.childNodes.length;i++){var _79=_75.childNodes[i];if(_79.nodeType!=1){continue}_76=Math.max(_76,_79.offsetWidth);_77=Math.max(_77,_79.offsetHeight)}}return {width:_76,height:_77}};this.contentIsLink=function(_7a){var _7b=false;for(var i=0;i<_7a.childNodes.length;i++){var _7d=_7a.childNodes[i];if(_7d.nodeType==3&&!_7d.nodeValue.match(/^\s*$/)){return false}else{if(_7d.nodeType!=1){continue}}var _7e=_7d.nodeName.toLowerCase()=="a";if(!_7e){return false}else{_7b=true}}return _7b};var dom=this;this.swf={create:function(_80,_81,id,_83,_84,src,_86,_87,_88){var obj=_80.object(_81,id,src,_83,_84);return _80.params(obj,"flashvars",_86,"wmode",_87,"bgcolor",_88,"allowScriptAccess","always","quality","best")},ie:{object:function(_8a,id,src,_8d,_8e){return "<object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" id=\""+id+"\" width=\""+_8d+"\" height=\""+_8e+"\" 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 _90="";for(var i=1;i<arguments.length;i+=2){_90+="<param name=\""+arguments[i]+"\" value=\""+arguments[i+1]+"\"></param>"}return obj.replace(/(<\/object>)/,_90+"$1")},insert:function(_92,_93){_92.innerHTML=_93}},other:{object:function(_94,id,src,_97,_98){var obj=dom.create("object");var _9a=["type","application/x-shockwave-flash","id",id,"name",id,"data",src,"width",_97,"height",_98];while(_9a.length){obj.setAttribute(_9a.shift(),_9a.shift())}obj.className=_3f;if(!_94){return {root:obj,obj:obj}}var _9b=dom.create("div");_9b.className=_44;_9b.appendChild(obj);return {root:_9b,obj:obj}},params:function(obj){for(var i=1;i<arguments.length;i+=2){if(arguments[i]=="name"){continue}var _9e=dom.create("param");_9e.setAttribute("name",arguments[i]);_9e.setAttribute("value",arguments[i+1]);obj.obj.appendChild(_9e)}return obj.root},insert:function(_9f,_a0){while(_9f.firstChild){_9f.removeChild(_9f.firstChild)}_9f.appendChild(_a0)}}}};this.dom=dom;var ua=new function(){var ua=navigator.userAgent.toLowerCase();var _a3=(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=_a3.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&&_a3=="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 _a5=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){_a5=this.flashVersion==6}if(!_a5){try{axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash")}catch(e){}}}if(!_a5&&axo){this.flashVersion=parseFloat(/([\d,?]+)/.exec(axo.GetVariable("$version"))[1].replace(/,/g,"."))}}else{if(navigator.plugins&&navigator.plugins["Shockwave Flash"]){var _a6=navigator.plugins["Shockwave Flash"];this.flashVersion=parseFloat(/(\d+\.?\d*)/.exec(_a6.description)[1]);var i=0;while(this.flashVersion>=_49&&i<navigator.mimeTypes.length){var _a8=navigator.mimeTypes[i];if(_a8.type=="application/x-shockwave-flash"&&_a8.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 _a9=new function(){var _aa={leading:true,"margin-left":true,"margin-right":true,"text-indent":true};var _ab=" ";function capitalize($){return $.toUpperCase()}this.normalize=function(str){if(_3b.preserveSingleWhitespace){return str.replace(/\s/g,_ab)}return str.replace(/(\n|\r)+/g,_ab).replace(/(\s)\s+/g,"$1").replace(/\xA0/,_ab)};this.textTransform=function(_ae,str){switch(_ae){case "uppercase":str=str.toUpperCase();break;case "lowercase":str=str.toLowerCase();break;case "capitalize":var _b0=str;str=str.replace(/^\w|\s\w/g,capitalize);if(str.indexOf("function capitalize")!=-1){var _b1=_b0.replace(/(^|\s)(\w)/g,"$1$1$2$2").split(/^\w|\s\w/g);str="";for(var i=0;i<_b1.length;i++){str+=_b1[i].charAt(0).toUpperCase()+_b1[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 _b5="";switch(typeof (obj)){case "string":_b5="\""+obj+"\"";break;case "number":case "boolean":_b5=obj.toString();break;case "object":_b5=[];for(var _b6 in obj){if(obj[_b6]==Object.prototype[_b6]){continue}_b5.push("\""+_b6+"\":"+_a9.toJson(obj[_b6]))}_b5="{"+_b5.join(",")+"}";break}return _b5};this.convertCssArg=function(arg){if(!arg){return {}}if(typeof (arg)=="object"){if(arg.constructor==Array){arg=arg.join("")}else{return arg}}var obj={};var _b9=arg.split("}");for(var i=0;i<_b9.length;i++){var $=_b9[i].match(/([^\s{]+)\s*\{(.+)\s*;?\s*/);if(!$||$.length!=3){continue}if(!obj[$[1]]){obj[$[1]]={}}var _bc=$[2].split(";");for(var j=0;j<_bc.length;j++){var $2=_bc[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,_c0,_c1,_c2){var _c3=null;if(css&&css[_c0]&&css[_c0][_c1]){_c3=css[_c0][_c1];if(_c2){delete css[_c0][_c1]}}return _c3};this.cssToString=function(arg){var css=[];for(var _c6 in arg){var _c7=arg[_c6];if(_c7==Object.prototype[_c6]){continue}css.push(_c6,"{");for(var _c8 in _c7){if(_c7[_c8]==Object.prototype[_c8]){continue}var _c9=_c7[_c8];if(_aa[_c8]){_c9=parseInt(_c9,10)}css.push(_c8,":",_c9,";")}css.push("}")}return css.join("")};this.bind=function(_ca,_cb){return function(){_ca[_cb].apply(_ca,arguments)}};this.escape=function(str){return escape(str).replace(/\+/g,"%2B")};this.copyProperties=function(_cd,to){for(var _cf in _cd){if(to[_cf]===undefined){to[_cf]=_cd[_cf]}}return to};this.domain=function(){var _d0="";try{_d0=document.domain}catch(e){}return _d0};this.domainMatches=function(_d1,_d2){if(_d2=="*"||_d2==_d1){return true}var _d3=_d2.lastIndexOf("*");if(_d3>-1){_d2=_d2.substr(_d3+1);var _d4=_d1.lastIndexOf(_d2);if(_d4>-1&&(_d4+_d2.length)==_d1.length){return true}}return false};this.uriEncode=function(s){return encodeURI(decodeURIComponent(s))}};this.util=_a9;var _d6={};_d6.fragmentIdentifier=new function(){this.fix=true;var _d7;this.cache=function(){_d7=document.title};function doFix(){document.title=_d7}this.restore=function(){if(this.fix){setTimeout(doFix,0)}}};this.hacks=_d6;_d6.pageLoad=new function(){var _d8=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(){_d8=dom.create("div");_d8.className=_45;dom.getBody().appendChild(_d8);pollStyle()}function pollStyle(){if(dom.getComputedStyle(_d8,"marginLeft")=="42px"){afterStyle()}else{setTimeout(pollStyle,10)}}function afterStyle(){if(_d8&&_d8.parentNode){_d8.parentNode.removeChild(_d8)}_d8=null;fire(null,true)}function fire(evt,_da){_3b.initialize(_da);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()}}}};_d6.zoom=new function(){var _db,_dc;function detect(){if(_db.offsetLeft!=_dc){_dc=_db.offsetLeft;resize(null,true)}}this.init=function(){if(!ua.ie||ua.ieVersion<7){return}_db=dom.create("div");_db.className=_46;_db.style.cssText="display:block;width:auto;position:absolute;left:10%;top:-100px;";dom.getBody().appendChild(_db);_dc=_db.offsetLeft;setInterval(detect,200)}};this.errors={};var _dd={kwargs:[],replaceAll:function(_de){for(var i=0;i<this.kwargs.length;i++){_3b.replace(this.kwargs[i])}if(!_de){this.kwargs=[]}}};function isValidDomain(){if(_3b.domains.length==0){return true}var _e0=_a9.domain();for(var i=0;i<_3b.domains.length;i++){var _e2=_3b.domains[i];if(_a9.domainMatches(_e0,_e2)){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,_e4){var _e5=_e4?{}:resize.viewport;resize.viewport={width:window.innerWidth||document.documentElement.clientWidth||dom.getBody().clientWidth,height:window.innerHeight||document.documentElement.clientHeight||dom.getBody().clientHeight};if(_e5&&resize.viewport.width==_e5.width&&resize.viewport.height==_e5.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)}function scale(){for(var i=0;i<_3b.callbacks.length;i++){_3b.callbacks[i].call("scale")}}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();_d6.fragmentIdentifier.fix=ua.ieWin&&_d6.fragmentIdentifier.fix&&window.location.hash!="";if(_d6.fragmentIdentifier.fix){_d6.fragmentIdentifier.cache()}if(!this.autoInitialize){return}_d6.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(_e8){if(!this.isActive||!this.isEnabled){return}if(_50){if(!_e8){_dd.replaceAll(false)}return}_50=true;_dd.replaceAll(_e8);if(_3b.repaintOnResize){if(window.addEventListener){window.addEventListener("resize",resize,false);window.addEventListener("scroll",scale,false)}else{window.attachEvent("onresize",resize);window.attachEvent("onscroll",scale)}_d6.zoom.init()}clearPrefetch()};function getSource(src){if(typeof (src)!="string"){if(src.src){src=src.src}if(typeof (src)!="string"){var _ea=[];for(var _eb in src){if(src[_eb]!=Object.prototype[_eb]){_ea.push(_eb)}}_ea.sort().reverse();var _ec="";var i=-1;while(!_ec&&++i<_ea.length){if(parseFloat(_ea[i])<=ua.flashVersion){_ec=src[_ea[i]]}}src=_ec}}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(_ee){for(var i=0;i<_ee.length;i++){document.write("<script defer type=\"sifr/prefetch\" src=\""+getSource(_ee[i])+"\"></script>")}}function prefetchLight(_f0){for(var i=0;i<_f0.length;i++){new Image().src=getSource(_f0[i])}}function clearPrefetch(){if(!ua.ieWin||!_4f){return}try{var _f2=document.getElementsByTagName("script");for(var i=_f2.length-1;i>=0;i--){var _f4=_f2[i];if(_f4.type=="sifr/prefetch"){_f4.parentNode.removeChild(_f4)}}}catch(e){}}function getRatio(_f5,_f6){for(var i=0;i<_f6.length;i+=2){if(_f5<=_f6[i]){return _f6[i+1]}}return _f6[_f6.length-1]||1}function getFilters(obj){var _f9=[];for(var _fa in obj){if(obj[_fa]==Object.prototype[_fa]){continue}var _fb=obj[_fa];_fa=[_fa.replace(/filter/i,"")+"Filter"];for(var _fc in _fb){if(_fb[_fc]==Object.prototype[_fc]){continue}_fa.push(_fc+":"+_a9.escape(_a9.toJson(_a9.toHexString(_fb[_fc]))))}_f9.push(_fa.join(","))}return _a9.escape(_f9.join(";"))}function calculate(_fd){var _fe,_ff;if(!ua.ie){_fe=dom.getStyleAsInt(_fd,"lineHeight");_ff=Math.floor(dom.getStyleAsInt(_fd,"height")/_fe)}else{if(ua.ie){var _100=dom.getComputedStyle(_fd,"fontSize");if(_100.indexOf("px")>0){_fe=parseInt(_100)}else{var html=_fd.innerHTML;_fd.style.visibility="visible";_fd.style.overflow="visible";_fd.style.position="static";_fd.style.zoom="normal";_fd.style.writingMode="lr-tb";_fd.style.width=_fd.style.height="auto";_fd.style.maxWidth=_fd.style.maxHeight=_fd.style.styleFloat="none";var _102=_fd;var _103=_fd.currentStyle.hasLayout;if(_103){_fd.innerHTML="<div class=\""+_43+"\">X<br />X<br />X</div>";_102=_fd.firstChild}else{_fd.innerHTML="X<br />X<br />X"}var _104=_102.getClientRects();_fe=_104[1].bottom-_104[1].top;_fe=Math.ceil(_fe*0.8);if(_103){_fd.innerHTML="<div class=\""+_43+"\">"+html+"</div>";_102=_fd.firstChild}else{_fd.innerHTML=html}_104=_102.getClientRects();_ff=_104.length;if(_103){_fd.innerHTML=html}_fd.style.visibility=_fd.style.width=_fd.style.height=_fd.style.maxWidth=_fd.style.maxHeight=_fd.style.overflow=_fd.style.styleFloat=_fd.style.position=_fd.style.zoom=_fd.style.writingMode=""}}}return {lineHeight:_fe,lines:_ff}}this.replace=function(_105,_106){if(!ua.supported){return}if(_106){_105=_a9.copyProperties(_105,_106)}if(!_50){return _dd.kwargs.push(_105)}if(_3b.onReplacementStart){_3b.onReplacementStart(_105)}var _107=_105.elements;if(!_107&&parseSelector){_107=parseSelector(_105.selector)}if(_107.length==0){return}var src=getSource(_105.src);var css=_a9.convertCssArg(_105.css);var _10a=getFilters(_105.filters);var _10b=(_105.forceClear==null)?_3b.forceClear:_105.forceClear;var _10c=(_105.fitExactly==null)?_3b.fitExactly:_105.fitExactly;var _10d=_10c||(_105.forceWidth==null?_3b.forceWidth:_105.forceWidth);var _10e=!!(_105.preventWrap&&!_105.forceSingleLine);var _10f=parseInt(_a9.extractFromCss(css,".sIFR-root","leading"))||0;var _110=_a9.extractFromCss(css,".sIFR-root","font-size",true)||0;var _111=_a9.extractFromCss(css,".sIFR-root","background-color",true)||"#FFFFFF";var _112=_a9.extractFromCss(css,".sIFR-root","kerning",true)||"";var _113=_105.gridFitType||_a9.extractFromCss(css,".sIFR-root","text-align")=="right"?"subpixel":"pixel";var _114=_3b.forceTextTransform?_a9.extractFromCss(css,".sIFR-root","text-transform",true)||"none":"none";var _115=_a9.extractFromCss(css,".sIFR-root","opacity",true)||"100";var _116=_a9.extractFromCss(css,".sIFR-root","cursor",true)||"default";var _117=_105.pixelFont||false;var _118=_105.ratios||_4b;var _119=parseInt(_105.tuneHeight)||0;var _11a=!!_105.onRelease||!!_105.onRollOver||!!_105.onRollOut;if(parseInt(_110).toString()!=_110&&_110.indexOf("px")==-1){_110=0}else{_110=parseInt(_110)}if(parseFloat(_115)<1){_115=100*parseFloat(_115)}var _11b="";if(_10c){_a9.extractFromCss(css,".sIFR-root","text-align",true)}if(!_105.modifyCss){_11b=_a9.cssToString(css)}var _11c=_105.wmode||"";if(!_11c){if(_105.transparent){_11c="transparent"}else{if(_105.opaque){_11c="opaque"}}}if(_11c=="transparent"){if(!ua.transparencySupport){_11c="opaque"}else{_111="transparent"}}for(var i=0;i<_107.length;i++){var node=_107[i];if(dom.hasOneOfClassses([_3e,_40,_41],node)){continue}var _11f=dom.getDimensions(node);var _120=_11f.height;var _121=_11f.width;var _122=dom.getComputedStyle(node,"display");if(!_120||!_121||_122==null||_122=="none"){continue}if(_10b&&ua.gecko){node.style.clear="both"}var html=null;if(_3b.fixWrap&&ua.ie&&_122=="block"){html=node.innerHTML;node.innerHTML="X"}_121=dom.getWidthFromStyle(node);if(html&&_3b.fixWrap&&ua.ie){node.innerHTML=html}var _124,_125;if(!_110){var _126=calculate(node);_124=Math.min(_48,Math.max(_47,_126.lineHeight));if(_117){_124=Math.max(8,8*Math.round(_124/8))}_125=_126.lines;if(isNaN(_125)||!isFinite(_125)||_125==0){_125=1}if(_125>1&&_10f){_120+=Math.round((_125-1)*_10f)}}else{_124=_110;_125=1}_120=Math.round(_125*_124);if(_10b&&ua.gecko){node.style.clear=""}var _127=dom.create("span");_127.className=_41;var _128=node.cloneNode(true);node.parentNode.appendChild(_128);for(var j=0,l=_128.childNodes.length;j<l;j++){_127.appendChild(_128.childNodes[j].cloneNode(true))}if(_105.modifyContent){_105.modifyContent(_128,_105.selector)}if(_105.modifyCss){_11b=_105.modifyCss(css,_128,_105.selector)}var _12b=_3b.fixHover&&dom.contentIsLink(_128);var _12c=handleContent(_128,_114,_105.uriEncode);_128.parentNode.removeChild(_128);if(_105.modifyContentString){_12c.text=_105.modifyContentString(_12c.text,_105.selector)}if(_12c.text==""){continue}var _12d=Math.round(_125*getRatio(_124,_118)*_124)+_4c+_119;var _12e=_10d?_121:"100%";var vars=["content="+_a9.escape(_12c.text),"antialiastype="+(_105.antiAliasType||""),"width="+_121,"height="+_120,"renderheight="+_12d,"fitexactly="+_10c,"tunewidth="+(_105.tuneWidth||0),"tuneheight="+_119,"offsetleft="+(_105.offsetLeft||""),"offsettop="+(_105.offsetTop||""),"thickness="+(_105.thickness||""),"sharpness="+(_105.sharpness||""),"kerning="+_112,"gridfittype="+_113,"flashfilters="+_10a,"opacity="+_115,"blendmode="+(_105.blendMode||""),"size="+_124,"css="+_a9.escape(_11b),"selectable="+(_105.selectable==null?"true":_105.selectable),"fixhover="+_12b,"preventwrap="+_10e,"forcesingleline="+(_105.forceSingleLine===true),"link="+_a9.escape(_12c.primaryLink[0]||""),"target="+_a9.escape(_12c.primaryLink[1]||""),"events="+_11a,"cursor="+_116,"version="+_4d];var _130=encodeVars(vars);var _131="sIFR_callback_"+_4e++;var _132=new CallbackInfo(_131,vars,_10d,{onReplacement:_105.onReplacement,onRollOver:_105.onRollOver,onRollOut:_105.onRollOut,onRelease:_105.onRelease});window[_131+"_DoFSCommand"]=(function(_133){return function(info,arg){_133.handle(info,arg)}})(_132);_127.setAttribute("id",_131+"_alternate");var _136=ua.ie?dom.swf.ie:dom.swf.other;var _137=dom.swf.create(_136,ua.fixFocus&&_105.fixFocus,_131,_12e,_12d,src,_130,_11c,_111);_136.insert(node,_137);_132.html=_137;_3b.callbacks.push(_132);if(_105.selector){if(!_3b.callbacks[_105.selector]){_3b.callbacks[_105.selector]=[_132]}else{_3b.callbacks[_105.selector].push(_132)}}node.appendChild(_127);dom.addClass(_3e,node)}_d6.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(_13c,_13d,_13e){_13e=_13e||_a9.uriEncode;var _13f=[],_140=[],_141=[];var _142=_13c.childNodes;var i=0;while(i<_142.length){var node=_142[i];if(node.nodeType==3){var text=_a9.normalize(node.nodeValue);text=_a9.textTransform(_13d,text);text=text.replace(/</g,"&lt;");_140.push(text)}if(node.nodeType==1){var _146=[];var _147=node.nodeName.toLowerCase();var _148=node.className||"";if(/\s+/.test(_148)){if(_148.indexOf(_42)>-1){_148=_148.match("(\\s|^)"+_42+"-([^\\s$]*)(\\s|$)")[2]}else{_148=_148.match(/^([^\s]+)/)[1]}}if(_148!=""){_146.push("class=\""+_148+"\"")}if(_147=="a"){var href=_13e(node.getAttribute("href")||"");var _14a=node.getAttribute("target")||"";_146.push("href=\""+href+"\"","target=\""+_14a+"\"");if(_141.length==0){_141=[href,_14a]}}_140.push("<"+_147+(_146.length>0?" ":"")+_146.join(" ")+">");if(node.hasChildNodes()){_13f.push(i);i=0;_142=node.childNodes;continue}else{if(!/^(br|img)$/i.test(node.nodeName)){_140.push("</",node.nodeName.toLowerCase(),">")}}}if(_13f.length>0&&!node.nextSibling){do{i=_13f.pop();_142=node.parentNode.parentNode.childNodes;node=_142[i];if(node){_140.push("</",node.nodeName.toLowerCase(),">")}}while(i==_142.length-1&&_13f.length>0)}i++}return {text:_140.join("").replace(/\n|\r/g,""),primaryLink:_141}}function CallbackInfo(id,vars,_14d,_14e){this.id=id;this.vars=vars;this._events=_14e;this._forceWidth=_14d;this._firedReplacementEvent=!(_14e.onReplacement!=null);this.html=null}CallbackInfo.prototype.getFlashElement=function(){return document.getElementById(this.id)};CallbackInfo.prototype.available=function(){var _14f=this.getFlashElement();return _14f&&_14f.parentNode};CallbackInfo.prototype.handle=function(info,arg){if(!this.available()){return}switch(/(FSCommand\:)?(.+)/.exec(info)[2]){case "resize":var _152=this.getFlashElement();var $=arg.split(/\:|,/);_152.setAttribute($[0],$[1]);if($.length>2){_152.style[$[2]]=$[3]+"px"}if(ua.khtml){var _154=_152.offsetHeight}if(!this._firedReplacementEvent){this._events.onReplacement(this);this._firedReplacementEvent=true}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,_156){if(!this.available()){return false}var _157=this.getFlashElement();try{_157.SetVariable("callbackType",type);_157.SetVariable("callbackValue",_156);_157.SetVariable("callbackTrigger",true)}catch(e){return false}return true};CallbackInfo.prototype.replaceText=function(_158,_159){var _15a=_a9.escape(_158);this.updateVars("content",_15a);if(this.call("replacetext",_15a)){var node=this.getAlternate();if(_159){while(node.firstChild){node.removeChild(node.firstChild)}for(var i=0;i<_159.length;i++){node.appendChild(_159[i])}}else{try{node.innerHTML=_158}catch(e){}}return true}return false};CallbackInfo.prototype.updateVars=function(name,_15e){for(var i=0;i<this.vars.length;i++){if(this.vars[i].split("=")[0]==name){this.vars[i]=name+"="+_15e;break}}};CallbackInfo.prototype.resetMovie=function(){if(!this.available()){return}var _160=this.getFlashElement();var node=_160.parentNode;var vars=encodeVars(this.vars);if(ua.ie){this.html=this.html.replace(/(flashvars(=|\"\svalue=)\")[^\"]+/,"$1"+vars);node.replaceChild(dom.nodeFromHtml(this.html),_160)}else{var _163=this.html.getElementsByTagName("param");for(var i=0;i<_163.length;i++){if(_163[i].getAttribute("name")=="flashvars"){_163[i].setAttribute("value",vars);break}}node.replaceChild(this.html.cloneNode(true),_160)}};CallbackInfo.prototype.resize=function(){if(!this.available()){return}var _165=this.getFlashElement();var _166=this.getAncestor();var _167=dom.getHeightFromStyle(_166);var _168=_165.offsetWidth;var _169=_165.getAttribute("width");var _16a=_165.getAttribute("height");_165.style.width="0px";_165.style.height="0px";_166.style.minHeight=_167+"px";var _16b=this.getAlternate().childNodes;var _16c=[];for(var i=0;i<_16b.length;i++){var node=_16b[i].cloneNode(true);_16c.push(node);_166.appendChild(node)}var _16f=dom.getWidthFromStyle(_166);for(var i=0;i<_16c.length;i++){_166.removeChild(_16c[i])}_165.style.width=_165.style.height=_166.style.minHeight="";_165.setAttribute("width",this._forceWidth?_16f:_169);_165.setAttribute("height",_16a);if(_16f!=_168){this.call("resize",_16f)}else{this.call("scale")}};CallbackInfo.prototype.changeCSS=function(css){css=_a9.escape(_a9.cssToString(_a9.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 _171=this.getFlashElement().parentNode;return !dom.hasClass(_44,_171)?_171:_171.parentNode}};
