function $(objectId)
{
	if (document.getElementById && document.getElementById(objectId))
	{
		return document.getElementById(objectId);
	}else if (document.all && document.all[objectId])
	{
		return document.all[objectId];
	}else if (document.layers && document.layers[objectId])
	{
		return document.layers[objectId];
	}else{
		return false;
	}
}
function showList(objectId)
{
	var h = $(objectId).offsetHeight;
	var maxHeight = 150;
	var anim = function()
	{ 
		h += 30; 
		if(h > maxHeight)
		{ 
			$(objectId).style.height = "150px";  
			if(tt){window.clearInterval(tt);}  
		} 
		else
		{ 	
			$(objectId).style.height = h + "px";
			$(objectId).style.display="block";

		}
	} 
	var tt = window.setInterval(anim,2);  
} 
function hiddenList(objectId)
{ 
	var h = $(objectId).offsetHeight; 
	var anim = function()
	{ 
		h -= 30; 
		if(h <= 0)
		{ 
			$(objectId).style.display="none"; 
			if(tt){window.clearInterval(tt);} 
		} 
		else
		{ 
			$(objectId).style.height = h + "px"; 
		} 
	} 
	var tt = window.setInterval(anim,2); 
} 
function showClassList(objectId)
{ 
	if($(objectId).style.display == "none")
	{ 
		showList(objectId); 
	} 
	else
	{ 
		hiddenList(objectId); 
	} 
} 