function animateHeight(id, size)
{
	el = document.getElementById(id);
	var h_size1 = el.offsetHeight;
	if (h_size1 < size)
	{
	el.style.height = h_size1 + 14+"px";
	setTimeout("animateHeight('" + id + "','" + size + "')", 1);
	}
}

function animateHeight_out(id, size)
{
	el2 = document.getElementById(id);
	var h_size2 = el2.offsetHeight;
	if (h_size2 > size)
	{
	el2.style.height = h_size2 - 14+"px";
	setTimeout("animateHeight_out('" + id + "','" + size + "')", 1);
	}
}


function animateWidth(id, size)
{
	el3 = document.getElementById(id);
	var h_size3 = el.offsetWidth;
	if (h_size3 < size)
	{
	el3.style.width = h_size3 + 14+"px";
	setTimeout("animateWidth('" + id + "','" + size + "')", 1);
	}
}

function animateWidth_out(id, size)
{
	el4 = document.getElementById(id);
	var h_size4 = el4.offsetWidth;
	if (h_size4 > size)
	{
	el4.style.width = h_size4 - 10+"px";
	setTimeout("animateWidth_out('" + id + "','" + size + "')", 1);
	}
}