rem: newitem = this.addImage(elementdef.name, elementdef.label); 
add: newitem = this.addImage(instance_name, elementdef.label); 
context: function makenew( elementdef ) {    var model_name = elementdef.name;    elementdef.name = elementdef.name+'['+this.set_qty+']';    switch (elementdef.type) {        case 'button':            newitem = this.addButton(elementdef.name, elementdef.label, elementdef.action);            break;        case 'image':            newitem = this.addImage(elementdef.name, elementdef.label);            break;        case 'select':            newitem = this.CopySelect( this.formRef.elements[model_name+'['+(this.set_qty-1)+']'] );            break;        default:            newitem = this.addElement( elementdef.name, elementdef.type );    }    return newitem;}
meta: 4746	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4746/d562d1997acaaaeb039ccfe46c43d60b49b53362/elementCopier.js/buggy/scripts/elementCopier.js