javascript notification for messages

will display javascript window to notify that message was sent.