// JavaScript Document

function changeColor(ref,cor) {
	ref.style.backgroundColor=cor;
}

function clearText(theField) {
	if (theField.defaultValue == theField.value)
		theField.value = '';
	theField.style.color = '#000000';
}

function addText(theField) {
	if (theField.value == '')
		theField.value = theField.defaultValue;
	theField.style.color = '#5184af';
}