while (e.hasChildNodes()) 
while (e.hasChildNodes()) { 
function edit_acl(id){  var e=document.getElementById('info-'+id);  if (!e)    return;  if (!images[id])    return;  var nodeId="info-"+id;  var focusId="focus-"+id;  // Does a form already exists?  // On mozilla, the form will be omitted, check also for the next input node  if (Data[nodeId]!=null)  {    resetNode(nodeId);    return;  }  // Remember old content  Data[nodeId]=e.cloneNode(true);  var form=_init_form(id);  form.appendChild(_input('hidden', 'js_acl', 1));  var fs=document.createElement("fieldset");  fs.setAttribute('class', 'jsfieldset');  var legend=document.createElement("legend");  legend.appendChild(document.createTextNode('Access Rights'));  fs.appendChild(legend);  var ol=document.createElement('ol');  fs.appendChild(ol);    ol.appendChild(_get_acl_groups(images[id]['gid']));  if (images[id]['gacl']!=null)   {    ol.appendChild(_get_acl_edit(id));    ol.appendChild(_get_acl_preview(id));  }  form.appendChild(fs);  form.appendChild(_get_div_buttons(nodeId));  while (e.hasChildNodes())    e.removeChild(e.lastChild);  e.appendChild(form);  document.getElementById(focusId).focus();}
1094	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/1094/b0116b471a9ed23ecb7cc3c5df60b8378b41a383/forms.js/buggy/js/forms.js