Simple 'onbeforeunload' multiple handler. It assigned a basic function to 'onbeforeunload' method of window object and provide ability to attache multiple functions to be called when 'onbeforeunload' event is called.