function toggle(object) {
	obj = document.getElementById(object);
	obj.style.display = (obj.style.display == 'none') ? '' : 'none';
	return;
}

function rowEffect(object, new_class) {
	obj = document.getElementById(object);
	obj.className = new_class;
}

function clearEffects(object, object_reset, new_class) {
	for(i = 0; i < object.length; i++) {
		if(object[i].checked == false) {
			//alert(object_reset + '_' + i);
			rowEffect(object_reset + '_' + i, new_class);
		}
	}
}
