var siteComponentsConfig={tooltip:{positionby:"element"},keywords:{elements:["placeholder-content"],skiptags:["h1","h2","h3","h4","h5","h6"],usetooltip:false},fontsize:{sizes:["12px","14px","15px"]}};document.observe("dom:loaded",function(){[".vertical-menu"].each(function(a){menus=$$(a);if(menus!=null){menus.each(function(b){b.observe("mouseover",function(c){b.addClassName("hover")});b.observe("mouseout",function(c){b.removeClassName("hover")})})}})});function googleAnalyticsDownloadTracker(){if(document.getElementsByTagName){var f=document.getElementsByTagName("a");for(var a=0;a<f.length;a++){try{if(f[a].protocol=="mailto:"){startListening(f[a],"click",trackMailto)}else{if(f[a].hostname==location.host){var d=f[a].pathname+f[a].search;var b=d.match(/\.(?:doc|eps|jpg|png|svg|xls|ppt|pdf|xls|zip|txt|vsd|vxd|js|css|rar|exe|wma|mov|avi|wmv|mp3)($|\&|\?)/);if(b){startListening(f[a],"click",trackExternalLinks)}}else{if(!f[a].href.match(/^javascript:/)){startListening(f[a],"click",trackExternalLinks)}}}}catch(c){continue}}}}function startListening(b,c,a){if(b.addEventListener){b.addEventListener(c,a,false)}else{if(b.attachEvent){b.attachEvent("on"+c,a)}}}function trackMailto(c){var b=(c.srcElement)?c.srcElement.href:this.href;var a="/mailto/"+b.substring(7);if(typeof(pageTracker)=="object"){pageTracker._trackPageview(a)}}function trackExternalLinks(c){var a=(c.srcElement)?c.srcElement:this;while(a.tagName!="A"){a=a.parentNode}var b=(a.pathname.charAt(0)=="/")?a.pathname:"/"+a.pathname;if(a.search&&a.pathname.indexOf(a.search)==-1){b+=a.search}if(a.hostname!=location.host){b="/external/"+a.hostname+b}if(typeof(pageTracker)=="object"){pageTracker._trackPageview(b)}}var _pointerCordX=-1;var _pointerCordY=-1;function _observePointerCoordinates(){_pointerCordX=0;_pointerCordY=0;Event.observe(document,"mousemove",function(a){_pointerCordX=a.pointerX();_pointerCordY=a.pointerY()})}function getPointerCordX(){if(_pointerCordX<0){_observePointerCoordinates()}return _pointerCordX}function getPointerCordY(){if(_pointerCordY<0){_observePointerCoordinates()}return _pointerCordY}function buttonLinkToCategory(f,b,a){if(!$(f)){return}if(!b){b=""}if(!a){a=""}var c=/#([a-f]|[A-F]|[0-9]){6}/;if(c.test(b)){new Effect.Morph($(f),{style:("background-color: "+b+";"),duration:1})}var e;if($(f).down()){e=$(f).down()}var d;if(e&&e.down("a")){d=e.down("a");if(c.test(a)){new Effect.Morph(d,{style:("color: "+a+";"),duration:1})}}setRoundedCorners(f,"10px");if(e&&d){new Effect.Morph(e,{style:"margin-top: "+(Math.round(($(f).getHeight()-d.getHeight())/2)-3+"px;"),duration:0.4,queue:"start"})}$(f).observe("click",function(g){if(this.down("a")&&this.down("a").hasAttribute("href")){window.location=this.down("a").readAttribute("href")}})}function setRoundedCorners(b,a){if(typeof b=="string"){b=$(b)}if(!a){a="10px"}if(Prototype.Browser.IE&&parseInt(navigator.userAgent.substring(navigator.userAgent.indexOf("MSIE")+5))<9){_extendScriptaculousWithCornerPlugin();new Effect.Corner(b,"round corners "+a)}else{b.setStyle({borderRadius:a})}}function _extendScriptaculousWithCornerPlugin(){if(Effect.Corner!=undefined){return}Effect.Corner=Class.create();Object.extend(Object.extend(Effect.Corner.prototype,Effect.Base.prototype),{hex2:function(a){a=parseInt(a).toString(16);return(a.length<2)?"0"+a:a},gpc:function(b){for(;b&&b.nodeName.toLowerCase()!="html";b=b.parentNode){var a=Element.getStyle(b,"backgroundColor");if(a.indexOf("rgb")>=0){rgb=a.match(/\d+/g);return"#"+this.hex2(rgb[0])+this.hex2(rgb[1])+this.hex2(rgb[2])}if(a&&a!="transparent"){return a}}return"#ffffff"},getW:function(a){switch(this.fx){case"round":return Math.round(this.width*(1-Math.cos(Math.asin(a/this.width))));case"cool":return Math.round(this.width*(1+Math.cos(Math.asin(a/this.width))));case"sharp":return Math.round(this.width*(1-Math.cos(Math.acos(a/this.width))));case"bite":return Math.round(this.width*(Math.cos(Math.asin((this.width-a-1)/this.width))));case"slide":return Math.round(this.width*(Math.atan2(a,this.width/a)));case"jut":return Math.round(this.width*(Math.atan2(this.width,(this.width-a-1))));case"curl":return Math.round(this.width*(Math.atan(a)));case"tear":return Math.round(this.width*(Math.cos(a)));case"wicked":return Math.round(this.width*(Math.tan(a)));case"long":return Math.round(this.width*(Math.sqrt(a)));case"sculpt":return Math.round(this.width*(Math.log((this.width-a-1),this.width)));case"dog":return(a&1)?(a+1):this.width;case"dog2":return(a&2)?(a+1):this.width;case"dog3":return(a&3)?(a+1):this.width;case"fray":return(a%2)*this.width;case"notch":return this.width;case"bevel":return a+1}return 0},initialize:function(b,m){b=$(b);m=(m||"").toLowerCase();var t=/keep/.test(m);var k=((m.match(/cc:(#[0-9a-f]+)/)||[])[1]);var a=((m.match(/sc:(#[0-9a-f]+)/)||[])[1]);this.width=parseInt((m.match(/(\d+)px/)||[])[1])||10;var n=/round|bevel|notch|bite|cool|sharp|slide|jut|curl|tear|fray|wicked|sculpt|long|dog3|dog2|dog/;this.fx=((m.match(n)||["round"])[0]);var c={T:0,B:1};var h={TL:/top|tl/.test(m),TR:/top|tr/.test(m),BL:/bottom|bl/.test(m),BR:/bottom|br/.test(m)};if(!h.TL&&!h.TR&&!h.BL&&!h.BR){h={TL:1,TR:1,BL:1,BR:1}}var q=document.createElement("div");q.style.overflow="hidden";q.style.height="1px";q.style.backgroundColor=a||"transparent";q.style.borderStyle="solid";var v={T:parseInt(Element.getStyle(b,"paddingTop"))||0,R:parseInt(Element.getStyle(b,"paddingRight"))||0,B:parseInt(Element.getStyle(b,"paddingBottom"))||0,L:parseInt(Element.getStyle(b,"paddingLeft"))||0};if(/MSIE/.test(navigator.userAgent)){b.style.zoom=1}if(!t){b.style.border="none"}q.style.borderColor=k||this.gpc(b.parentNode);var p=Element.getHeight(b);for(var r in c){var g=c[r];q.style.borderStyle="none "+(h[r+"R"]?"solid":"none")+" none "+(h[r+"L"]?"solid":"none");var x=document.createElement("div");var l=x.style;g?b.appendChild(x):b.insertBefore(x,b.firstChild);if(g&&p!="auto"){if(Element.getStyle(b,"position")=="static"){b.style.position="relative"}l.position="absolute";l.bottom=l.left=l.padding=l.margin="0";l.width="100%"}else{l.margin=!g?"-"+v.T+"px -"+v.R+"px "+(v.T-this.width)+"px -"+v.L+"px":(v.B-this.width)+"px -"+v.R+"px -"+v.B+"px -"+v.L+"px"}for(var s=0;s<this.width;s++){var f=Math.max(0,this.getW(s));var u=q.cloneNode(false);u.style.borderWidth="0 "+(h[r+"R"]?f:0)+"px 0 "+(h[r+"L"]?f:0)+"px";g?x.appendChild(u):x.insertBefore(u,x.firstChild)}}}})};
