rem: for (var i = 0; i < form.elements.length; i++) 
add: for (var i = 0; i < form.elements.sizeof(); i++) 
context: function checkForm(form){	var valid = true;	resetErrors();	for (var i = 0; i < form.elements.length; i++)	{		var element = form.elements[i];		for (var j = 0; j < elements.length; j++)		{			if (elements[j] == element.id)			{				var value = (element.options) ? element[element.selectedIndex].value : element.value;				if (regexs[j] != '' && !regexs[j].test(value))				{					showError(j);					valid = false;					break;				}				if(typeof matches != 'undefined' && matches) {					if (matches[j]) {						var match = document.getElementById(matches[j]);						if(typeof(match) != 'undefined' && match) {							if (element.value != match.value)							{								element.value = '';								match.value = '';								showError(j);								valid = false;								break;							}						}					}				}			}		}	}	return valid;}
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