rem: var array=document.getElementsByName("numberOfPreviousItems"); 
add: var array=document.getElementsByName("numberOfPreviousItems"); 
context: function setNumberOfPreviousItems(){	var array=document.getElementsByName("numberOfPreviousItems");		var counter;	if(array!=null)	for(counter=0;counter<array.length-1;counter++)	{}	i=i+counter;	numberOfItems=i;		}
meta: 341	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/341/76cad7a6a9d290861496839a2bf74fb6c72c48a9/validator.js/buggy/mifos/src/org/mifos/doc-root/application/checklist/js/validator.js