(function(a){var b=a.$||function(){};b.highlights=(function(){function c(){b.highlights.auto_rotate=setTimeout(j,g)}function i(o){b.highlights.$nav_elements.removeClass("selected");el='#highlights a[href$="'+o.id+'"]';b(el).parent().addClass("selected");b("#hl_lights li.selected span").fadeOut().parent().removeClass("selected");el2='#hl_lights li[id$="'+o.id+'"]';b(el2).addClass("selected").find("span").fadeIn()}function j(){b(b.highlights.scroll).delay(500).trigger("next.serialScroll");b.highlights.auto_rotate=setTimeout(j,g)}var m;var f=true;var g=8000;var n;var h;var l;var k;var e;var d;return{afterRotation:i,rotateHighlights:j,startSlideshow:c,scroll:l,scrollOptions:d,auto_rotate:m,offset:h,$container:n}}());b(function(){if(b("#hl_navigation li").length>1){b.highlights.auto_rotate;b.highlights.do_auto_rotate=true;b.highlights.auto_rotate_timeout=8000;b.highlights.$container=b("h1_scroll_container");b.highlights.offset=parseInt(b("h1_scroll_container").css("paddingLeft")||0)*-1;b.highlights.scroll=b("#highlights .hl_scroll");b.highlights.$nav_elements=b("#hl_navigation li");b.highlights.$light_elements=b("#hl_lights li");b.highlights.scrollOptions={target:b("#highlights .hl_scroll"),items:"div.panel",navigation:"#hl_navigation li",offset:parseInt(b("h1_scroll_container").css("paddingLeft")||0)*-1,duration:800,axis:"xy",easing:"easeInOutCubic",step:1,cycle:true,hash:false,constant:false,onAfter:function(c){b.highlights.afterRotation(c)}};b("#highlights .hl_scroll").serialScroll(b.highlights.scrollOptions);b.highlights.scroll.bind("mouseenter",function(){});b.highlights.scroll.bind("mouseleave",function(){if(do_auto_rotate){b.highlights.auto_rotate=setTimeout(rotateHighlights,auto_rotate_timeout)}});b.localScroll(b.highlights.scrollOptions);if(window.location.hash){b.highlights.afterRotation({id:window.location.hash.substr(1)})}b("#highlights").click(function(){b(this).parents("ul:first").find("li").removeClass("selected").end().end().addClass("selected");clearTimeout(b.highlights.auto_rotate);do_auto_rotate=false});b("#highlights").hover(function(){b(this).find("ul#hl_navigation").stop(true,true).animate({bottom:"0px"},{duration:200,easing:"easeOutCirc"})},function(){b(this).find("ul#hl_navigation").stop(true,true).animate({bottom:"-60px"},{duration:200,easing:"easeInCirc"})});b("ul#hl_navigation").delay(4000).animate({bottom:"-60px"},{duration:600,easing:"easeInCirc"});b("#hl_lights li:not(.selected) span").hide()}else{b("#hl_navigation").hide();b("#hl_lights").hide()}})}(this));function insertAd(a,e,d){var e=(location.protocol=="https:"?"https":"http")+"://"+e;var b=e+"/ad/ajs.php";var c=Math.floor(Math.random()*99999999999);var g=getLangFromPath();if(!document.MAX_used){document.MAX_used=","}var f="<script id='adscript' type='text/javascript' src='"+b+"?zoneid="+a+"&amp;cb="+c;if(document.MAX_used!=","){f+="&amp;exclude="+document.MAX_used}f+=(document.charset?"&amp;charset="+document.charset:(document.characterSet?"&amp;charset="+document.characterSet:""));f+="&amp;loc="+escape(window.location);if(d){f+="&amp;ch="+d}if(g){f+="&amp;lang="+g}if(document.referrer){f+="&amp;referer="+escape(document.referrer)}if(document.context){f+="&context="+escape(document.context)}if(document.mmm_fo){f+="&amp;mmm_fo=1"}f+="'><\/script>";document.write(f)}function getLangFromPath(){var c=location.pathname;var b=/^\/(..)\//;var a=b.exec(c);if(a!=null){return a[1]}return getCookie("language")}function getCookie(a){if(document.cookie.length>0){cookieStart=document.cookie.indexOf(a+"=");if(cookieStart!=-1){cookieStart=cookieStart+a.length+1;cookieEnd=document.cookie.indexOf(";",cookieStart);if(cookieEnd==-1){cookieEnd=document.cookie.length}return unescape(document.cookie.substring(cookieStart,cookieEnd))}}return"en"};