
﻿var $j = jQuery;

$j(document).ready(function() { 

 		
	$j("span.open").click(function(){
	 	$j(this).find("img").toggle();
	 	$j(this).parent().find("ul").slideToggle('1500');
	});
	
	$j("input[type*='text']").focusin(function(){
			$j(this).addClass("active");
	});
	$j("input[type*='text']").focusout(function(){
			$j(this).removeClass("active");
	});
	
	
	$j("#footerSuche input[type*='text']").focus(function(){
		if($j(this).attr("value") == "Suchbegriff eingeben") {
			$j(this).attr("value", "");
			$j(this).addClass("active");
		}
	});
	
});

