rem: var element = document.getElementById(elements[num]); if (element) element.className = error_classes[num]; 
add: var element = elements[num].obj(); if (element) { element.className = error_classes[num]; } 
context: function showError(num){	var error = document.getElementById(errors[num]);	if (error) error.style.display = 'block';	var element = document.getElementById(elements[num]);	if (element) element.className = error_classes[num];	var message = document.getElementById(messages[num]);	if (message) message.style.display = 'none';}
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