function accordionDrop (id) {
	oNode = document.getElementById(id);
	oDiv =  document.getElementById("div_" + id);
	if (oNode.style.display == "none") {
		oNode.style.visibility = "hidden";
		oNode.style.display = "";
		var fullHeight = oDiv.offsetHeight;
		
		oDiv.style.height = "0px";
		oNode.style.visibility = "";
		
		accordionShow(id, fullHeight);
	} else {
		accordionHide(id)
	}				
}

function accordionShow (id, fullHeight) {
	oDiv = document.getElementById("div_" + id);
	var height = getIntFromCSSUnit(oDiv.style.height);				
	oDiv.style.height = (height + 1 + ((fullHeight - height) / 5)) + "px";
	if (getIntFromCSSUnit(oDiv.style.height) < fullHeight)					
		setTimeout("accordionShow('" + id + "', " + fullHeight + ")", 1);
}		

function accordionHide (id) {
	document.getElementById(id).style.display = "none";
}			
