rem: this.className = this.className.replace(' marked', ''); 
add: this.className = this.className.replace(' marked', ''); 
context: 		rows[i].onmousedown = function() {		    var unique_id;            var checkbox;            checkbox = this.getElementsByTagName( 'input' )[0];            if ( checkbox && checkbox.type == 'checkbox' ) {                unique_id = checkbox.name + checkbox.value;            } else if ( this.id.length > 0 ) {                unique_id = this.id;            } else {		        return;		    }            if ( typeof(marked_row[unique_id]) == 'undefined' || !marked_row[unique_id] ) {                marked_row[unique_id] = true;            } else {                marked_row[unique_id] = false;            }            if ( marked_row[unique_id] ) {			    this.className += ' marked';            } else {			    this.className = this.className.replace(' marked', '');            }            if ( checkbox && checkbox.disabled == false ) {                checkbox.checked = marked_row[unique_id];            }		}
meta: 8858	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8858/a741946141c6fd38c6de85eb1056d29c8691e756/functions.js/buggy/js/functions.js