rem:   lastrequired[lastrequired.length - 1].id = 'lastfieldset';  for(i=0; i<fieldset.length; i++){  var spanrequired = getElementsByClassName(fieldset[i], "span", "required"); if (spanrequired.length > 0){ spanrequired[0].parentNode.nextSibling.childNodes[0].style.background = '#f8e6e9'; } } 
add: try {  lastrequired[lastrequired.length - 1].id = 'lastfieldset';  for(i=0; i<fieldset.length; i++){  var spanrequired = getElementsByClassName(fieldset[i], "span", "required"); if (spanrequired.length > 0){ spanrequired[0].parentNode.nextSibling.childNodes[0].style.background = '#f8e6e9'; } } } catch(e) {} 
context: function requiredField(){	var fieldset = document.getElementsByTagName('fieldset');	var lastrequired = getElementsByClassName(document, "span", "required");		//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/6d33f5924bec7ab3cb1301e203061e0968ae5a9d/manager.js/buggy/templates/default/manager.js