function setDDVisibility(rn) {
	// alert(rn);
var ddTag = document.getElementById(rn);
	// alert ('Changing '+ddTag.id+' from '+ddTag.style.textIndent);
	if (ddTag.style.textIndent == '0px') {
		ddTag.style.textIndent = '-9999px';
		ddTag.style.height = '1px';
	}else{
		ddTag.style.textIndent = '0px';
		ddTag.style.height = 'auto';
	};
}

function toggleVisibility(source,target,onLabel,offLabel) {
	// alert('Source: '+source+' and '+'Target: '+target);
var targetTag = document.getElementById(target);
	if (targetTag.style.textIndent == '0px') {
		targetTag.style.textIndent = '-9999px';
		targetTag.style.height = '1px';
	}else{
		targetTag.style.textIndent = '0px';
		targetTag.style.height = 'auto';
	};
var sourceTag = document.getElementById(source);
	if (sourceTag.innerHTML==onLabel) {
	// alert('Changing '+source+' to '+offLabel);
		sourceTag.innerHTML = offLabel;
	}else{
	// alert('Changing '+source+' to '+onLabel);
		sourceTag.innerHTML = onLabel;
	};
}

