
function stopError(){return true}window.onerror=stopError;function writeFlash(B){document.getElementById(B).innerHTML="<object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0' width='100%' height='280' id='intro' align='middle'><param name='movie' value='flash/intro.swf' /><param name='quality' value='high' /><param name='menu' value='false' /><param name='SCALE' value='noborder' /><param name='bgcolor' value='#00000' /><embed src='flash/intro.swf' quality='high' bgcolor='#00000' width='100%' height='280' name='intro' align='middle' scale='noborder' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' /></object>"}var sIFR=new function(){var O=this;var E={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"};E.IGNORE_CLASSES=[E.REPLACED,E.IGNORE,E.ALTERNATE];this.MIN_FONT_SIZE=6;this.MAX_FONT_SIZE=126;this.FLASH_PADDING_BOTTOM=5;this.VERSION="436";this.isActive=false;this.isEnabled=true;this.fixHover=true;this.autoInitialize=true;this.setPrefetchCookie=true;this.cookiePath="/";this.domains=[];this.forceWidth=true;this.fitExactly=false;this.forceTextTransform=true;this.useDomLoaded=true;this.useStyleCheck=false;this.hasFlashClassSet=false;this.repaintOnResize=true;this.replacements=[];var L=0;var R=false;function Y(){}function D(c){function d(e){return e.toLocaleUpperCase()}this.normalize=function(e){return e.replace(/\n|\r|\xA0/g,D.SINGLE_WHITESPACE).replace(/\s+/g,D.SINGLE_WHITESPACE)};this.textTransform=function(e,f){switch(e){case"uppercase":return f.toLocaleUpperCase();case"lowercase":return f.toLocaleLowerCase();case"capitalize":return f.replace(/^\w|\s\w/g,d)}return f};this.toHexString=function(e){if(e.charAt(0)!="#"||e.length!=4&&e.length!=7){return e}e=e.substring(1);return"0x"+(e.length==3?e.replace(/(.)(.)(.)/,"$1$1$2$2$3$3"):e)};this.toJson=function(g,f){var e="";switch(typeof (g)){case"string":e='"'+f(g)+'"';break;case"number":case"boolean":e=g.toString();break;case"object":e=[];for(var h in g){if(g[h]==Object.prototype[h]){continue}e.push('"'+h+'":'+this.toJson(g[h]))}e="{"+e.join(",")+"}";break}return e};this.convertCssArg=function(e){if(!e){return{}}if(typeof (e)=="object"){if(e.constructor==Array){e=e.join("")}else{return e}}var l={};var m=e.split("}");for(var h=0;h<m.length;h++){var k=m[h].match(/([^\s{]+)\s*\{(.+)\s*;?\s*/);if(!k||k.length!=3){continue}if(!l[k[1]]){l[k[1]]={}}var g=k[2].split(";");for(var f=0;f<g.length;f++){var n=g[f].match(/\s*([^:\s]+)\s*\:\s*([^;]+)/);if(!n||n.length!=3){continue}l[k[1]][n[1]]=n[2].replace(/\s+$/,"")}}return l};this.extractFromCss=function(g,f,i,e){var h=null;if(g&&g[f]&&g[f][i]){h=g[f][i];if(e){delete g[f][i]}}return h};this.cssToString=function(f){var g=[];for(var e in f){var j=f[e];if(j==Object.prototype[e]){continue}g.push(e,"{");for(var i in j){if(j[i]==Object.prototype[i]){continue}var h=j[i];if(D.UNIT_REMOVAL_PROPERTIES[i]){h=parseInt(h,10)}g.push(i,":",h,";")}g.push("}")}return g.join("")};this.escape=function(e){return escape(e).replace(/\+/g,"%2B")};this.encodeVars=function(e){return e.join("&").replace(/%/g,"%25")};this.copyProperties=function(g,f){for(var e in g){if(f[e]===undefined){f[e]=g[e]}}return f};this.domain=function(){var f="";try{f=document.domain}catch(g){}return f};this.domainMatches=function(h,g){if(g=="*"||g==h){return true}var f=g.lastIndexOf("*");if(f>-1){g=g.substr(f+1);var e=h.lastIndexOf(g);if(e>-1&&(e+g.length)==h.length){return true}}return false};this.uriEncode=function(e){return encodeURI(decodeURIComponent(e))};this.delay=function(f,h,g){var e=Array.prototype.slice.call(arguments,3);setTimeout(function(){h.apply(g,e)},f)}}D.UNIT_REMOVAL_PROPERTIES={leading:true,"margin-left":true,"margin-right":true,"text-indent":true};D.SINGLE_WHITESPACE=" ";function U(e){var d=this;function c(g,j,h){var k=d.getStyleAsInt(g,j,e.ua.ie);if(k==0){k=g[h];for(var f=3;f<arguments.length;f++){k-=d.getStyleAsInt(g,arguments[f],true)}}return k}this.getBody=function(){return document.getElementsByTagName("body")[0]||null};this.querySelectorAll=function(f){return window.parseSelector(f)};this.addClass=function(f,g){if(g){g.className=((g.className||"")==""?"":g.className+" ")+f}};this.removeClass=function(f,g){if(g){g.className=g.className.replace(new RegExp("(^|\\s)"+f+"(\\s|$)"),"").replace(/^\s+|(\s)\s+/g,"$1")}};this.hasClass=function(f,g){return new RegExp("(^|\\s)"+f+"(\\s|$)").test(g.className)};this.hasOneOfClassses=function(h,g){for(var f=0;f<h.length;f++){if(this.hasClass(h[f],g)){return true}}return false};this.ancestorHasClass=function(g,f){g=g.parentNode;while(g&&g.nodeType==1){if(this.hasClass(f,g)){return true}g=g.parentNode}return false};this.create=function(f,g){var h=document.createElementNS?document.createElementNS(U.XHTML_NS,f):document.createElement(f);if(g){h.className=g}return h};this.getComputedStyle=function(h,i){var f;if(document.defaultView&&document.defaultView.getComputedStyle){var g=document.defaultView.getComputedStyle(h,null);f=g?g[i]:null}else{if(h.currentStyle){f=h.currentStyle[i]}}return f||""};this.getStyleAsInt=function(g,i,f){var h=this.getComputedStyle(g,i);if(f&&!/px$/.test(h)){return 0}return parseInt(h)||0};this.getWidthFromStyle=function(f){return c(f,"width","offsetWidth","paddingRight","paddingLeft","borderRightWidth","borderLeftWidth")};this.getHeightFromStyle=function(f){return c(f,"height","offsetHeight","paddingTop","paddingBottom","borderTopWidth","borderBottomWidth")};this.getDimensions=function(j){var h=j.offsetWidth;var f=j.offsetHeight;if(h==0||f==0){for(var g=0;g<j.childNodes.length;g++){var k=j.childNodes[g];if(k.nodeType!=1){continue}h=Math.max(h,k.offsetWidth);f=Math.max(f,k.offsetHeight)}}return{width:h,height:f}};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(g){try{g.blur();return }catch(h){}var f=this.create("input");f.style.width="0px";f.style.height="0px";g.parentNode.appendChild(f);f.focus();f.blur();f.parentNode.removeChild(f)}}U.XHTML_NS="http://www.w3.org/1999/xhtml";function H(r){var g=navigator.userAgent.toLowerCase();var q=(navigator.product||"").toLowerCase();var h=navigator.platform.toLowerCase();this.parseVersion=H.parseVersion;this.macintosh=/^mac/.test(h);this.windows=/^win/.test(h);this.linux=/^linux/.test(h);this.quicktime=false;this.opera=/opera/.test(g);this.konqueror=/konqueror/.test(g);this.ie=false
/*@cc_on||true@*/
;this.ieSupported=this.ie&&!/ppc|smartphone|iemobile|msie\s5\.5/.test(g)
/*@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=/safari/.test(g);this.webkit=!this.konqueror&&/applewebkit/.test(g);this.khtml=this.webkit||this.konqueror;this.gecko=!this.khtml&&q=="gecko";this.ieVersion=this.ie&&/.*msie\s(\d\.\d)/.exec(g)?this.parseVersion(RegExp.$1):"0";this.operaVersion=this.opera&&/.*opera(\s|\/)(\d+\.\d+)/.exec(g)?this.parseVersion(RegExp.$2):"0";this.webkitVersion=this.webkit&&/.*applewebkit\/(\d+).*/.exec(g)?this.parseVersion(RegExp.$1):"0";this.geckoVersion=this.gecko&&/.*rv:\s*([^\)]+)\)\s+gecko/.exec(g)?this.parseVersion(RegExp.$1):"0";this.konquerorVersion=this.konqueror&&/.*konqueror\/([\d\.]+).*/.exec(g)?this.parseVersion(RegExp.$1):"0";this.flashVersion=0;if(this.ieWin){var l;var o=false;try{l=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7")}catch(m){try{l=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");this.flashVersion=this.parseVersion("6");l.AllowScriptAccess="always"}catch(m){o=this.flashVersion==this.parseVersion("6")}if(!o){try{l=new ActiveXObject("ShockwaveFlash.ShockwaveFlash")}catch(m){}}}if(!o&&l){this.flashVersion=this.parseVersion((l.GetVariable("$version")||"").replace(/^\D+(\d+)\D+(\d+)\D+(\d+).*/g,"$1.$2.$3"))}}else{if(navigator.plugins&&navigator.plugins["Shockwave Flash"]){var n=navigator.plugins["Shockwave Flash"].description.replace(/^.*\s+(\S+\s+\S+$)/,"$1");var p=n.replace(/^\D*(\d+\.\d+).*$/,"$1");if(/r/.test(n)){p+=n.replace(/^.*r(\d*).*$/,".$1")}else{if(/d/.test(n)){p+=".0"}}this.flashVersion=this.parseVersion(p);var j=false;for(var k=0,c=this.flashVersion>=H.MIN_FLASH_VERSION;c&&k<navigator.mimeTypes.length;k++){var f=navigator.mimeTypes[k];if(f.type!="application/x-shockwave-flash"){continue}if(f.enabledPlugin){j=true;if(f.enabledPlugin.description.toLowerCase().indexOf("quicktime")>-1){c=false;this.quicktime=true}}}if(this.quicktime||!j){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)}H.parseVersion=function(c){return c.replace(/(^|\D)(\d+)(?=\D|$)/g,function(f,e,g){f=e;for(var d=4-g.length;d>=0;d--){f+="0"}return f+g})};H.MIN_FLASH_VERSION=H.parseVersion("8");function F(c){this.fix=c.ua.ieWin&&window.location.hash!="";var d;this.cache=function(){d=document.title};function e(){document.title=d}this.restore=function(){if(this.fix){setTimeout(e,0)}}}function S(l){var e=null;function c(){try{if(l.ua.ie||document.readyState!="loaded"&&document.readyState!="complete"){document.documentElement.doScroll("left")}}catch(n){return setTimeout(c,10)}i()}function i(){if(l.useStyleCheck){h()}else{if(!l.ua.mustCheckStyle){d(null,true)}}}function h(){e=l.dom.create("div",E.DUMMY);l.dom.getBody().appendChild(e);m()}function m(){if(l.dom.getComputedStyle(e,"marginLeft")=="42px"){g()}else{setTimeout(m,10)}}function g(){if(e&&e.parentNode){e.parentNode.removeChild(e)}e=null;d(null,true)}function d(n,o){l.initialize(o);if(n&&n.type=="load"){if(document.removeEventListener){document.removeEventListener("DOMContentLoaded",d,false)}if(window.removeEventListener){window.removeEventListener("load",d,false)}}}function j(){l.prepareClearReferences();if(document.readyState=="interactive"){document.attachEvent("onstop",f);setTimeout(function(){document.detachEvent("onstop",f)},0)}}function f(){document.detachEvent("onstop",f);k()}function k(){l.clearReferences()}this.attach=function(){if(window.addEventListener){window.addEventListener("load",d,false)}else{window.attachEvent("onload",d)}if(!l.useDomLoaded||l.ua.forcePageLoad||l.ua.ie&&window.top!=window){return }if(l.ua.nativeDomLoaded){document.addEventListener("DOMContentLoaded",i,false)}else{if(l.ua.ie||l.ua.khtml){c()}}};this.attachUnload=function(){if(!l.ua.ie){return }window.attachEvent("onbeforeunload",j);window.attachEvent("onunload",k)}}var Q="sifrFetch";function N(c){var e=false;this.fetchMovies=function(f){if(c.setPrefetchCookie&&new RegExp(";?"+Q+"=true;?").test(document.cookie)){return }try{e=true;d(f)}catch(g){}if(c.setPrefetchCookie){document.cookie=Q+"=true;path="+c.cookiePath}};this.clear=function(){if(!e){return }try{var f=document.getElementsByTagName("script");for(var g=f.length-1;g>=0;g--){var h=f[g];if(h.type=="sifr/prefetch"){h.parentNode.removeChild(h)}}}catch(j){}};function d(f){for(var g=0;g<f.length;g++){document.write('<script defer type="sifr/prefetch" src="'+f[g].src+'"><\/script>')}}}function b(e){var g=e.ua.ie;var f=g&&e.ua.flashVersion<e.ua.parseVersion("9.0.115");var d={};var c={};this.fixFlash=f;this.register=function(h){if(!g){return }var i=h.getAttribute("id");this.cleanup(i,false);c[i]=h;delete d[i];if(f){window[i]=h}};this.reset=function(){if(!g){return false}for(var j=0;j<e.replacements.length;j++){var h=e.replacements[j];var k=c[h.id];if(!d[h.id]&&(!k.parentNode||k.parentNode.nodeType==11)){h.resetMovie();d[h.id]=true}}return true};this.cleanup=function(l,h){var i=c[l];if(!i){return }for(var k in i){if(typeof (i[k])=="function"){i[k]=null}}c[l]=null;if(f){window[l]=null}if(i.parentNode){if(h&&i.parentNode.nodeType==1){var j=document.createElement("div");j.style.width=i.offsetWidth+"px";j.style.height=i.offsetHeight+"px";i.parentNode.replaceChild(j,i)}else{i.parentNode.removeChild(i)}}};this.prepareClearReferences=function(){if(!f){return }__flash_unloadHandler=function(){};__flash_savedUnloadHandler=function(){}};this.clearReferences=function(){if(f){var j=document.getElementsByTagName("object");for(var h=j.length-1;h>=0;h--){c[j[h].getAttribute("id")]=j[h]}}for(var k in c){if(Object.prototype[k]!=c[k]){this.cleanup(k,true)}}}}function K(d,g,f,c,e){this.sIFR=d;this.id=g;this.vars=f;this.movie=null;this.__forceWidth=c;this.__events=e;this.__resizing=0}K.prototype={getFlashElement:function(){return document.getElementById(this.id)},getAlternate:function(){return document.getElementById(this.id+"_alternate")},getAncestor:function(){var c=this.getFlashElement().parentNode;return !this.sIFR.dom.hasClass(E.FIX_FOCUS,c)?c:c.parentNode},available:function(){var c=this.getFlashElement();return c&&c.parentNode},call:function(c){var d=this.getFlashElement();if(!d[c]){return false}return Function.prototype.apply.call(d[c],d,Array.prototype.slice.call(arguments,1))},attempt:function(){if(!this.available()){return false}try{this.call.apply(this,arguments)}catch(c){if(this.sIFR.debug){throw c}return false}return true},updateVars:function(c,e){for(var d=0;d<this.vars.length;d++){if(this.vars[d].split("=")[0]==c){this.vars[d]=c+"="+e;break}}var f=this.sIFR.util.encodeVars(this.vars);this.movie.injectVars(this.getFlashElement(),f);this.movie.injectVars(this.movie.html,f)},storeSize:function(c,d){this.movie.setSize(c,d);this.updateVars(c,d)},fireEvent:function(c){if(this.available()&&this.__events[c]){this.sIFR.util.delay(0,this.__events[c],this,this)}},resizeFlashElement:function(c,d,e){if(!this.available()){return }this.__resizing++;var f=this.getFlashElement();f.setAttribute("height",c);this.getAncestor().style.minHeight="";this.updateVars("renderheight",c);this.storeSize("height",c);if(d!==null){f.setAttribute("width",d);this.movie.setSize("width",d)}if(this.__events.onReplacement){this.sIFR.util.delay(0,this.__events.onReplacement,this,this);delete this.__events.onReplacement}if(e){this.sIFR.util.delay(0,function(){this.attempt("scaleMovie");this.__resizing--},this)}else{this.__resizing--}},blurFlashElement:function(){if(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(){if(this.available()&&this.__resizing==0){this.sIFR.util.delay(0,this.resize,this)}},resize:function(){if(!this.available()){return }this.__resizing++;var g=this.getFlashElement();var f=g.offsetWidth;if(f==0){return }var e=g.getAttribute("width");var l=g.getAttribute("height");var m=this.getAncestor();var o=this.sIFR.dom.getHeightFromStyle(m);g.style.width="1px";g.style.height="1px";m.style.minHeight=o+"px";var c=this.getAlternate().childNodes;var n=[];for(var k=0;k<c.length;k++){var h=c[k].cloneNode(true);n.push(h);m.appendChild(h)}var d=this.sIFR.dom.getWidthFromStyle(m);for(var k=0;k<n.length;k++){m.removeChild(n[k])}g.style.width=g.style.height=m.style.minHeight="";g.setAttribute("width",this.__forceWidth?d:e);g.setAttribute("height",l);if(sIFR.ua.ie){g.style.display="none";var j=g.offsetHeight;g.style.display=""}if(d!=f){if(this.__forceWidth){this.storeSize("width",d)}this.attempt("resize",d)}this.__resizing--},replaceText:function(g,j){var d=this.sIFR.util.escape(g);if(!this.attempt("replaceText",d)){return false}this.updateVars("content",d);var f=this.getAlternate();if(j){while(f.firstChild){f.removeChild(f.firstChild)}for(var c=0;c<j.length;c++){f.appendChild(j[c])}}else{try{f.innerHTML=g}catch(h){}}return true},changeCSS:function(c){c=this.sIFR.util.escape(this.sIFR.util.cssToString(this.sIFR.util.convertCssArg(c)));this.updateVars("css",c);return this.attempt("changeCSS",c)},remove:function(){if(this.movie&&this.available()){this.movie.remove(this.getFlashElement(),this.id)}}};var X=new function(){this.create=function(p,n,j,i,f,e,g,o,l,h,m){var k=p.ua.ie?d:c;return new k(p,n,j,i,f,e,g,o,["flashvars",l,"wmode",h,"bgcolor",m,"allowScriptAccess","always","quality","best"])};function c(s,q,l,h,f,e,g,r,n){var m=s.dom.create("object",E.FLASH);var p=["type","application/x-shockwave-flash","id",f,"name",f,"data",e,"width",g,"height",r];for(var o=0;o<p.length;o+=2){m.setAttribute(p[o],p[o+1])}var j=m;if(h){j=W.create("div",E.FIX_FOCUS);j.appendChild(m)}for(var o=0;o<n.length;o+=2){if(n[o]=="name"){continue}var k=W.create("param");k.setAttribute("name",n[o]);k.setAttribute("value",n[o+1]);m.appendChild(k)}l.style.minHeight=r+"px";while(l.firstChild){l.removeChild(l.firstChild)}l.appendChild(j);this.html=j.cloneNode(true)}c.prototype={reset:function(e,f){e.parentNode.replaceChild(this.html.cloneNode(true),e)},remove:function(e,f){e.parentNode.removeChild(e)},setSize:function(e,f){this.html.setAttribute(e,f)},injectVars:function(e,g){var h=e.getElementsByTagName("param");for(var f=0;f<h.length;f++){if(h[f].getAttribute("name")=="flashvars"){h[f].setAttribute("value",g);break}}}};function d(p,n,j,h,f,e,g,o,k){this.dom=p.dom;this.broken=n;this.html='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" id="'+f+'" width="'+g+'" height="'+o+'" class="'+E.FLASH+'"><param name="movie" value="'+e+'"></param></object>';var m="";for(var l=0;l<k.length;l+=2){m+='<param name="'+k[l]+'" value="'+k[l+1]+'"></param>'}this.html=this.html.replace(/(<\/object>)/,m+"$1");j.style.minHeight=o+"px";j.innerHTML=this.html;this.broken.register(j.firstChild)}d.prototype={reset:function(f,g){g=g.cloneNode(true);var e=f.parentNode;e.innerHTML=this.html;this.broken.register(e.firstChild);e.appendChild(g)},remove:function(e,f){this.broken.cleanup(f)},setSize:function(e,f){this.html=this.html.replace(e=="height"?/(height)="\d+"/:/(width)="\d+"/,'$1="'+f+'"')},injectVars:function(e,f){if(e!=this.html){return }this.html=this.html.replace(/(flashvars(=|\"\svalue=)\")[^\"]+/,"$1"+f)}}};this.errors=new Y(O);var A=this.util=new D(O);var W=this.dom=new U(O);var T=this.ua=new H(O);var G={fragmentIdentifier:new F(O),pageLoad:new S(O),prefetch:new N(O),brokenFlashIE:new b(O)};this.__resetBrokenMovies=G.brokenFlashIE.reset;var J={kwargs:[],replaceAll:function(d){for(var c=0;c<this.kwargs.length;c++){O.replace(this.kwargs[c])}if(!d){this.kwargs=[]}}};this.activate=function(){if(!T.supported||!this.isEnabled||this.isActive||!C()||a()){return }G.prefetch.fetchMovies(arguments);this.isActive=true;this.setFlashClass();G.fragmentIdentifier.cache();G.pageLoad.attachUnload();if(!this.autoInitialize){return }G.pageLoad.attach()};this.setFlashClass=function(){if(this.hasFlashClassSet){return }W.addClass(E.ACTIVE,W.getBody()||document.documentElement);this.hasFlashClassSet=true};this.removeFlashClass=function(){if(!this.hasFlashClassSet){return }W.removeClass(E.ACTIVE,W.getBody());W.removeClass(E.ACTIVE,document.documentElement);this.hasFlashClassSet=false};this.initialize=function(c){if(!this.isActive||!this.isEnabled){return }if(R){if(!c){J.replaceAll(false)}return }R=true;J.replaceAll(c);if(O.repaintOnResize){if(window.addEventListener){window.addEventListener("resize",Z,false)}else{window.attachEvent("onresize",Z)}}G.prefetch.clear()};this.replace=function(x,u){if(!T.supported){return }if(u){x=A.copyProperties(x,u)}if(!R){return J.kwargs.push(x)}if(this.onReplacementStart){this.onReplacementStart(x)}var AM=x.elements||W.querySelectorAll(x.selector);if(AM.length==0){return }var w=M(x.src);var AR=A.convertCssArg(x.css);var v=B(x.filters);var AN=x.forceSingleLine===true;var AS=x.preventWrap===true&&!AN;var q=AN||(x.fitExactly==null?this.fitExactly:x.fitExactly)===true;var AD=q||(x.forceWidth==null?this.forceWidth:x.forceWidth)===true;var s=x.ratios||[];var AE=x.pixelFont===true;var r=parseInt(x.tuneHeight)||0;var z=!!x.onRelease||!!x.onRollOver||!!x.onRollOut;if(q){A.extractFromCss(AR,".sIFR-root","text-align",true)}var t=A.extractFromCss(AR,".sIFR-root","font-size",true)||"0";var e=A.extractFromCss(AR,".sIFR-root","background-color",true)||"#FFFFFF";var o=A.extractFromCss(AR,".sIFR-root","kerning",true)||"";var AW=A.extractFromCss(AR,".sIFR-root","opacity",true)||"100";var k=A.extractFromCss(AR,".sIFR-root","cursor",true)||"default";var AP=parseInt(A.extractFromCss(AR,".sIFR-root","leading"))||0;var AJ=x.gridFitType||(A.extractFromCss(AR,".sIFR-root","text-align")=="right")?"subpixel":"pixel";var h=this.forceTextTransform===false?"none":A.extractFromCss(AR,".sIFR-root","text-transform",true)||"none";t=/^\d+(px)?$/.test(t)?parseInt(t):0;AW=parseFloat(AW)<1?100*parseFloat(AW):AW;var AC=x.modifyCss?"":A.cssToString(AR);var AG=x.wmode||"";if(!AG){if(x.transparent){AG="transparent"}else{if(x.opaque){AG="opaque"}}}if(AG=="transparent"){if(!T.transparencySupport){AG="opaque"}else{e="transparent"}}else{if(e=="transparent"){e="#FFFFFF"}}for(var AV=0;AV<AM.length;AV++){var AF=AM[AV];if(W.hasOneOfClassses(E.IGNORE_CLASSES,AF)||W.ancestorHasClass(AF,E.ALTERNATE)){continue}var AO=W.getDimensions(AF);var f=AO.height;var c=AO.width;var AA=W.getComputedStyle(AF,"display");if(!f||!c||!AA||AA=="none"){continue}c=W.getWidthFromStyle(AF);var n,AH;if(!t){var AL=I(AF);n=Math.min(this.MAX_FONT_SIZE,Math.max(this.MIN_FONT_SIZE,AL.fontSize));if(AE){n=Math.max(8,8*Math.round(n/8))}AH=AL.lines}else{n=t;AH=1}var d=W.create("span",E.ALTERNATE);var AX=AF.cloneNode(true);AF.parentNode.appendChild(AX);for(var AU=0,AT=AX.childNodes.length;AU<AT;AU++){var m=AX.childNodes[AU];if(!/^(style|script)$/i.test(m.nodeName)){d.appendChild(m.cloneNode(true))}}if(x.modifyContent){x.modifyContent(AX,x.selector)}if(x.modifyCss){AC=x.modifyCss(AR,AX,x.selector)}var p=P(AX,h,x.uriEncode);AX.parentNode.removeChild(AX);if(x.modifyContentString){p.text=x.modifyContentString(p.text,x.selector)}if(p.text==""){continue}var AK=Math.round(AH*V(n,s)*n)+this.FLASH_PADDING_BOTTOM+r;if(AH>1&&AP){AK+=Math.round((AH-1)*AP)}var AB=AD?c:"100%";var AI="sIFR_replacement_"+L++;var AQ=["id="+AI,"content="+A.escape(p.text),"width="+c,"renderheight="+AK,"link="+A.escape(p.primaryLink.href||""),"target="+A.escape(p.primaryLink.target||""),"size="+n,"css="+A.escape(AC),"cursor="+k,"tunewidth="+(x.tuneWidth||0),"tuneheight="+r,"offsetleft="+(x.offsetLeft||""),"offsettop="+(x.offsetTop||""),"fitexactly="+q,"preventwrap="+AS,"forcesingleline="+AN,"antialiastype="+(x.antiAliasType||""),"thickness="+(x.thickness||""),"sharpness="+(x.sharpness||""),"kerning="+o,"gridfittype="+AJ,"flashfilters="+v,"opacity="+AW,"blendmode="+(x.blendMode||""),"selectable="+(x.selectable==null||AG!=""&&!sIFR.ua.macintosh&&sIFR.ua.gecko&&sIFR.ua.geckoVersion>=sIFR.ua.parseVersion("1.9")?"true":x.selectable===true),"fixhover="+(this.fixHover===true),"events="+z,"delayrun="+G.brokenFlashIE.fixFlash,"version="+this.VERSION];var y=A.encodeVars(AQ);var g=new K(O,AI,AQ,AD,{onReplacement:x.onReplacement,onRollOver:x.onRollOver,onRollOut:x.onRollOut,onRelease:x.onRelease});g.movie=X.create(sIFR,G.brokenFlashIE,AF,T.fixFocus&&x.fixFocus,AI,w,AB,AK,y,AG,e);this.replacements.push(g);this.replacements[AI]=g;if(x.selector){if(!this.replacements[x.selector]){this.replacements[x.selector]=[g]}else{this.replacements[x.selector].push(g)}}d.setAttribute("id",AI+"_alternate");AF.appendChild(d);W.addClass(E.REPLACED,AF)}G.fragmentIdentifier.restore()};this.getReplacementByFlashElement=function(d){for(var c=0;c<O.replacements.length;c++){if(O.replacements[c].id==d.getAttribute("id")){return O.replacements[c]}}};this.redraw=function(){for(var c=0;c<O.replacements.length;c++){O.replacements[c].resetMovie()}};this.prepareClearReferences=function(){G.brokenFlashIE.prepareClearReferences()};this.clearReferences=function(){G.brokenFlashIE.clearReferences();G=null;J=null;delete O.replacements};function C(){if(O.domains.length==0){return true}var d=A.domain();for(var c=0;c<O.domains.length;c++){if(A.domainMatches(d,O.domains[c])){return true}}return false}function a(){if(document.location.protocol=="file:"){if(O.debug){O.errors.fire("isFile")}return true}return false}function M(c){if(T.ie&&c.charAt(0)=="/"){c=window.location.toString().replace(/([^:]+)(:\/?\/?)([^\/]+).*/,"$1$2$3")+c}return c}function V(d,e){for(var c=0;c<e.length;c+=2){if(d<=e[c]){return e[c+1]}}return e[e.length-1]||1}function B(g){var e=[];for(var d in g){if(g[d]==Object.prototype[d]){continue}var c=g[d];d=[d.replace(/filter/i,"")+"Filter"];for(var f in c){if(c[f]==Object.prototype[f]){continue}d.push(f+":"+A.escape(A.toJson(c[f],A.toHexString)))}e.push(d.join(","))}return A.escape(e.join(";"))}function Z(d){var e=Z.viewport;var c=W.getViewport();if(e&&c.width==e.width&&c.height==e.height){return }Z.viewport=c;if(O.replacements.length==0){return }if(Z.timer){clearTimeout(Z.timer)}Z.timer=setTimeout(function(){delete Z.timer;for(var f=0;f<O.replacements.length;f++){O.replacements[f].resize()}},200)}function I(f){var g=W.getComputedStyle(f,"fontSize");var d=g.indexOf("px")==-1;var e=f.innerHTML;if(d){f.innerHTML="X"}f.style.paddingTop=f.style.paddingBottom=f.style.borderTopWidth=f.style.borderBottomWidth="0px";f.style.lineHeight="2em";f.style.display="block";g=d?f.offsetHeight/2:parseInt(g,10);if(d){f.innerHTML=e}var c=Math.round(f.offsetHeight/(2*g));f.style.paddingTop=f.style.paddingBottom=f.style.borderTopWidth=f.style.borderBottomWidth=f.style.lineHeight=f.style.display="";if(isNaN(c)||!isFinite(c)||c==0){c=1}return{fontSize:g,lines:c}}function P(c,g,s){s=s||A.uriEncode;var q=[],m=[];var k=null;var e=c.childNodes;var o=false,p=false;var j=0;while(j<e.length){var f=e[j];if(f.nodeType==3){var t=A.textTransform(g,A.normalize(f.nodeValue)).replace(/</g,"&lt;");if(o&&p){t=t.replace(/^\s+/,"")}m.push(t);o=/\s$/.test(t);p=false}if(f.nodeType==1&&!/^(style|script)$/i.test(f.nodeName)){var h=[];var r=f.nodeName.toLowerCase();var n=f.className||"";if(/\s+/.test(n)){if(n.indexOf(E.CLASS)>-1){n=n.match("(\\s|^)"+E.CLASS+"-([^\\s$]*)(\\s|$)")[2]}else{n=n.match(/^([^\s]+)/)[1]}}if(n!=""){h.push('class="'+n+'"')}if(r=="a"){var d=s(f.getAttribute("href")||"");var l=f.getAttribute("target")||"";h.push('href="'+d+'"','target="'+l+'"');if(!k){k={href:d,target:l}}}m.push("<"+r+(h.length>0?" ":"")+h.join(" ")+">");p=true;if(f.hasChildNodes()){q.push(j);j=0;e=f.childNodes;continue}else{if(!/^(br|img)$/i.test(f.nodeName)){m.push("</",f.nodeName.toLowerCase(),">")}}}if(q.length>0&&!f.nextSibling){do{j=q.pop();e=f.parentNode.parentNode.childNodes;f=e[j];if(f){m.push("</",f.nodeName.toLowerCase(),">")}}while(j==e.length-1&&q.length>0)}j++}return{text:m.join("").replace(/^\s+|\s+$|\s*(<br>)\s*/g,"$1"),primaryLink:k||{}}}};var parseSelector=(function(){var P=/\s*,\s*/;var Q=/\s*([\s>+~(),]|^|$)\s*/g;var S=/([\s>+~,]|[^(]\+|^)([#.:@])/g;var Y=/(^|\))[^\s>+~]/g;var R=/(\)|^)/;var T=/[\s#.:>+~()@]|[^\s#.:>+~()@]+/g;function W(G,I){I=I||document.documentElement;var F=G.split(P),A=[];for(var D=0;D<F.length;D++){var K=[I],B=X(F[D]);for(var E=0;E<B.length;){var H=B[E++],J=B[E++],C="";if(B[E]=="("){while(B[E++]!=")"&&E<B.length){C+=B[E]}C=C.slice(0,-1)}K=V(K,H,J,C)}A=A.concat(K)}return A}function X(B){var A=B.replace(Q,"$1").replace(S,"$1*$2").replace(Y,N);return A.match(T)||[]}function N(A){return A.replace(R,"$1 ")}function V(D,B,A,C){return(W.selectors[B])?W.selectors[B](D,A,C):[]}var Z={toArray:function(B){var C=[];for(var A=0;A<B.length;A++){C.push(B[A])}return C}};var O={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(B,A){return(A.className||"").match("(^|\\s)"+B+"(\\s|$)")},getByTag:function(B,A){return A.getElementsByTagName(B)}};var U={"#":function(C,A){for(var B=0;B<C.length;B++){if(C[B].getAttribute("id")==A){return[C[B]]}}return[]}," ":function(C,A){var D=[];for(var B=0;B<C.length;B++){D=D.concat(Z.toArray(O.getByTag(A,C[B])))}return D},">":function(F,C){var G=[];for(var D=0,B;D<F.length;D++){B=F[D];for(var E=0,A;E<B.childNodes.length;E++){A=B.childNodes[E];if(A.nodeType==1&&O.isTag(A,C)){G.push(A)}}}return G},".":function(D,B){var E=[];for(var C=0,A;C<D.length;C++){A=D[C];if(O.hasClass([B],A)){E.push(A)}}return E},":":function(C,A,B){return(W.pseudoClasses[A])?W.pseudoClasses[A](C,B):[]}};W.selectors=U;W.pseudoClasses={};W.util=Z;W.dom=O;return W})();var lithos={src:"flash/lithos.swf",ratios:[7,1.32,11,1.31,13,1.24,14,1.25,19,1.23,27,1.2,34,1.19,42,1.18,47,1.17,48,1.18,69,1.17,74,1.16,75,1.17,1.16]};var rockwell={src:"flash/rockwell.swf",ratios:[6,1.41,9,1.35,15,1.29,21,1.25,22,1.22,27,1.24,29,1.21,34,1.22,41,1.21,45,1.2,46,1.21,59,1.2,68,1.19,69,1.2,96,1.19,97,1.18,102,1.19,103,1.18,107,1.19,108,1.18,112,1.19,114,1.18,116,1.19,120,1.18,121,1.19,1.18]};sIFR.activate(lithos,rockwell);sIFR.replace(lithos,{selector:"h2.lithos",wmode:"transparent",css:{".sIFR-root":{color:"#FFFF00","font-weight":"bold","font-size":"48px"}},filters:{DropShadow:{knockout:false,distance:1,color:"#330000",strength:2}}});sIFR.replace(lithos,{selector:"h1.lithos",wmode:"transparent",css:{".sIFR-root":{color:"#FFFFFF","font-weight":"bold","font-size":"25px"}},filters:{DropShadow:{knockout:false,distance:1,color:"#330000",strength:2}}});var isIE=navigator.userAgent.toLowerCase().indexOf("msie")>-1;var isMoz=document.implementation&&document.implementation.createDocument;var isSafari=((navigator.userAgent.toLowerCase().indexOf("safari")!=-1)&&(navigator.userAgent.toLowerCase().indexOf("mac")!=-1))?true:false;function curvyCorners(){if(typeof (arguments[0])!="object"){throw newCurvyError("First parameter of curvyCorners() must be an object.")}if(typeof (arguments[1])!="object"&&typeof (arguments[1])!="string"){throw newCurvyError("Second parameter of curvyCorners() must be an object or a class name.")}if(typeof (arguments[1])=="string"){var I=0;var H=getElementsByClass(arguments[1])}else{var I=1;var H=arguments}var L=new Array();if(arguments[0].validTags){var J=arguments[0].validTags}else{var J=["div"]}for(var M=I,N=H.length;M<N;M++){var K=H[M].tagName.toLowerCase();if(inArray(J,K)!==false){L[L.length]=new curvyObject(arguments[0],H[M])}}this.objects=L;this.applyCornersToAll=function(){for(var B=0,A=this.objects.length;B<A;B++){this.objects[B].applyCorners()}}}function curvyObject(){this.box=arguments[1];this.settings=arguments[0];this.topContainer=null;this.bottomContainer=null;this.masterCorners=new Array();this.contentDIV=null;var K=get_style(this.box,"height","height");var N=get_style(this.box,"width","width");var I=get_style(this.box,"borderTopWidth","border-top-width");var J=get_style(this.box,"borderTopColor","border-top-color");var O=get_style(this.box,"backgroundColor","background-color");var M=get_style(this.box,"backgroundImage","background-image");var P=get_style(this.box,"position","position");var L=get_style(this.box,"paddingTop","padding-top");this.boxHeight=parseInt(((K!=""&&K!="auto"&&K.indexOf("%")==-1)?K.substring(0,K.indexOf("px")):this.box.scrollHeight));this.boxWidth=parseInt(((N!=""&&N!="auto"&&N.indexOf("%")==-1)?N.substring(0,N.indexOf("px")):this.box.scrollWidth));this.borderWidth=parseInt(((I!=""&&I.indexOf("px")!==-1)?I.slice(0,I.indexOf("px")):0));this.boxColour=format_colour(O);this.boxPadding=parseInt(((L!=""&&L.indexOf("px")!==-1)?L.slice(0,L.indexOf("px")):0));this.borderColour=format_colour(J);this.borderString=this.borderWidth+"px solid "+this.borderColour;this.backgroundImage=((M!="none")?M:"");this.boxContent=this.box.innerHTML;if(P!="absolute"){this.box.style.position="relative"}this.box.style.padding="0px";if(isIE&&N=="auto"&&K=="auto"){this.box.style.width="100%"}if(this.settings.autoPad==true&&this.boxPadding>0){this.box.innerHTML=""}this.applyCorners=function(){for(var A=0;A<2;A++){switch(A){case 0:if(this.settings.tl||this.settings.tr){var D=document.createElement("DIV");D.style.width="100%";D.style.fontSize="1px";D.style.overflow="hidden";D.style.position="absolute";D.style.paddingLeft=this.borderWidth+"px";D.style.paddingRight=this.borderWidth+"px";var k=Math.max(this.settings.tl?this.settings.tl.radius:0,this.settings.tr?this.settings.tr.radius:0);D.style.height=k+"px";D.style.top=0-k+"px";D.style.left=0-this.borderWidth+"px";this.topContainer=this.box.appendChild(D)}break;case 1:if(this.settings.bl||this.settings.br){var D=document.createElement("DIV");D.style.width="100%";D.style.fontSize="1px";D.style.overflow="hidden";D.style.position="absolute";D.style.paddingLeft=this.borderWidth+"px";D.style.paddingRight=this.borderWidth+"px";var C=Math.max(this.settings.bl?this.settings.bl.radius:0,this.settings.br?this.settings.br.radius:0);D.style.height=C+"px";D.style.bottom=0-C+"px";D.style.left=0-this.borderWidth+"px";this.bottomContainer=this.box.appendChild(D)}break}}if(this.topContainer){this.box.style.borderTopWidth="0px"}if(this.bottomContainer){this.box.style.borderBottomWidth="0px"}var AJ=["tr","tl","br","bl"];for(var AF in AJ){if(AF>-1<4){var AK=AJ[AF];if(!this.settings[AK]){if(((AK=="tr"||AK=="tl")&&this.topContainer!=null)||((AK=="br"||AK=="bl")&&this.bottomContainer!=null)){var E=document.createElement("DIV");E.style.position="relative";E.style.fontSize="1px";E.style.overflow="hidden";if(this.backgroundImage==""){E.style.backgroundColor=this.boxColour}else{E.style.backgroundImage=this.backgroundImage}switch(AK){case"tl":E.style.height=k-this.borderWidth+"px";E.style.marginRight=this.settings.tr.radius-(this.borderWidth*2)+"px";E.style.borderLeft=this.borderString;E.style.borderTop=this.borderString;E.style.left=-this.borderWidth+"px";break;case"tr":E.style.height=k-this.borderWidth+"px";E.style.marginLeft=this.settings.tl.radius-(this.borderWidth*2)+"px";E.style.borderRight=this.borderString;E.style.borderTop=this.borderString;E.style.backgroundPosition="-"+(k+this.borderWidth)+"px 0px";E.style.left=this.borderWidth+"px";break;case"bl":E.style.height=C-this.borderWidth+"px";E.style.marginRight=this.settings.br.radius-(this.borderWidth*2)+"px";E.style.borderLeft=this.borderString;E.style.borderBottom=this.borderString;E.style.left=-this.borderWidth+"px";E.style.backgroundPosition="-"+(this.borderWidth)+"px -"+(this.boxHeight+(C+this.borderWidth))+"px";break;case"br":E.style.height=C-this.borderWidth+"px";E.style.marginLeft=this.settings.bl.radius-(this.borderWidth*2)+"px";E.style.borderRight=this.borderString;E.style.borderBottom=this.borderString;E.style.left=this.borderWidth+"px";E.style.backgroundPosition="-"+(C+this.borderWidth)+"px -"+(this.boxHeight+(C+this.borderWidth))+"px";break}}}else{if(this.masterCorners[this.settings[AK].radius]){var E=this.masterCorners[this.settings[AK].radius].cloneNode(true)}else{var E=document.createElement("DIV");E.style.height=this.settings[AK].radius+"px";E.style.width=this.settings[AK].radius+"px";E.style.position="absolute";E.style.fontSize="1px";E.style.overflow="hidden";var u=parseInt(this.settings[AK].radius-this.borderWidth);for(var G=0,AG=this.settings[AK].radius;G<AG;G++){if((G+1)>=u){var s=-1}else{var s=(Math.floor(Math.sqrt(Math.pow(u,2)-Math.pow((G+1),2)))-1)}if(u!=AG){if((G)>=u){var v=-1}else{var v=Math.ceil(Math.sqrt(Math.pow(u,2)-Math.pow(G,2)))}if((G+1)>=AG){var x=-1}else{var x=(Math.floor(Math.sqrt(Math.pow(AG,2)-Math.pow((G+1),2)))-1)}}if((G)>=AG){var y=-1}else{var y=Math.ceil(Math.sqrt(Math.pow(AG,2)-Math.pow(G,2)))}if(s>-1){this.drawPixel(G,0,this.boxColour,100,(s+1),E,-1,this.settings[AK].radius)}if(u!=AG){for(var H=(s+1);H<v;H++){if(this.settings.antiAlias){if(this.backgroundImage!=""){var w=(pixelFraction(G,H,u)*100);if(w<30){this.drawPixel(G,H,this.borderColour,100,1,E,0,this.settings[AK].radius)}else{this.drawPixel(G,H,this.borderColour,100,1,E,-1,this.settings[AK].radius)}}else{var AL=BlendColour(this.boxColour,this.borderColour,pixelFraction(G,H,u));this.drawPixel(G,H,AL,100,1,E,0,this.settings[AK].radius,AK)}}}if(this.settings.antiAlias){if(x>=v){if(v==-1){v=0}this.drawPixel(G,v,this.borderColour,100,(x-v+1),E,0,0)}}else{if(x>=s){this.drawPixel(G,(s+1),this.borderColour,100,(x-s),E,0,0)}}var q=this.borderColour}else{var q=this.boxColour;var x=s}if(this.settings.antiAlias){for(var H=(x+1);H<y;H++){this.drawPixel(G,H,q,(pixelFraction(G,H,AG)*100),1,E,((this.borderWidth>0)?0:-1),this.settings[AK].radius)}}}this.masterCorners[this.settings[AK].radius]=E.cloneNode(true)}if(AK!="br"){for(var A=0,AH=E.childNodes.length;A<AH;A++){var F=E.childNodes[A];var AI=parseInt(F.style.top.substring(0,F.style.top.indexOf("px")));var AD=parseInt(F.style.left.substring(0,F.style.left.indexOf("px")));var AB=parseInt(F.style.height.substring(0,F.style.height.indexOf("px")));if(AK=="tl"||AK=="bl"){F.style.left=this.settings[AK].radius-AD-1+"px"}if(AK=="tr"||AK=="tl"){F.style.top=this.settings[AK].radius-AB-AI+"px"}switch(AK){case"tr":F.style.backgroundPosition="-"+Math.abs((this.boxWidth-this.settings[AK].radius+this.borderWidth)+AD)+"px -"+Math.abs(this.settings[AK].radius-AB-AI-this.borderWidth)+"px";break;case"tl":F.style.backgroundPosition="-"+Math.abs((this.settings[AK].radius-AD-1)-this.borderWidth)+"px -"+Math.abs(this.settings[AK].radius-AB-AI-this.borderWidth)+"px";break;case"bl":F.style.backgroundPosition="-"+Math.abs((this.settings[AK].radius-AD-1)-this.borderWidth)+"px -"+Math.abs((this.boxHeight+this.settings[AK].radius+AI)-this.borderWidth)+"px";break}}}}if(E){switch(AK){case"tl":if(E.style.position=="absolute"){E.style.top="0px"}if(E.style.position=="absolute"){E.style.left="0px"}if(this.topContainer){this.topContainer.appendChild(E)}break;case"tr":if(E.style.position=="absolute"){E.style.top="0px"}if(E.style.position=="absolute"){E.style.right="0px"}if(this.topContainer){this.topContainer.appendChild(E)}break;case"bl":if(E.style.position=="absolute"){E.style.bottom="0px"}if(E.style.position=="absolute"){E.style.left="0px"}if(this.bottomContainer){this.bottomContainer.appendChild(E)}break;case"br":if(E.style.position=="absolute"){E.style.bottom="0px"}if(E.style.position=="absolute"){E.style.right="0px"}if(this.bottomContainer){this.bottomContainer.appendChild(E)}break}}}}var B=new Array();B.t=Math.abs(this.settings.tl.radius-this.settings.tr.radius);B.b=Math.abs(this.settings.bl.radius-this.settings.br.radius);for(z in B){if(z=="t"||z=="b"){if(B[z]){var AE=((this.settings[z+"l"].radius<this.settings[z+"r"].radius)?z+"l":z+"r");var t=document.createElement("DIV");t.style.height=B[z]+"px";t.style.width=this.settings[AE].radius+"px";t.style.position="absolute";t.style.fontSize="1px";t.style.overflow="hidden";t.style.backgroundColor=this.boxColour;switch(AE){case"tl":t.style.bottom="0px";t.style.left="0px";t.style.borderLeft=this.borderString;this.topContainer.appendChild(t);break;case"tr":t.style.bottom="0px";t.style.right="0px";t.style.borderRight=this.borderString;this.topContainer.appendChild(t);break;case"bl":t.style.top="0px";t.style.left="0px";t.style.borderLeft=this.borderString;this.bottomContainer.appendChild(t);break;case"br":t.style.top="0px";t.style.right="0px";t.style.borderRight=this.borderString;this.bottomContainer.appendChild(t);break}}var r=document.createElement("DIV");r.style.position="relative";r.style.fontSize="1px";r.style.overflow="hidden";r.style.backgroundColor=this.boxColour;r.style.backgroundImage=this.backgroundImage;switch(z){case"t":if(this.topContainer){if(this.settings.tl.radius&&this.settings.tr.radius){r.style.height=k-this.borderWidth+"px";r.style.marginLeft=this.settings.tl.radius-this.borderWidth+"px";r.style.marginRight=this.settings.tr.radius-this.borderWidth+"px";r.style.borderTop=this.borderString;if(this.backgroundImage!=""){r.style.backgroundPosition="-"+(k-this.borderWidth)+"px 0px"}this.topContainer.appendChild(r)}this.box.style.backgroundPosition="0px -"+(k-this.borderWidth)+"px"}break;case"b":if(this.bottomContainer){if(this.settings.bl.radius&&this.settings.br.radius){r.style.height=C-this.borderWidth+"px";r.style.marginLeft=this.settings.bl.radius-this.borderWidth+"px";r.style.marginRight=this.settings.br.radius-this.borderWidth+"px";r.style.borderBottom=this.borderString;if(this.backgroundImage!=""){r.style.backgroundPosition="-"+(C-this.borderWidth)+"px -"+(this.boxHeight+(k-this.borderWidth))+"px"}this.bottomContainer.appendChild(r)}}break}}}if(this.settings.autoPad==true&&this.boxPadding>0){var AM=document.createElement("DIV");AM.style.position="relative";AM.innerHTML=this.boxContent;AM.className="autoPadDiv";var AC=Math.abs(k-this.boxPadding);var AA=Math.abs(C-this.boxPadding);if(k<this.boxPadding){AM.style.paddingTop=AC+"px"}if(C<this.boxPadding){AM.style.paddingBottom=C+"px"}AM.style.paddingLeft=this.boxPadding+"px";AM.style.paddingRight=this.boxPadding+"px";this.contentDIV=this.box.appendChild(AM)}};this.drawPixel=function(A,D,T,E,C,B,H,F){var S=document.createElement("DIV");S.style.height=C+"px";S.style.width="1px";S.style.position="absolute";S.style.fontSize="1px";S.style.overflow="hidden";var G=Math.max(this.settings.tr.radius,this.settings.tl.radius);if(H==-1&&this.backgroundImage!=""){S.style.backgroundImage=this.backgroundImage;S.style.backgroundPosition="-"+(this.boxWidth-(F-A)+this.borderWidth)+"px -"+((this.boxHeight+G+D)-this.borderWidth)+"px"}else{S.style.backgroundColor=T}if(E!=100){setOpacity(S,E)}S.style.top=D+"px";S.style.left=A+"px";B.appendChild(S)}}function insertAfter(F,E,D){F.insertBefore(E,D.nextSibling)}function BlendColour(Q,S,V){var M=parseInt(Q.substr(1,2),16);var R=parseInt(Q.substr(3,2),16);var W=parseInt(Q.substr(5,2),16);var N=parseInt(S.substr(1,2),16);var T=parseInt(S.substr(3,2),16);var X=parseInt(S.substr(5,2),16);if(V>1||V<0){V=1}var U=Math.round((M*V)+(N*(1-V)));if(U>255){U=255}if(U<0){U=0}var O=Math.round((R*V)+(T*(1-V)));if(O>255){O=255}if(O<0){O=0}var P=Math.round((W*V)+(X*(1-V)));if(P>255){P=255}if(P<0){P=0}return"#"+IntToHex(U)+IntToHex(O)+IntToHex(P)}function IntToHex(B){base=B/16;rem=B%16;base=base-(rem/16);baseS=MakeHex(base);remS=MakeHex(rem);return baseS+""+remS}function MakeHex(B){if((B>=0)&&(B<=9)){return B}else{switch(B){case 10:return"A";case 11:return"B";case 12:return"C";case 13:return"D";case 14:return"E";case 15:return"F"}}}function pixelFraction(O,P,M){var K=0;var L=new Array(1);var Q=new Array(1);var N=0;var J="";var R=Math.sqrt((Math.pow(M,2)-Math.pow(O,2)));if((R>=P)&&(R<(P+1))){J="Left";L[N]=0;Q[N]=R-P;N=N+1}var R=Math.sqrt((Math.pow(M,2)-Math.pow(P+1,2)));if((R>=O)&&(R<(O+1))){J=J+"Top";L[N]=R-O;Q[N]=1;N=N+1}var R=Math.sqrt((Math.pow(M,2)-Math.pow(O+1,2)));if((R>=P)&&(R<(P+1))){J=J+"Right";L[N]=1;Q[N]=R-P;N=N+1}var R=Math.sqrt((Math.pow(M,2)-Math.pow(P,2)));if((R>=O)&&(R<(O+1))){J=J+"Bottom";L[N]=R-O;Q[N]=0}switch(J){case"LeftRight":K=Math.min(Q[0],Q[1])+((Math.max(Q[0],Q[1])-Math.min(Q[0],Q[1]))/2);break;case"TopRight":K=1-(((1-L[0])*(1-Q[1]))/2);break;case"TopBottom":K=Math.min(L[0],L[1])+((Math.max(L[0],L[1])-Math.min(L[0],L[1]))/2);break;case"LeftBottom":K=(Q[0]*L[1])/2;break;default:K=1}return K}function rgb2Hex(N){try{var M=rgb2Array(N);var I=parseInt(M[0]);var K=parseInt(M[1]);var H=parseInt(M[2]);var L="#"+IntToHex(I)+IntToHex(K)+IntToHex(H)}catch(J){alert("There was an error converting the RGB value to Hexadecimal in function rgb2Hex")}return L}function rgb2Array(D){var E=D.substring(4,D.indexOf(")"));var F=E.split(", ");return F}function setOpacity(H,K){K=(K==100)?99.999:K;if(isSafari&&H.tagName!="IFRAME"){var L=rgb2Array(H.style.backgroundColor);var I=parseInt(L[0]);var J=parseInt(L[1]);var G=parseInt(L[2]);H.style.backgroundColor="rgba("+I+", "+J+", "+G+", "+K/100+")"}else{if(typeof (H.style.opacity)!="undefined"){H.style.opacity=K/100}else{if(typeof (H.style.MozOpacity)!="undefined"){H.style.MozOpacity=K/100}else{if(typeof (H.style.filter)!="undefined"){H.style.filter="alpha(opacity:"+K+")"}else{if(typeof (H.style.KHTMLOpacity)!="undefined"){H.style.KHTMLOpacity=K/100}}}}}}function inArray(E,F){for(var D=0;D<E.length;D++){if(E[D]===F){return D}}return false}function inArrayKey(D,C){for(key in D){if(key===C){return true}}return false}function addEvent(G,H,J,F){if(G.addEventListener){G.addEventListener(H,J,F);return true}else{if(G.attachEvent){var I=G.attachEvent("on"+H,J);return I}else{G["on"+H]=J}}}function removeEvent(G,H,J,F){if(G.removeEventListener){G.removeEventListener(H,J,F);return true}else{if(G.detachEvent){var I=G.detachEvent("on"+H,J);return I}else{alert("Handler could not be removed")}}}function format_colour(D){var C="#ffffff";if(D!=""&&D!="transparent"){if(D.substr(0,3)=="rgb"){C=rgb2Hex(D)}else{if(D.length==4){C="#"+D.substring(1,2)+D.substring(1,2)+D.substring(2,3)+D.substring(2,3)+D.substring(3,4)+D.substring(3,4)}else{C=D}}}return C}function get_style(obj,property,propertyNS){try{if(obj.currentStyle){var returnVal=eval("obj.currentStyle."+property)}else{if(isSafari&&obj.style.display=="none"){obj.style.display="";var wasHidden=true}var returnVal=document.defaultView.getComputedStyle(obj,"").getPropertyValue(propertyNS);if(isSafari&&wasHidden){obj.style.display="none"}}}catch(e){}return returnVal}function getElementsByClass(I,K,H){var L=new Array();if(K==null){K=document}if(H==null){H="*"}var M=K.getElementsByTagName(H);var N=M.length;var J=new RegExp("(^|s)"+I+"(s|$)");for(i=0,j=0;i<N;i++){if(J.test(M[i].className)){L[j]=M[i];j++}}return L}function newCurvyError(B){return new Error("curvyCorners Error:\n"+B)}window.onload=function(){settings={tl:{radius:20},tr:{radius:20},bl:{radius:20},br:{radius:20},antiAlias:true,autoPad:true,validTags:["div"]};var A=new curvyCorners(settings,"roundbox");A.applyCornersToAll()};function getBrowserWidth(){if(window.innerWidth){return window.innerWidth}else{if(document.documentElement&&document.documentElement.clientWidth!=0){return document.documentElement.clientWidth}else{if(document.body){return document.body.clientWidth}}}return 0}function dynamicLayout(){var A=getBrowserWidth();if(A<1020){changeLayout("thin")}if(A>=1020){changeLayout("wide")}}function changeLayout(B){var C=document.getElementsByTagName("link");for(var A=0,D;D=C[A];A++){if(D.getAttribute("title")==B){D.disabled=false}else{if(D.getAttribute("title")!="default"){D.disabled=true}}}}function addEvent(C,B,A){if(C.addEventListener){C.addEventListener(B,A,false)}else{if(C.attachEvent){C["e"+B+A]=A;C[B+A]=function(){C["e"+B+A](window.event)};C.attachEvent("on"+B,C[B+A])}}}addEvent(window,"load",dynamicLayout);addEvent(window,"resize",dynamicLayout);

		
	
		
		
		

		
		
		

		

		

		
			
		
	
	
		
		
			
		
	
		
		
		

		
		
		

		

		

		
			
		
	
		
		
	
			
			
	
		
		
		
		
		
		
		
		

		
		
		

		

		

		
			
		
	
		
		
		
		
		
		
		
	
	
	
		


	
