var sIFR=new function(){function e(){}function f(a){function b(a){return a.toLocaleUpperCase()}this.normalize=function(a){return a.replace(/\n|\r|\xA0/g,f.SINGLE_WHITESPACE).replace(/\s+/g,f.SINGLE_WHITESPACE)},this.textTransform=function(a,c){switch(a){case"uppercase":return c.toLocaleUpperCase();case"lowercase":return c.toLocaleLowerCase();case"capitalize":return c.replace(/^\w|\s\w/g,b)}return c},this.toHexString=function(a){return a.charAt(0)!="#"||a.length!=4&&a.length!=7?a:(a=a.substring(1),"0x"+(a.length==3?a.replace(/(.)(.)(.)/,"$1$1$2$2$3$3"):a))},this.toJson=function(a,b){var c="";switch(typeof a){case"string":c='"'+b(a)+'"';break;case"number":case"boolean":c=a.toString();break;case"object":c=[];for(var d in a){if(a[d]==Object.prototype[d])continue;c.push('"'+d+'":'+this.toJson(a[d]))}c="{"+c.join(",")+"}"}return c},this.convertCssArg=function(a){if(!a)return{};if(typeof a=="object")if(a.constructor==Array)a=a.join("");else return a;var b={},c=a.split("}");for(var d=0;d<c.length;d++){var e=c[d].match(/([^\s{]+)\s*\{(.+)\s*;?\s*/);if(!e||e.length!=3)continue;b[e[1]]||(b[e[1]]={});var f=e[2].split(";");for(var g=0;g<f.length;g++){var h=f[g].match(/\s*([^:\s]+)\s*\:\s*([^;]+)/);if(!h||h.length!=3)continue;b[e[1]][h[1]]=h[2].replace(/\s+$/,"")}}return b},this.extractFromCss=function(a,b,c,d){var e=null;return a&&a[b]&&a[b][c]&&(e=a[b][c],d&&delete a[b][c]),e},this.cssToString=function(a){var b=[];for(var c in a){var d=a[c];if(d==Object.prototype[c])continue;b.push(c,"{");for(var e in d){if(d[e]==Object.prototype[e])continue;var g=d[e];f.UNIT_REMOVAL_PROPERTIES[e]&&(g=parseInt(g,10)),b.push(e,":",g,";")}b.push("}")}return b.join("")},this.escape=function(a){return escape(a).replace(/\+/g,"%2B")},this.encodeVars=function(a){return a.join("&").replace(/%/g,"%25")},this.copyProperties=function(a,b){for(var c in a)b[c]===undefined&&(b[c]=a[c]);return b},this.domain=function(){var a="";try{a=document.domain}catch(b){}return a},this.domainMatches=function(a,b){if(b=="*"||b==a)return!0;var c=b.lastIndexOf("*");if(c>-1){b=b.substr(c+1);var d=a.lastIndexOf(b);if(d>-1&&d+b.length==a.length)return!0}return!1},this.uriEncode=function(a){return encodeURI(decodeURIComponent(a))},this.delay=function(a,b,c){var d=Array.prototype.slice.call(arguments,3);setTimeout(function(){b.apply(c,d)},a)}}function g(a){function c(c,d,e){var f=b.getStyleAsInt(c,d,a.ua.ie);if(f==0){f=c[e];for(var g=3;g<arguments.length;g++)f-=b.getStyleAsInt(c,arguments[g],!0)}return f}var b=this;this.getBody=function(){return document.getElementsByTagName("body")[0]||null},this.querySelectorAll=function(a){return window.parseSelector(a)},this.addClass=function(a,b){b&&(b.className=((b.className||"")==""?"":b.className+" ")+a)},this.removeClass=function(a,b){b&&(b.className=b.className.replace(new RegExp("(^|\\s)"+a+"(\\s|$)"),"").replace(/^\s+|(\s)\s+/g,"$1"))},this.hasClass=function(a,b){return(new RegExp("(^|\\s)"+a+"(\\s|$)")).test(b.className)},this.hasOneOfClassses=function(a,b){for(var c=0;c<a.length;c++)if(this.hasClass(a[c],b))return!0;return!1},this.ancestorHasClass=function(a,b){a=a.parentNode;while(a&&a.nodeType==1){if(this.hasClass(b,a))return!0;a=a.parentNode}return!1},this.create=function(a,b){var c=document.createElementNS?document.createElementNS(g.XHTML_NS,a):document.createElement(a);return b&&(c.className=b),c},this.getComputedStyle=function(a,b){var c;if(document.defaultView&&document.defaultView.getComputedStyle){var d=document.defaultView.getComputedStyle(a,null);c=d?d[b]:null}else a.currentStyle&&(c=a.currentStyle[b]);return c||""},this.getStyleAsInt=function(a,b,c){var d=this.getComputedStyle(a,b);return c&&!/px$/.test(d)?0:parseInt(d)||0},this.getWidthFromStyle=function(a){return c(a,"width","offsetWidth","paddingRight","paddingLeft","borderRightWidth","borderLeftWidth")},this.getHeightFromStyle=function(a){return c(a,"height","offsetHeight","paddingTop","paddingBottom","borderTopWidth","borderBottomWidth")},this.getDimensions=function(a){var b=a.offsetWidth,c=a.offsetHeight;if(b==0||c==0)for(var d=0;d<a.childNodes.length;d++){var e=a.childNodes[d];if(e.nodeType!=1)continue;b=Math.max(b,e.offsetWidth),c=Math.max(c,e.offsetHeight)}return{width:b,height:c}},this.getViewport=function(){return{width:window.innerWidth||document.documentElement.clientWidth||this.getBody().clientWidth,height:window.innerHeight||document.documentElement.clientHeight||this.getBody().clientHeight}},this.blurElement=function(a){try{a.blur();return}catch(b){}var c=this.create("input");c.style.width="0px",c.style.height="0px",a.parentNode.appendChild(c),c.focus(),c.blur(),c.parentNode.removeChild(c)}}function h(a){var b=navigator.userAgent.toLowerCase(),c=(navigator.product||"").toLowerCase(),d=navigator.platform.toLowerCase();this.parseVersion=h.parseVersion,this.macintosh=/^mac/.test(d),this.windows=/^win/.test(d),this.linux=/^linux/.test(d),this.quicktime=!1,this.opera=/opera/.test(b),this.konqueror=/konqueror/.test(b),this.ie=!1,this.ieSupported=this.ie&&!/ppc|smartphone|iemobile|msie\s5\.5/.test(b),this.ieWin=this.ie&&this.windows,this.windows=this.windows&&(!this.ie||this.ieWin),this.ieMac=this.ie&&this.macintosh,this.macintosh=this.macintosh&&(!this.ie||this.ieMac),this.safari=/safari/.test(b),this.webkit=!this.konqueror&&/applewebkit/.test(b),this.khtml=this.webkit||this.konqueror,this.gecko=!this.khtml&&c=="gecko",this.ieVersion=this.ie&&/.*msie\s(\d\.\d)/.exec(b)?this.parseVersion(RegExp.$1):"0",this.operaVersion=this.opera&&/.*opera(\s|\/)(\d+\.\d+)/.exec(b)?this.parseVersion(RegExp.$2):"0",this.webkitVersion=this.webkit&&/.*applewebkit\/(\d+).*/.exec(b)?this.parseVersion(RegExp.$1):"0",this.geckoVersion=this.gecko&&/.*rv:\s*([^\)]+)\)\s+gecko/.exec(b)?this.parseVersion(RegExp.$1):"0",this.konquerorVersion=this.konqueror&&/.*konqueror\/([\d\.]+).*/.exec(b)?this.parseVersion(RegExp.$1):"0",this.flashVersion=0;if(this.ieWin){var e,f=!1;try{e=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7")}catch(g){try{e=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6"),this.flashVersion=this.parseVersion("6"),e.AllowScriptAccess="always"}catch(g){f=this.flashVersion==this.parseVersion("6")}if(!f)try{e=new ActiveXObject("ShockwaveFlash.ShockwaveFlash")}catch(g){}}!f&&e&&(this.flashVersion=this.parseVersion((e.GetVariable("$version")||"").replace(/^\D+(\d+)\D+(\d+)\D+(\d+).*/g,"$1.$2.$3")))}else if(navigator.plugins&&navigator.plugins["Shockwave Flash"]){var i=navigator.plugins["Shockwave Flash"].description.replace(/^.*\s+(\S+\s+\S+$)/,"$1"),j=i.replace(/^\D*(\d+\.\d+).*$/,"$1");/r/.test(i)?j+=i.replace(/^.*r(\d*).*$/,".$1"):/d/.test(i)&&(j+=".0"),this.flashVersion=this.parseVersion(j);var k=!1;for(var l=0,m=this.flashVersion>=h.MIN_FLASH_VERSION;m&&l<navigator.mimeTypes.length;l++){var n=navigator.mimeTypes[l];if(n.type!="application/x-shockwave-flash")continue;n.enabledPlugin&&(k=!0,n.enabledPlugin.description.toLowerCase().indexOf("quicktime")>-1&&(m=!1,this.quicktime=!0))}if(this.quicktime||!k)this.flashVersion=this.parseVersion("0")}this.flash=this.flashVersion>=h.MIN_FLASH_VERSION,this.transparencySupport=this.macintosh||this.windows||this.linux&&this.flashVersion>=this.parseVersion("10")&&(this.gecko&&this.geckoVersion>=this.parseVersion("1.9")||this.opera),this.computedStyleSupport=this.ie||!!document.defaultView.getComputedStyle,this.fixFocus=this.gecko&&this.windows,this.nativeDomLoaded=this.gecko||this.webkit&&this.webkitVersion>=this.parseVersion("525")||this.konqueror&&this.konquerorMajor>this.parseVersion("03")||this.opera,this.mustCheckStyle=this.khtml||this.opera,this.forcePageLoad=this.webkit&&this.webkitVersion<this.parseVersion("523"),this.properDocument=typeof document.location=="object",this.supported=this.flash&&this.properDocument&&(!this.ie||this.ieSupported)&&this.computedStyleSupport&&(!this.opera||this.operaVersion>=this.parseVersion("9.61"))&&(!this.webkit||this.webkitVersion>=this.parseVersion("412"))&&(!this.gecko||this.geckoVersion>=this.parseVersion("1.8.0.12"))&&!this.konqueror}function i(a){function c(){document.title=b}this.fix=a.ua.ieWin&&window.location.hash!="";var b;this.cache=function(){b=document.title},this.restore=function(){this.fix&&setTimeout(c,0)}}function j(a){function d(){try{(a.ua.ie||document.readyState!="loaded"&&document.readyState!="complete")&&document.documentElement.doScroll("left")}catch(b){return setTimeout(d,10)}e()}function e(){a.useStyleCheck?f():a.ua.mustCheckStyle||i(null,!0)}function f(){c=a.dom.create("div",b.DUMMY),a.dom.getBody().appendChild(c),g()}function g(){a.dom.getComputedStyle(c,"marginLeft")=="42px"?h():setTimeout(g,10)}function h(){c&&c.parentNode&&c.parentNode.removeChild(c),c=null,i(null,!0)}function i(b,c){a.initialize(c),b&&b.type=="load"&&(document.removeEventListener&&document.removeEventListener("DOMContentLoaded",i,!1),window.removeEventListener&&window.removeEventListener("load",i,!1))}function j(){a.prepareClearReferences(),document.readyState=="interactive"&&(document.attachEvent("onstop",k),setTimeout(function(){document.detachEvent("onstop",k)},0))}function k(){document.detachEvent("onstop",k),l()}function l(){a.clearReferences()}var c=null;this.attach=function(){window.addEventListener?window.addEventListener("load",i,!1):window.attachEvent("onload",i);if(!a.useDomLoaded||a.ua.forcePageLoad||a.ua.ie&&window.top!=window)return;a.ua.nativeDomLoaded?document.addEventListener("DOMContentLoaded",e,!1):(a.ua.ie||a.ua.khtml)&&d()},this.attachUnload=function(){if(!a.ua.ie)return;window.attachEvent("onbeforeunload",j),window.attachEvent("onunload",l)}}function l(a){function c(a){for(var b=0;b<a.length;b++)document.write('<script defer type="sifr/prefetch" src="'+a[b].src+'"></script>')}var b=!1;this.fetchMovies=function(d){if(a.setPrefetchCookie&&(new RegExp(";?"+k+"=true;?")).test(document.cookie))return;try{b=!0,c(d)}catch(e){}a.setPrefetchCookie&&(document.cookie=k+"=true;path="+a.cookiePath)},this.clear=function(){if(!b)return;try{var a=document.getElementsByTagName("script");for(var c=a.length-1;c>=0;c--){var d=a[c];d.type=="sifr/prefetch"&&d.parentNode.removeChild(d)}}catch(e){}}}function m(a){var b=a.ua.ie,c=b&&a.ua.flashVersion<a.ua.parseVersion("9.0.115"),d={},e={};this.fixFlash=c,this.register=function(a){if(!b)return;var f=a.getAttribute("id");this.cleanup(f,!1),e[f]=a,delete d[f],c&&(window[f]=a)},this.reset=function(){if(!b)return!1;for(var c=0;c<a.replacements.length;c++){var f=a.replacements[c],g=e[f.id];!d[f.id]&&(!g.parentNode||g.parentNode.nodeType==11)&&(f.resetMovie(),d[f.id]=!0)}return!0},this.cleanup=function(a,b){var d=e[a];if(!d)return;for(var f in d)typeof d[f]=="function"&&(d[f]=null);e[a]=null,c&&(window[a]=null);if(d.parentNode)if(b&&d.parentNode.nodeType==1){var g=document.createElement("div");g.style.width=d.offsetWidth+"px",g.style.height=d.offsetHeight+"px",d.parentNode.replaceChild(g,d)}else d.parentNode.removeChild(d)},this.prepareClearReferences=function(){if(!c)return;__flash_unloadHandler=function(){},__flash_savedUnloadHandler=function(){}},this.clearReferences=function(){if(c){var a=document.getElementsByTagName("object");for(var b=a.length-1;b>=0;b--)e[a[b].getAttribute("id")]=a[b]}for(var d in e)Object.prototype[d]!=e[d]&&this.cleanup(d,!0)}}function n(a,b,c,d,e){this.sIFR=a,this.id=b,this.vars=c,this.movie=null,this.__forceWidth=d,this.__events=e,this.__resizing=0}function u(){if(a.domains.length==0)return!0;var b=p.domain();for(var c=0;c<a.domains.length;c++)if(p.domainMatches(b,a.domains[c]))return!0;return!1}function v(){return document.location.protocol=="file:"?(a.debug&&a.errors.fire("isFile"),!0):!1}function w(a){return r.ie&&a.charAt(0)=="/"&&(a=window.location.toString().replace(/([^:]+)(:\/?\/?)([^\/]+).*/,"$1$2$3")+a),a}function x(a,b){for(var c=0;c<b.length;c+=2)if(a<=b[c])return b[c+1];return b[b.length-1]||1}function y(a){var b=[];for(var c in a){if(a[c]==Object.prototype[c])continue;var d=a[c];c=[c.replace(/filter/i,"")+"Filter"];for(var e in d){if(d[e]==Object.prototype[e])continue;c.push(e+":"+p.escape(p.toJson(d[e],p.toHexString)))}b.push(c.join(","))}return p.escape(b.join(";"))}function z(b){var c=z.viewport,d=q.getViewport();if(c&&d.width==c.width&&d.height==c.height)return;z.viewport=d;if(a.replacements.length==0)return;z.timer&&clearTimeout(z.timer),z.timer=setTimeout(function(){delete z.timer;for(var b=0;b<a.replacements.length;b++)a.replacements[b].resize()},200)}function A(a){var b=q.getComputedStyle(a,"fontSize"),c=b.indexOf("px")==-1,d=a.innerHTML;c&&(a.innerHTML="X"),a.style.paddingTop=a.style.paddingBottom=a.style.borderTopWidth=a.style.borderBottomWidth="0px",a.style.lineHeight="2em",a.style.display="block",b=c?a.offsetHeight/2:parseInt(b,10),c&&(a.innerHTML=d);var e=Math.round(a.offsetHeight/(2*b));a.style.paddingTop=a.style.paddingBottom=a.style.borderTopWidth=a.style.borderBottomWidth=a.style.lineHeight=a.style.display="";if(isNaN(e)||!isFinite(e)||e==0)e=1;return{fontSize:b,lines:e}}function B(a,c,d){d=d||p.uriEncode;var e=[],f=[],g=null,h=a.childNodes,i=!1,j=!1,k=0;while(k<h.length){var l=h[k];if(l.nodeType==3){var m=p.textTransform(c,p.normalize(l.nodeValue)).replace(/</g,"&lt;");i&&j&&(m=m.replace(/^\s+/,"")),f.push(m),i=/\s$/.test(m),j=!1}if(l.nodeType==1&&!/^(style|script)$/i.test(l.nodeName)){var n=[],o=l.nodeName.toLowerCase(),q=l.className||"";/\s+/.test(q)&&(q.indexOf(b.CLASS)>-1?q=q.match("(\\s|^)"+b.CLASS+"-([^\\s$]*)(\\s|$)")[2]:q=q.match(/^([^\s]+)/)[1]),q!=""&&n.push('class="'+q+'"');if(o=="a"){var r=d(l.getAttribute("href")||""),s=l.getAttribute("target")||"";n.push('href="'+r+'"','target="'+s+'"'),g||(g={href:r,target:s})}f.push("<"+o+(n.length>0?" ":"")+n.join(" ")+">"),j=!0;if(l.hasChildNodes()){e.push(k),k=0,h=l.childNodes;continue}/^(br|img)$/i.test(l.nodeName)||f.push("</",l.nodeName.toLowerCase(),">")}if(e.length>0&&!l.nextSibling)do k=e.pop(),h=l.parentNode.parentNode.childNodes,l=h[k],l&&f.push("</",l.nodeName.toLowerCase(),">");while(k==h.length-1&&e.length>0);k++}return{text:f.join("").replace(/^\s+|\s+$|\s*(<br>)\s*/g,"$1"),primaryLink:g||{}}}var a=this,b={ACTIVE:"sIFR-active",REPLACED:"sIFR-replaced",IGNORE:"sIFR-ignore",ALTERNATE:"sIFR-alternate",CLASS:"sIFR-class",LAYOUT:"sIFR-layout",FLASH:"sIFR-flash",FIX_FOCUS:"sIFR-fixfocus",DUMMY:"sIFR-dummy"};b.IGNORE_CLASSES=[b.REPLACED,b.IGNORE,b.ALTERNATE],this.MIN_FONT_SIZE=6,this.MAX_FONT_SIZE=126,this.FLASH_PADDING_BOTTOM=5,this.VERSION="436",this.isActive=!1,this.isEnabled=!0,this.fixHover=!0,this.autoInitialize=!0,this.setPrefetchCookie=!0,this.cookiePath="/",this.domains=[],this.forceWidth=!0,this.fitExactly=!1,this.forceTextTransform=!0,this.useDomLoaded=!0,this.useStyleCheck=!1,this.hasFlashClassSet=!1,this.repaintOnResize=!0,this.replacements=[];var c=0,d=!1;f.UNIT_REMOVAL_PROPERTIES={leading:!0,"margin-left":!0,"margin-right":!0,"text-indent":!0},f.SINGLE_WHITESPACE=" ",g.XHTML_NS="http://www.w3.org/1999/xhtml",h.parseVersion=function(a){return a.replace(/(^|\D)(\d+)(?=\D|$)/g,function(a,b,c){a=b;for(var d=4-c.length;d>=0;d--)a+="0";return a+c})},h.MIN_FLASH_VERSION=h.parseVersion("8");var k="sifrFetch";n.prototype={getFlashElement:function(){return document.getElementById(this.id)},getAlternate:function(){return document.getElementById(this.id+"_alternate")},getAncestor:function(){var a=this.getFlashElement().parentNode;return this.sIFR.dom.hasClass(b.FIX_FOCUS,a)?a.parentNode:a},available:function(){var a=this.getFlashElement();return a&&a.parentNode},call:function(a){var b=this.getFlashElement();return b[a]?Function.prototype.apply.call(b[a],b,Array.prototype.slice.call(arguments,1)):!1},attempt:function(){if(!this.available())return!1;try{this.call.apply(this,arguments)}catch(a){if(this.sIFR.debug)throw a;return!1}return!0},updateVars:function(a,b){for(var c=0;c<this.vars.length;c++)if(this.vars[c].split("=")[0]==a){this.vars[c]=a+"="+b;break}var d=this.sIFR.util.encodeVars(this.vars);this.movie.injectVars(this.getFlashElement(),d),this.movie.injectVars(this.movie.html,d)},storeSize:function(a,b){this.movie.setSize(a,b),this.updateVars(a,b)},fireEvent:function(a){this.available()&&this.__events[a]&&this.sIFR.util.delay(0,this.__events[a],this,this)},resizeFlashElement:function(a,b,c){if(!this.available())return;this.__resizing++;var d=this.getFlashElement();d.setAttribute("height",a),this.getAncestor().style.minHeight="",this.updateVars("renderheight",a),this.storeSize("height",a),b!==null&&(d.setAttribute("width",b),this.movie.setSize("width",b)),this.__events.onReplacement&&(this.sIFR.util.delay(0,this.__events.onReplacement,this,this),delete this.__events.onReplacement),c?this.sIFR.util.delay(0,function(){this.attempt("scaleMovie"),this.__resizing--},this):this.__resizing--},blurFlashElement:function(){this.available()&&this.sIFR.dom.blurElement(this.getFlashElement())},resetMovie:function(){this.sIFR.util.delay(0,this.movie.reset,this.movie,this.getFlashElement(),this.getAlternate())},resizeAfterScale:function(){this.available()&&this.__resizing==0&&this.sIFR.util.delay(0,this.resize,this)},resize:function(){if(!this.available())return;this.__resizing++;var a=this.getFlashElement(),b=a.offsetWidth;if(b==0)return;var c=a.getAttribute("width"),d=a.getAttribute("height"),e=this.getAncestor(),f=this.sIFR.dom.getHeightFromStyle(e);a.style.width="1px",a.style.height="1px",e.style.minHeight=f+"px";var g=this.getAlternate().childNodes,h=[];for(var i=0;i<g.length;i++){var j=g[i].cloneNode(!0);h.push(j),e.appendChild(j)}var k=this.sIFR.dom.getWidthFromStyle(e);for(var i=0;i<h.length;i++)e.removeChild(h[i]);a.style.width=a.style.height=e.style.minHeight="",a.setAttribute("width",this.__forceWidth?k:c),a.setAttribute("height",d);if(sIFR.ua.ie){a.style.display="none";var l=a.offsetHeight;a.style.display=""}k!=b&&(this.__forceWidth&&this.storeSize("width",k),this.attempt("resize",k)),this.__resizing--},replaceText:function(a,b){var c=this.sIFR.util.escape(a);if(!this.attempt("replaceText",c))return!1;this.updateVars("content",c);var d=this.getAlternate();if(b){while(d.firstChild)d.removeChild(d.firstChild);for(var e=0;e<b.length;e++)d.appendChild(b[e])}else try{d.innerHTML=a}catch(f){}return!0},changeCSS:function(a){return a=this.sIFR.util.escape(this.sIFR.util.cssToString(this.sIFR.util.convertCssArg(a))),this.updateVars("css",a),this.attempt("changeCSS",a)},remove:function(){this.movie&&this.available()&&this.movie.remove(this.getFlashElement(),this.id)}};var o=new function(){function a(a,c,d,e,f,g,h,i,j){var k=a.dom.create("object",b.FLASH),l=["type","application/x-shockwave-flash","id",f,"name",f,"data",g,"width",h,"height",i];for(var m=0;m<l.length;m+=2)k.setAttribute(l[m],l[m+1]);var n=k;e&&(n=q.create("div",b.FIX_FOCUS),n.appendChild(k));for(var m=0;m<j.length;m+=2){if(j[m]=="name")continue;var o=q.create("param");o.setAttribute("name",j[m]),o.setAttribute("value",j[m+1]),k.appendChild(o)}d.style.minHeight=i+"px";while(d.firstChild)d.removeChild(d.firstChild);d.appendChild(n),this.html=n.cloneNode(!0)}function c(a,c,d,e,f,g,h,i,j){this.dom=a.dom,this.broken=c,this.html='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" id="'+f+'" width="'+h+'" height="'+i+'" class="'+b.FLASH+'"><param name="movie" value="'+g+'"></param></object>';var k="";for(var l=0;l<j.length;l+=2)k+='<param name="'+j[l]+'" value="'+j[l+1]+'"></param>';this.html=this.html.replace(/(<\/object>)/,k+"$1"),d.style.minHeight=i+"px",d.innerHTML=this.html,this.broken.register(d.firstChild)}this.create=function(b,d,e,f,g,h,i,j,k,l,m){var n=b.ua.ie?c:a;return new n(b,d,e,f,g,h,i,j,["flashvars",k,"wmode",l,"bgcolor",m,"allowScriptAccess","always","quality","best"])},a.prototype={reset:function(a,b){a.parentNode.replaceChild(this.html.cloneNode(!0),a)},remove:function(a,b){a.parentNode.removeChild(a)},setSize:function(a,b){this.html.setAttribute(a,b)},injectVars:function(a,b){var c=a.getElementsByTagName("param");for(var d=0;d<c.length;d++)if(c[d].getAttribute("name")=="flashvars"){c[d].setAttribute("value",b);break}}},c.prototype={reset:function(a,b){b=b.cloneNode(!0);var c=a.parentNode;c.innerHTML=this.html,this.broken.register(c.firstChild),c.appendChild(b)},remove:function(a,b){this.broken.cleanup(b)},setSize:function(a,b){this.html=this.html.replace(a=="height"?/(height)="\d+"/:/(width)="\d+"/,'$1="'+b+'"')},injectVars:function(a,b){if(a!=this.html)return;this.html=this.html.replace(/(flashvars(=|\"\svalue=)\")[^\"]+/,"$1"+b)}}};this.errors=new e(a);var p=this.util=new f(a),q=this.dom=new g(a),r=this.ua=new h(a),s={fragmentIdentifier:new i(a),pageLoad:new j(a),prefetch:new l(a),brokenFlashIE:new m(a)};this.__resetBrokenMovies=s.brokenFlashIE.reset;var t={kwargs:[],replaceAll:function(b){for(var c=0;c<this.kwargs.length;c++)a.replace(this.kwargs[c]);b||(this.kwargs=[])}};this.activate=function(){if(!r.supported||!this.isEnabled||this.isActive||!u()||v())return;s.prefetch.fetchMovies(arguments),this.isActive=!0,this.setFlashClass(),s.fragmentIdentifier.cache(),s.pageLoad.attachUnload();if(!this.autoInitialize)return;s.pageLoad.attach()},this.setFlashClass=function(){if(this.hasFlashClassSet)return;q.addClass(b.ACTIVE,q.getBody()||document.documentElement),this.hasFlashClassSet=!0},this.removeFlashClass=function(){if(!this.hasFlashClassSet)return;q.removeClass(b.ACTIVE,q.getBody()),q.removeClass(b.ACTIVE,document.documentElement),this.hasFlashClassSet=!1},this.initialize=function(b){if(!this.isActive||!this.isEnabled)return;if(d){b||t.replaceAll(!1);return}d=!0,t.replaceAll(b),a.repaintOnResize&&(window.addEventListener?window.addEventListener("resize",z,!1):window.attachEvent("onresize",z)),s.prefetch.clear()},this.replace=function(e,f){if(!r.supported)return;f&&(e=p.copyProperties(e,f));if(!d)return t.kwargs.push(e);this.onReplacementStart&&this.onReplacementStart(e);var g=e.elements||q.querySelectorAll(e.selector);if(g.length==0)return;var h=w(e.src),i=p.convertCssArg(e.css),j=y(e.filters),k=e.forceSingleLine===!0,l=e.preventWrap===!0&&!k,m=k||(e.fitExactly==null?this.fitExactly:e.fitExactly)===!0,u=m||(e.forceWidth==null?this.forceWidth:e.forceWidth)===!0,v=e.ratios||[],z=e.pixelFont===!0,C=parseInt(e.tuneHeight)||0,D=!!e.onRelease||!!e.onRollOver||!!e.onRollOut;m&&p.extractFromCss(i,".sIFR-root","text-align",!0);var F=p.extractFromCss(i,".sIFR-root","font-size",!0)||"0",H=p.extractFromCss(i,".sIFR-root","background-color",!0)||"#FFFFFF",N=p.extractFromCss(i,".sIFR-root","kerning",!0)||"",Q=p.extractFromCss(i,".sIFR-root","opacity",!0)||"100",S=p.extractFromCss(i,".sIFR-root","cursor",!0)||"default",U=parseInt(p.extractFromCss(i,".sIFR-root","leading"))||0,Y=e.gridFitType||p.extractFromCss(i,".sIFR-root","text-align")=="right"?"subpixel":"pixel",Z=this.forceTextTransform===!1?"none":p.extractFromCss(i,".sIFR-root","text-transform",!0)||"none";F=/^\d+(px)?$/.test(F)?parseInt(F):0,Q=parseFloat(Q)<1?100*parseFloat(Q):Q;var $=e.modifyCss?"":p.cssToString(i),_=e.wmode||"";_||(e.transparent?_="transparent":e.opaque&&(_="opaque")),_=="transparent"?r.transparencySupport?H="transparent":_="opaque":H=="transparent"&&(H="#FFFFFF");for(var ba=0;ba<g.length;ba++){var bb=g[ba];if(q.hasOneOfClassses(b.IGNORE_CLASSES,bb)||q.ancestorHasClass(bb,b.ALTERNATE))continue;var bc=q.getDimensions(bb),bd=bc.height,be=bc.width,bf=q.getComputedStyle(bb,"display");if(!bd||!be||!bf||bf=="none")continue;be=q.getWidthFromStyle(bb);var bg,bh;if(!F){var bi=A(bb);bg=Math.min(this.MAX_FONT_SIZE,Math.max(this.MIN_FONT_SIZE,bi.fontSize)),z&&(bg=Math.max(8,8*Math.round(bg/8))),bh=bi.lines}else bg=F,bh=1;var bj=q.create("span",b.ALTERNATE),bk=bb.cloneNode(!0);bb.parentNode.appendChild(bk);for(var bl=0,bm=bk.childNodes.length;bl<bm;bl++){var bn=bk.childNodes[bl];/^(style|script)$/i.test(bn.nodeName)||bj.appendChild(bn.cloneNode(!0))}e.modifyContent&&e.modifyContent(bk,e.selector),e.modifyCss&&($=e.modifyCss(i,bk,e.selector));var bo=B(bk,Z,e.uriEncode);bk.parentNode.removeChild(bk),e.modifyContentString&&(bo.text=e.modifyContentString(bo.text,e.selector));if(bo.text=="")continue;var bp=Math.round(bh*x(bg,v)*bg)+this.FLASH_PADDING_BOTTOM+C;bh>1&&U&&(bp+=Math.round((bh-1)*U));var bq=u?be:"100%",br="sIFR_replacement_"+c++,bs=["id="+br,"content="+p.escape(bo.text),"width="+be,"renderheight="+bp,"link="+p.escape(bo.primaryLink.href||""),"target="+p.escape(bo.primaryLink.target||""),"size="+bg,"css="+p.escape($),"cursor="+S,"tunewidth="+(e.tuneWidth||0),"tuneheight="+C,"offsetleft="+(e.offsetLeft||""),"offsettop="+(e.offsetTop||""),"fitexactly="+m,"preventwrap="+l,"forcesingleline="+k,"antialiastype="+(e.antiAliasType||""),"thickness="+(e.thickness||""),"sharpness="+(e.sharpness||""),"kerning="+N,"gridfittype="+Y,"flashfilters="+j,"opacity="+Q,"blendmode="+(e.blendMode||""),"selectable="+(e.selectable==null||_!=""&&!sIFR.ua.macintosh&&sIFR.ua.gecko&&sIFR.ua.geckoVersion>=sIFR.ua.parseVersion("1.9")?"true":e.selectable===!0),"fixhover="+(this.fixHover===!0),"events="+D,"delayrun="+s.brokenFlashIE.fixFlash,"version="+this.VERSION],bt=p.encodeVars(bs),bu=new n(a,br,bs,u,{onReplacement:e.onReplacement,onRollOver:e.onRollOver,onRollOut:e.onRollOut,onRelease:e.onRelease});bu.movie=o.create(sIFR,s.brokenFlashIE,bb,r.fixFocus&&e.fixFocus,br,h,bq,bp,bt,_,H),this.replacements.push(bu),this.replacements[br]=bu,e.selector&&(this.replacements[e.selector]?this.replacements[e.selector].push(bu):this.replacements[e.selector]=[bu]),bj.setAttribute("id",br+"_alternate"),bb.appendChild(bj),q.addClass(b.REPLACED,bb)}s.fragmentIdentifier.restore()},this.getReplacementByFlashElement=function(b){for(var c=0;c<a.replacements.length;c++)if(a.replacements[c].id==b.getAttribute("id"))return a.replacements[c]},this.redraw=function(){for(var b=0;b<a.replacements.length;b++)a.replacements[b].resetMovie()},this.prepareClearReferences=function(){s.brokenFlashIE.prepareClearReferences()},this.clearReferences=function(){s.brokenFlashIE.clearReferences(),s=null,t=null,delete a.replacements}},parseSelector=function(){function g(b,c){c=c||document.documentElement;var d=b.split(a),e=[];for(var f=0;f<d.length;f++){var g=[c],i=h(d[f]);for(var k=0;k<i.length;){var l=i[k++],m=i[k++],n="";if(i[k]=="("){while(i[k++]!=")"&&k<i.length)n+=i[k];n=n.slice(0,-1)}g=j(g,l,m,n)}e=e.concat(g)}return e}function h(a){var e=a.replace(b,"$1").replace(c,"$1*$2").replace(d,i);return e.match(f)||[]}function i(a){return a.replace(e,"$1 ")}function j(a,b,c,d){return g.selectors[b]?g.selectors[b](a,c,d):[]}var a=/\s*,\s*/,b=/\s*([\s>+~(),]|^|$)\s*/g,c=/([\s>+~,]|[^(]\+|^)([#.:@])/g,d=/(^|\))[^\s>+~]/g,e=/(\)|^)/,f=/[\s#.:>+~()@]|[^\s#.:>+~()@]+/g,k={toArray:function(a){var b=[];for(var c=0;c<a.length;c++)b.push(a[c]);return b}},l={isTag:function(a,b){return b=="*"||b.toLowerCase()==a.nodeName.toLowerCase()},previousSiblingElement:function(a){do a=a.previousSibling;while(a&&a.nodeType!=1);return a},nextSiblingElement:function(a){do a=a.nextSibling;while(a&&a.nodeType!=1);return a},hasClass:function(a,b){return(b.className||"").match("(^|\\s)"+a+"(\\s|$)")},getByTag:function(a,b){return b.getElementsByTagName(a)}},m={"#":function(a,b){for(var c=0;c<a.length;c++)if(a[c].getAttribute("id")==b)return[a[c]];return[]}," ":function(a,b){var c=[];for(var d=0;d<a.length;d++)c=c.concat(k.toArray(l.getByTag(b,a[d])));return c},">":function(a,b){var c=[];for(var d=0,e;d<a.length;d++){e=a[d];for(var f=0,g;f<e.childNodes.length;f++)g=e.childNodes[f],g.nodeType==1&&l.isTag(g,b)&&c.push(g)}return c},".":function(a,b){var c=[];for(var d=0,e;d<a.length;d++)e=a[d],l.hasClass([b],e)&&c.push(e);return c},":":function(a,b,c){return g.pseudoClasses[b]?g.pseudoClasses[b](a,c):[]}};return g.selectors=m,g.pseudoClasses={},g.util=k,g.dom=l,g}(),font={src:"/museo.swf"};sIFR.activate(font),sIFR.replace(font,{selectable:!1,selector:"#screen h2",css:[".sIFR-root {color: #dddddd; letter-spacing: 1.1; text-align: justify; }"],filters:{DropShadow:{distance:3,color:"#000000",strength:2,alpha:.5,blurX:0,blurY:0}},wmode:"transparent",transparent:!0,ratios:[8,1.41,10,1.33,14,1.31,16,1.26,20,1.27,24,1.26,25,1.24,26,1.25,35,1.24,49,1.23,74,1.22,75,1.21,79,1.22,80,1.21,81,1.22,1.21]}),sIFR.replace(font,{selectable:!1,selector:"#main h1, h2",css:[".sIFR-root {color: #222222; letter-spacing: .8; }"],filters:{DropShadow:{distance:2,color:"#ffffff",strength:4,alpha:.5,blurX:0,blurY:0,angle:90}},wmode:"transparent",transparent:!0,ratios:[8,1.41,10,1.33,14,1.31,16,1.26,20,1.27,24,1.26,25,1.24,26,1.25,35,1.24,49,1.23,74,1.22,75,1.21,79,1.22,80,1.21,81,1.22,1.21]})
