// page specific ajax calls, to be placed external later on 
function DelDiv(TheElement, TheSection)
  {
  ToDelete = document.getElementById(TheElement+TheSection);
  ToDelete.parentNode.removeChild(ToDelete);
  }

// Function to update the content of ingredient page divs. 
// Note that the ajax return is formatted content, so we can just plump it in 
function UpdateDivs(Section, Content)
  {
  var theDiv = document.getElementById(Section);
  if(Content == 0)
    {
	alert('The Page Was Unable To Do This');
	}
  else
    {
    theDiv.innerHTML = Content;
	}
  }