
function getGETParameter( name ){
   
                        paramName = name.replace(/[\[]/,"\\\[").replace(/[\]]/,"\\\]");
   
                        var regexS = "[\\?&]"+paramName+"=([^&#]*)";
   
                        var regex = new RegExp( regexS );
   
                        var results = regex.exec( window.location.href );
   
                        if( results == null )
   
                          return "";
   
                        else
   
                          return results[1];
  
}


$(document).ready(function() {
	
	
/*
 * News / Presse
 */	
//$(".news-catmenu .level1").eq(5).css({"margin-top" : "-4px"});	
/*
 * News / Presse - end
 */	

	
	  //Nur solange der Name des Autors in der Variable steht
	  //funktioniert dies, da erst noch getestet wird...
	   //var param = getGETParameter("L");
  
	   //if(param == "") {
	   	
		
	   		$("input.pulldown_search").click(function() {
				$("div.pulldown_search").animate({
				    opacity: 1,
				    height: 'toggle'
				  }, 500, function() {
				    // Animation complete.
				});
		});
		
		
		
		$("div.pulldown_searchbox").click(function() {
				$("div.pulldown_search").animate({
				    opacity: 1,
				    height: 'toggle'
				  }, 500, function() {
				    // Animation complete.
				});
		});
		
		
		
		$(".jNiceSelectOpen2").click(function() {
				$("div.pulldown_search").animate({
				    opacity: 1,
				    height: 'toggle'
				  }, 500, function() {
				    // Animation complete.
				    
				});
		});
		
		
		
		
		
		
		
		$("body").click(function() {
				$("div.pulldown_search").css({
					"display" : "none",
					"position" : "absolute",
					"left" : "0px",
					"top" : "20px",
					"z-index" : "100"
				});
		});
		
		
	   //}

	
});
