rem: lineid.style.backgroundColor = ''; 
add: if ( lineid ) { lineid.style.backgroundColor = ''; } 
context: function SelectAll(prefix, checkbox_state) {	for (var i = 0; i < document.chk.elements.length; i++) {		if ((document.chk.elements[i].name.substr(0, prefix.length) == prefix) && (document.chk.elements[i].style.visibility != 'hidden')) {			document.chk.elements[i].checked = checkbox_state;		}		if (prefix == "chk_") {			lineid = document.getElementById('line'+ document.chk.elements[i].name.substr(4));			if (document.chk.elements[i].checked) {				lineid.style.backgroundColor = 'khaki';			}else{				lineid.style.backgroundColor = '';			}		}	}}
meta: 412	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/412/b1d72c37f0436673fb6ad9218dd474b8bb3dc5ba/layout.js/buggy/include/layout.js