function edit(element) {
	element.style.padding = '5px';
	element.style.cursor = 'text';
	element.style.color = '#c51a00';
}

function leave(element) {
	element.style.padding = '0';
	element.style.cursor = 'pointer';
	element.style.color = '#000000';
	updateField(element);
}

function leave_cat(element) {
	element.style.padding = '0';
	element.style.cursor = 'pointer';
	element.style.color = '#af9744';
	updateField(element);
}

function change(element,script) {
	var theData = 'value=' + encodeURIComponent(element.value) + '&column=' + encodeURIComponent(element.name) + '&id=' + encodeURIComponent(element.id);
	the_script = script + '?' + theData;
	sendRequest(the_script,false);
}

function check(element) {
	maxlength(100,element);
	grow(element);
}