function changeImage(b){var a=$("#keyvisual div."+b),c=$("img:visible",a),d=$("img:visible + img",a);d.length||(d=$("img:first",a));c.fadeOut(3E3);d.fadeIn(3E3);window.setTimeout('changeImage("'+b+'")',4E3+Math.round(Math.random()*14E3))}
$(document).ready(function(){for(var b=["pictures_med","pictures_physio","pictures_skin","pictures_spa"],a=0;a<b.length;a++)window.setTimeout('changeImage("'+b[a]+'")',4E3+Math.round(Math.random()*14E3));$("div.akkordeon div.body").hide();$("div.akkordeon:first div.body").show();$("div.akkordeon:first .title").addClass("active");var c=false;$("div.akkordeon div.title").click(function(){var d=$(this),e=$("+ div.body:not(:visible)",this);if(e.length)if(!c){c=true;$("div.akkordeon div.body:visible").slideUp(700,
function(){$("div.akkordeon .active").removeClass("active");d.addClass("active");e.slideDown(700,function(){c=false})})}})});
(function(a){a(function(){a("span.mapson").live("mouseover",function(){var b=title="";if(a(".liam",this).length>0){a(".liam span",this).remove();b=a(".liam",this).text();a(".liam",this).remove();title=a(this).html()}else{a("span",this).remove();title=b=a(this).text()}b=b.replace(/ ?(|&#173;|&shy;|&#x00AD;) ?/g,"");a(this).replaceWith('<a href="mailto:'+b+'">'+title+"</a>")})})})(jQuery);
$("a[href^=http://], a[href^=https://], a[href^=ftp://]").live("click",function(){if(typeof domains!="undefined")if(this.href.match(".*?//("+domains.join("|")+")/.*")!==null)return true;window.open($(this).attr("href"));return false});$("a[href$=pdf]").live("click",function(){window.open($(this).attr("href"));return false});

