/*
 * JavaScript routines for form actors
 *
 * Copyright (C)2003 - Bernard Dautrevaux
 */

function actor_tolower(item) {
	item.value = item.value.toLowerCase();
}

function actor_toupper(item) {
	item.value = item.value.toUpperCase();
}

function actor_in_range(v, min, max) {
	return v >= min && v <= max;
}

function actor_show_item(item, show) {
	item.style.display = show ? '' : 'none';
} 
