var hh=0;
var inter;

//we show the box by setting the visibility of the element and incrementing the height smoothly
function ShowBoxR()
{

//Depending on the amount of text, set the maximum height here in pixels
	if(hh==490)
	{
	clearInterval(inter);
	return;
	}

	obj = document.getElementById("coverloginR");
	obj.style.visibility = 'visible';
	hh+=2;
	obj.style.height = hh + 'px';
}

//same way as above but reversed
function HideBoxR()
{
	obj = document.getElementById("coverloginR");

	if(hh==2)
	{
	obj.style.visibility = 'hidden';
	obj.style.height = '0.0em';
	clearInterval(inter);
	return;
	}
	hh-=2;
	obj.style.height = hh + 'px';
}
function cargar(){
	inter=setInterval('ShowBoxR()',1);
	return false;
}
