$(document).ready(function(){var a=[];$("img.rollover").each(function(b){var c=document.createElement("img");c.src=this.src.replace("-off","-over");a.push(c)});$("img.rollover").hover(function(){this.src=this.src.replace("-off","-over")},function(){this.src=this.src.replace("-over","-off")});$("#logo").hover(function(){$("#logoHome").fadeIn("fast")},function(){$("#logoHome").fadeOut("fast")});$("#languageSelect").hover(function(){$("#languageSelect span:first").html("change");$("#languageSelect img:first").css("border","1px solid #999")},function(){$("#languageSelect span:first").html("");$("#languageSelect img:first").css("border","1px solid #333")});$("#languageSelect").toggle(function(){$("#languages").stop().fadeTo(200,1).show()},function(){$("#languages").stop().fadeTo(200,0,function(){$(this).hide()})});$("#sitemapContent").hide();$("#sitemapToggle").click(function(){if(this.src.search("expand")!=-1){this.src=this.src.replace("expand","collapse");this.width=132}else{this.src=this.src.replace("collapse","expand");this.width=119}$("#sitemapContent").slideToggle(500)});if($("#errorPopup").length){$("#errorPopup").overlay({top:250,mask:{color:"#000",loadSpeed:200,opacity:.5},closeOnClick:true,load:true})}$("a[rel]").overlay({top:"center",mask:{color:"#000",opacity:.5,loadSpeed:200},onBeforeLoad:function(){var a=this.getOverlay().find(".contentWrap");if(a){a.empty().load(this.getTrigger().attr("href"),{noscript:1})}}});try{$.preloadCssImages()}catch(b){}})
