var timer_fast_auth_enter = 0;

//#########################################

function OnMouseOverFastEnterButton()
{
	if( timer_fast_auth_enter != 0 )
	clearInterval(timer_fast_auth_enter);
	timer_fast_auth_enter = 0;
	
	$j('#fast_auth_enter_container').fadeIn(600);
}
function OnMouseOutFastEnterButton()
{
	if( timer_fast_auth_enter != 0 )
	clearInterval(timer_fast_auth_enter);
	
	timer_fast_auth_enter = setInterval(function(){
		clearInterval(timer_fast_auth_enter);
		$j('#fast_auth_enter_container').fadeOut(600);
	},500);	
}

function OnMouseOverFastEnterContainer()
{
	if( timer_fast_auth_enter != 0 )
	clearInterval(timer_fast_auth_enter);
	timer_fast_auth_enter = 0;
	
	$j('#fast_auth_enter_container').fadeIn(600);
}
function OnMouseOutFastEnterContainer()
{
	if( timer_fast_auth_enter != 0 )
	clearInterval(timer_fast_auth_enter);
	
	timer_fast_auth_enter = setInterval(function(){
		clearInterval(timer_fast_auth_enter);
		$j('#fast_auth_enter_container').fadeOut(600);
	},500);	
}

//#########################################

function AuthHeader_OnFocusEmulatePassword(obj)
{
	var password = Element.previous(obj);
	
	obj.style.display = 'none';
	password.style.display = 'block';
	
	password.focus();
}
function AuthHeader_OnBlurEmulatePassword(obj)
{
	
}

function AuthHeader_OnFocusPassword(obj)
{
	
}
function AuthHeader_OnBlurPassword(obj)
{
	var emulate = Element.next(obj);
	
	if( obj.value == '' )
	{
		obj.style.display = 'none';
		emulate.style.display = 'block';
	}
}

//#########################################