﻿// Requires jQuery 1.4.1 or later

evokeModalDialog.displaySettings.showFunction = function(grayoutDivID, divDialogID) {
    jQuery("#" + grayoutDivID).fadeTo("slow", evokeModalDialog.getCurrentOpacity(), evokeModalDialog.showCallback);
    jQuery("#" + divDialogID).fadeIn("slow");
}

evokeModalDialog.displaySettings.hideFunction = function(grayoutDivID, divDialogID) {
    jQuery("#" + grayoutDivID).fadeOut("slow", evokeModalDialog.hideCallback);
    jQuery("#" + divDialogID).fadeOut("slow");
};
