// AEDConfirmation
// pass in:
// typeStr - whether it was Added, Edited or Deleted
// displayStr - the section or item changed
// 
function AEDConfirmation(typeStr,displayStr) {
	if (typeStr == 'Add')
		alert ('*' + displayStr + '* was successfully added to the system.')
	if (typeStr == 'Edit')
		alert ('Your changes to *' + displayStr + '* were successfully saved to the system.')
	if (typeStr == 'Delete')
		alert ('*' + displayStr + '* was successfully deleted from the system.')
}

// AEDReindexing
// pass in:
// typeStr - whether it was Added, Edited or Deleted
// 
function AEDReindexing(typeStr) {
	if (typeStr == 'Add')
		alert ('Please wait a few moments while this document is added to the system.')
	if (typeStr == 'Edit')
		alert ('Please wait a few moments while this document is updated in the system.')
	if (typeStr == 'Delete')
		alert ('Please wait a few moments while this document is deleted from the system.')
	if (typeStr == 'DeleteArticle')
		alert ('Please wait a few moments while this article and its attachments are deleted from the system.')
	if (typeStr == 'DeleteSection')
		alert ('Please wait a few moments while this section and its items are deleted from the system.')
	if (typeStr == 'PublishNewsletter')
		alert ('Please wait a few moments while this newsletter and its articles are published to the system.')
	if (typeStr == 'DeleteNewsletter')
		alert ('Please wait a few moments while this newsletter and its articles are deleted from the system.')
}
