function revealTab(less, more){
	tab = document.getElementById(less);
	tabButton = document.getElementById(more);
	if(tab.style.display!='none'){
		tab.style.display='none';
		tabButton.style.display='';
	} else {
		tab.style.display='';
		tabButton.style.display='none';
	}
}

function clearTextBox(inputBox, textString, cssClass) {
	if (inputBox) {
		if (!textString || inputBox.value == textString) {
			inputBox.value = '';
		}
		if (cssClass) {
			inputBox.className = cssClass;
		}
	}
	return true;
}

function setTextBox(inputBox, textString, cssClass) {
	if (inputBox) {
		if (inputBox.value == '') {
			inputBox.value = textString;
			if (cssClass) {
				inputBox.className = cssClass;
			}
		}
	}

	return true;
}

