rem: var lastrequired = getElementsByClassName(document, "div", "reqnote"); 
add: var lastrequired = getElementsByClassName(document, "span", "required"); 
context: function requiredField(){	var fieldset = document.getElementsByTagName('fieldset');	var lastrequired = getElementsByClassName(document, "div", "reqnote");		//alert(lastrequired.length);	lastrequired[lastrequired.length - 1].id = 'lastfieldset';		for(i=0; i<fieldset.length; i++){		//var divrequired = getElementsByClassName(fieldset[i], "div", "reqnote");		var spanrequired = getElementsByClassName(fieldset[i], "span", "required");		if (spanrequired.length > 0){			spanrequired[0].parentNode.nextSibling.childNodes[0].style.background = '#f8e6e9';		}		}	}
meta: 6726	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6726/2fcb02be68853104360a4ba89824b79e89d40993/manager.js/buggy/templates/default/manager.js