rem: inlineRecords = document.getElementsByClassName('inlineRecord', objectId+'_div'); 
add: inlineRecords = Element.getElementsByClassName(objectId+'_div', 'inlineRecord'); 
context: 	deleteRecord: function(objectId) {		var i, j, inlineRecords, records, childObjectId, childTable;		var objectPrefix = this.parseFormElementName('full', objectId, 0 , 1);		var elName = this.parseFormElementName('full', objectId, 2);		var shortName = this.parseFormElementName('parts', objectId, 2);		var recordUid = this.parseFormElementName('none', objectId, 1);		var beforeDeleteIsBelowMax = this.isBelowMax(objectPrefix);			// revert the unique settings if available		this.revertUnique(objectPrefix, elName, recordUid);			// if the record is new and was never saved before, just remove it from DOM		if (this.isNewRecord(objectId)) {			new Effect.Fade(objectId+'_div', { afterFinish: function() { Element.remove(objectId+'_div'); }	});			// if the record already exists in storage, mark it to be deleted on clicking the save button		} else {			document.getElementsByName('cmd'+shortName+'[delete]')[0].disabled = false;			new Effect.Fade(objectId+'_div');		}			// Remove from TBE_EDITOR (required fields, required range, etc.):		if (TBE_EDITOR && TBE_EDITOR.removeElement) {			inlineRecords = document.getElementsByClassName('inlineRecord', objectId+'_div');				// Remove nested child records from TBE_EDITOR required/range checks:			for (i=inlineRecords.length-1; i>=0; i--) {				if (inlineRecords[i].value.length) {					records = inlineRecords[i].value.split(',');					childObjectId = this.data.map[inlineRecords[i].name];					childTable = this.data.config[childObjectId].table;					for (j=records.length-1; j>=0; j--) {						TBE_EDITOR.removeElement(this.prependFormFieldNames+'['+childTable+']['+records[j]+']');					}				}			}			TBE_EDITOR.removeElement(this.prependFormFieldNames+shortName);		}		var recordCount = this.memorizeRemoveRecord(			this.prependFormFieldNames+this.parseFormElementName('parts', objectId, 3, 2),			recordUid		);		if (recordCount <= 1) {			this.destroyDragAndDropSorting(this.parseFormElementName('full', objectId, 0 , 2)+'_records');		}		this.redrawSortingButtons(objectPrefix);			// if the NEW-button was hidden and now we can add again new children, show the button		if (!beforeDeleteIsBelowMax && this.isBelowMax(objectPrefix))			this.showElementsWithClassName('inlineNewButton', this.parseFormElementName('full', objectPrefix, 0 , 1));		return false;	},
meta: 9100	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/9100/53c825815c279d7582fe28a3ef6eeff5d1cd436d/jsfunc.inline.js/clean/t3lib/jsfunc.inline.js