function showLabelIfEmpty(input) {
	var label = document.getElementById(input.id+"_label"); 			
	if (input.value != '') {
		label.style.display = 'none'; 
	} else {
		label.style.display = 'inline';				
	}   
}

/* workaround for autocomplete form not firing events */
function detectInputsChanges() {
	updateInputs();
	setInterval('updateInputs()', 250);
}
