// JavaScript Document


/*
$(document).ready(function($){
					$('#accordion-1').dcAccordion({
						eventType: 'click',
						autoClose: true,
						saveState: true,
						disableLink: true,
						speed: 'slow',						
						autoExpand: true,
						cookie	: 'dcjq-accordion-1',
						classExpand	 : 'dcjq-current-parent'
					});
				
});
*/




	var name = "#floatMenu";
	var menuYloc = null;
	
		$(document).ready(function(){
			menuYloc = parseInt($(name).css("top").substring(0,$(name).css("top").indexOf("px")))
			$(window).scroll(function () { 
				offset = menuYloc+$(document).scrollTop()+"px";
				$(name).animate({top:offset},{duration:500,queue:false});
			});
		}); 



function suchfeldtext(){
	document.getElementById('suchinput').value = '';
	//alert('test');
	
}

function suchfeldtext2(){
	if(document.getElementById('suchinput').value == ""){
		document.getElementById('suchinput').value = 'Suche...';
		
	}

	
}
