function galleryAddNewItem(instance)
{
    ApOnListAddEditor.add("galleryItems_" + instance, $("galleryAddItemButton_" + instance));
}

