function bodyInit() {
	var inputs = document.getElementsByTagName("input");
	for (var i = 0; i < inputs.length; i++) {
		inputs[i].style.borderColor = "#C0C0C0";

		inputs[i].onmouseover = function() {
			this.style.borderColor = "#000000";
		}
		inputs[i].onmouseout = function() {
			this.style.borderColor = "#C0C0C0";
		}
		inputs[i].onmousedown = function() {
			this.style.borderColor = "#000000";
		}
		inputs[i].onmouseup = function() {
			this.style.borderColor = "#000000";
		}
	}

	var textareas = document.getElementsByTagName("textarea");
	for (var j = 0; j < textareas.length; j++) {
		textareas[j].style.borderColor = "#C0C0C0";

		textareas[j].onmouseover = function() {
			this.style.borderColor = "#000000";
		}
		textareas[j].onmouseout = function() {
			this.style.borderColor = "#C0C0C0";
		}
		textareas[j].onmousedown = function() {
			this.style.borderColor = "#000000";
		}
		textareas[j].onmouseup = function() {
			this.style.borderColor = "#000000";
		}
	}
}

function clearField(form_name, field_name) {
	document.forms[form_name].elements[field_name].value = "";
}

function setChannelBackgroundSimple(theCell, elementID, channelColor, textColor) {
	theCell.style.backgroundColor = channelColor;
	document.getElementById("navtext_" + elementID).style.color = textColor;
}
