toastr.options = {
    "closeButton": true,
    "debug": false,
    "newestOnTop": false,
    "progressBar": true,
    "positionClass": "toast-top-right",
    "preventDuplicates": false,
    "onclick": null,
    "showDuration": "300",
    "hideDuration": "1000",
    "timeOut": "5000",
    "extendedTimeOut": "1000",
    "showEasing": "swing",
    "hideEasing": "linear",
    "showMethod": "fadeIn",
    "hideMethod": "fadeOut"
};

// Success notification
function showSuccessMessage(message) {
    toastr.success(message);
}

// Error notification
function showErrorMessage(message) {
    toastr.error(message);
}

// Info notification
function showInfoMessage(message) {
    toastr.info(message);
}

// Warning notification
function showWarningMessage(message) {
    toastr.warning(message);
}