function category_remove_check(id)
{
    if (confirm("Are you certain you wish to permanently remove this category from the database, as well as removing all items in this category from display?"))
    {
        document.location.href = 'edit_categories.php?action=remove&id=' + id;
    }
}

function item_remove_check()
{
    if (confirm("Are you certain you wish to permanently remove this item from the database?"))
    {
        document.remove_item.submit();
    }
}