
jQuery.noConflict();jQuery(document).ready(function(){jQuery(".contentkasten").ajaxStart(function(){jQuery(this).fadeOut(function(){jQuery(this).text("").addClass("loading").fadeIn();});});});function getContent(url){jQuery.ajax({url:"ajax/"+url,success:function(html){jQuery(".contentkasten").css("display","none").removeClass("loading").html(html).fadeIn();jQuery(".contentkasten a:not([href^='http://']):not([onclick]):not(.noajax):not([target^='_blank'])").click(function(){url=jQuery(this).attr("href");getContent(url);jQuery(this).blur();return false;});location.hash=url;}});}
var $header_hidden=false;function updateHeader(content)
{if($header_hidden&&content)
{jQuery(".headerbar").html(content).slideDown();$header_hidden=false;}
else if(!$header_hidden&&!content)
{jQuery(".headerbar").slideUp();$header_hidden=true;}
else if(!$header_hidden&&content&&content!=jQuery(".headerbar").html())
{jQuery(".headerbar").fadeOut(function(){jQuery(this).html(content).fadeIn();});$header_hidden=false;}}
var $right_hidden=false;function showRight(show)
{if(show)
{if($right_hidden)
{jQuery(".ladder").fadeIn(1200);$right_hidden=false;}}
else
{if(!$right_hidden)
{jQuery(".ladder").fadeOut('slow');$right_hidden=true;}}}
