function changeCategoryRelation(inId, inObj) {

  if (confirm("Diese Serie wirklich in eine andere Kategorie verschieben?")) {
    // Redirect
    location.href = "?action=catrelation&item=" + inId + "&to=" + inObj.options[inObj.options.selectedIndex].value;
  } else {
    inObj.parentNode.reset();
  }
}

function deleteEntry(inId, inType) {

  if (confirm("Diesen Eintrag wirklich löschen?")) {
    // Redirect
    location.href = "?action=delete&item=" + inId + "&type=" + inType;
  }
}

function removeHome(inId) {

  if (confirm("Diesen Eintrag wirklich entfernen?")) {
    // Redirect
    location.href = "?action=removehome&item=" + inId;
  }
}

