function setupDropdowns(parent, child) {
	var div = new Element('div');
	div.className = 'dropdown';
	child.parentNode.insertBefore(div, child);
	
	var img = new Element('img');
	parent.insertBefore(img, parent.childNodes[0]);
	img.src= '/styles/images/plus-icon.gif';
	img.className = 'no-border';
	img.style.marginRight = '5px';
	img.style.marginBottom = '-3px';
	
	div.appendChild(child);
	div.style.display = 'none';
	parent.style.cursor = 'pointer';
	parent.addEvent('click', function() {
		if (div.style.display == 'none') {
			img.src='/styles/images/minus-icon.gif';
			div.style.display = 'block';
		} else {
			img.src='/styles/images/plus-icon.gif';
			div.style.display = 'none';
		}
	});
}

window.addEvent('domready', function() {
	var dt = $$('dt');
	var dd = $$('dd');
	var i = 0;
	while(dt[i])
		setupDropdowns(dt[i], dd[i++]);
});