// ### JS für Hauspurg.net 2009 ###

// ### jQuery ###

// ### Personal Bild ###
/*
$(document).ready(function(){
	$(".personalC").css({ cursor:"pointer" });
	$(".personalC .personalHover").hide();
	$(".personalC").each(
		$(".personalHover").hover(
		function(){
			$(this).fadeIn('1000');
			},
		function(){
			$(this).fadeOut('1000');	

	});
});

*/


// ### easyTooltip ###

$(document).ready(function(){
	$("a, p#telefon > span").easyTooltip();	
});

// ### easySlider 1.5 für Headpic ###
/*
$(document).ready(function(){	
			$(".slider").easySlider({
				auto: true,
				continuous: true,
				speed: 500,
				pause: 6000,
				controlsShow: false 
			});
		});	

// ### Hover für Fit am Morgen ###

$(document).ready(function(){
	$("#containerRechts table.hover").hover(
		function(){
			$(this).css( { 'background-color' : "#fff1db" });
			},
		function(){
			$(this).css( { 'background-color' : "#ffffff" });
		});	
});

// ### Zebrastripes für Öffnungzeiten ### 

$(document).ready(function(){
	$("table.open tr:even").css( { "background-color" : "#FFDFB0" });
	$("table.open tr:odd").css( { "background-color" : "#FFF1DB"});	
});


// ### Textile p Reset ###

$(document).ready(function(){
	$("div.textilebild").css({ 'padding-top' : '10px' });
	$("div.textilebild p:even").css({ 'margin' : '0'});
});


*/




// ### Suchfeld ###
function clearField(obj){
	if(obj.value == search_def_str){
	  obj.value = "";
	}
}
function showDefault(obj){
	if(obj.value == ""){
	  obj.value = search_def_str;
	}
}
