function abDownloadToggle(toggleElement, containerId) {
	new Effect.toggle(document.getElementById(containerId),'blind')

	contentAutoClose = $A($(toggleElement).up(1).getElementsByClassName('abDownloadAutoClose'));
	toggleAutoClose = $A($(toggleElement).up(1).getElementsByClassName('abDownloadToggleAutoClose'));

	contentAutoClose.each(
		function(item) {
			if ($(containerId).style.display == 'none' && item.style.display == '') {
				new Effect.toggle(item.id,'blind')
			}
		}
	);

	toggleAutoClose.each(
		function(item) {
			if ($(containerId).style.display == 'none') {
				item.removeClassName('abDownloadCatAct');
				$(item).up(0).removeClassName('abDownloadCatAct');
			}
		}
	);

	if ($(containerId).style.display == 'none') {
		toggleElement.addClassName('abDownloadCatAct')
		$(toggleElement).up(0).addClassName('abDownloadCatAct');
	} else {
		toggleElement.removeClassName('abDownloadCatAct');
		$(toggleElement).up(0).removeClassName('abDownloadCatAct');
	}
}
