$(document).ready(function() {
						   
 jQuery("a#login span.active").fadeTo("slow", 0);
		   jQuery("a#login").hover(function(){
		   jQuery("a#login span.active").fadeTo("fast", 1);
		   },function(){
		   jQuery("a#login span.active").fadeTo("fast", 0);
 });
		   
	
	// if(!jQuery.browser.opera) 
	$(".login").css({height: "0px"});
	// Text rollo/slider
	// alert('ferdisch');
	$("a#login").click(function()
		{
		// alert('wert');
		// if($.browser.opera) alert('opi');
		
		$(this).blur();
		if($(this).hasClass('closed')) 
			{
			$(this).removeClass('closed');
			$(this).addClass('opened');
			$(".login").animate({height: "50px"},800);
			$("#login").css({backgroundPosition: "0 -21px"});
			$("#tagContainer").animate({top: 160},800);
			}
		else	
			{
			$(this).removeClass('opened');
			$(this).addClass('closed');
			$(".login").animate({height: "0px"},800);
			$("#login").css({backgroundPosition: "0 0"});
			$("#tagContainer").animate({top: 110},800);
			}
		return false;
		});

	});

