function footerMoveOrDeleteItemCallback(editor)
{
    var list = $("footerItemList");
    var first = true;
    for (var i = 0; i <= list.childNodes.length; i++) {
        if (list.childNodes[i].nodeName == "LI") {
            list.childNodes[i].className = (first ? "first" : "");
            first = false;
        }
    }
}

function footerAddNewItem(isGroup)
{
    if (confirm("Would you like to add a new item to the footer?")) {
        ApOnListAddEditor.add("footerItemList", $("footerAddItemButton"));
    }
}
