rem: var error = document.getElementById(errors[i]); if (error) error.style.display = 'none';  var element = document.getElementById(elements[i]); if (element) element.className = base_classes[i];  var message = document.getElementById(messages[i]); if (message) message.style.display = 'block'; 
add: if(typeof(errors[i]) != 'undefined') { var error = errors[i].obj(); if (error) { error.style.display = 'none'; } } if(typeof(elements[i]) != 'undefined') { var element = elements[i].obj(); if (element) { element.className = base_classes[i]; } } if(typeof(messages[i]) != 'undefined') { var message = messages[i].obj(); if (message) { message.style.display = 'block'; } } 
context: function resetErrors() {	for (var i = 0; i < elements.length; i++)	{		var error = document.getElementById(errors[i]);		if (error) error.style.display = 'none';		var element = document.getElementById(elements[i]);		if (element) element.className = base_classes[i];		var message = document.getElementById(messages[i]);		if (message) message.style.display = 'block';	}}
meta: 8193	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8193/782215d5fb6697f8e778f8800b0a6eb59e168226/form_check.js/clean/trunk/upload/js/form_check.js