rem: name = nameBase + '[' + next_index + ']'; safeName = safeNameBase + '_' + next_index + '_'; 
add: var name = nameBase + '[' + next_index + ']'; var safeName = safeNameBase + '_' + next_index + '_'; 
context: function addNewAssetFinder(moreButton, nameBase, safeNameBase, typeCodesString, mapFrame, doneFn, showClear){	var next_index = 0;	while (document.getElementById(safeNameBase+'_'+next_index+'__label') != null) next_index++;	parentElt = moreButton.parentNode;	name = nameBase + '[' + next_index + ']';	safeName = safeNameBase + '_' + next_index + '_';	parentElt.insertBefore(document.createElement('BR'), moreButton);	parentElt.insertBefore(createHiddenField(name+'[assetid]', 0), moreButton);	parentElt.insertBefore(createHiddenField(name+'[url]', 0), moreButton);	parentElt.insertBefore(createTextBox(safeName+'_label', '', 30, 0, 'sq-form-asset-finder', 'this.tmp = this.value;', 'this.value = this.tmp;'), moreButton);	var changeButton = createButton(safeName+'_change_btn', 'Change', mapFrame+'.asset_finder_change_btn_press(\''+name+"', '"+safeName+"', '"+typeCodesString+"', "+doneFn+");");	parentElt.insertBefore(changeButton, moreButton);	if (showClear) {		parentElt.insertBefore(createButton(safeName+'_clear_btn', 'Clear', mapFrame+'.asset_finder_clear_btn_press(\''+name+'\', \''+safeName+'\');'), moreButton);	}}//end addNewAssetFinder()
meta: 5635	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5635/8f059a382ec40b8bb5719ff8604114164c4b8ae5/html_form.js/buggy/core/lib/html_form/html_form.js