function getElement(id) {
	return document.getElementById(id);
}

function getElementValue(id) {
	return getElement(id).value;
}

function setElementValue(id, value) {
	getElement(id).value = value;
}

function setElementClassName(id, className) {
	getElement(id).className = className;
}

function setElementBackgroundColor(id, backgroundColor) {
	getElement(id).style.backgroundColor = backgroundColor;
}

function setElementBorderColor(id, borderColor) {
	getElement(id).style.borderColor = borderColor;
}

function setElementDisplay(id, display) {
	getElement(id).style.display = display;
}

function showElement(id) {
	setElementDisplay(id, "block");
}

function showInlineElement(id) {
	setElementDisplay(id, "inline");
}

function hideElement(id) {
	setElementDisplay(id,"none");
}

function getElementContent(id) {
	return getElement(id).innerHTML;
}

function setElementContent(id, content) {
	getElement(id).innerHTML = content;
}

function copyElementContent(idSrc, idDst) {
	setElementContent(idDst, getElementContent(idSrc));
}