// Here you can define your own interaction effects using the JQuery syntax.

$(document).ready(function(){
  $('#carousel').infiniteCarousel();
  $('ul.content-addon').innerfade({
						speed: 2000,
						timeout: 4000,
						type: 'sequence',
						containerheight: '327px'
					});

	$(".tabs").tabs(".tab-content > div");
	
  $("body#standortsuche .accordion h3#h3-standortsuche").addClass("active");
	
  $(".accordion h3:not(.active)").next("div").hide();

  $(".accordion h3").click(function(){
    $(this).next("div").slideToggle("slow");
    $(this).toggleClass("active");
    return false;
		});
});
               
function FensterOeffnen (Adresse) {
  MeinFenster = window.open(Adresse, "Zweitfenster", "width=350,height=150,left=100,top=200");
  MeinFenster.moveTo((screen.width/2) - 250, 250);
  MeinFenster.focus();
}

