DELETE_STRING="delete" function handleResponse(){ if(http.readyState == 4){ var response = http.responseXML; indexingTable=document.getElementById("indexingTable"); if(response != null){ entries=response.getElementsByTagName("entry"); } //skip the Tableheade row=indexingTable.firstChild.nextSibling.firstChild.nextSibling.nextSibling; while(row != null){ //delete old entries indexingTable.firstChild.nextSibling.removeChild(row); row=indexingTable.firstChild.nextSibling.firstChild.nextSibling.nextSibling; } dark=false; for(i=0;i