/*******************************************************************************

  File:    help.js
  Author:  Ben Leung
  Date:    02/15/99

  This script file contains functions that display message on the status bar
  of the browser.

*******************************************************************************/


/*------------------------------------------------------------------------------
  Function   :  Help
  Purpose    :  Display a help message on the Window's status bar.
  Applies To :  Text, Password, Textarea, Select, Button
  Parameter  :
    msg - the help message to be displayed
  Returns    :  None
------------------------------------------------------------------------------*/
function Help(msg) {

    window.status = msg

}  // Help
  

/*------------------------------------------------------------------------------
  Function   :  SelectText
  Purpose    :  Select the text currently in the object, and display a message
                on the Window's status bar.
  Applies To :  Text, Password, Textarea
  Parameter  :
    obj - the object that contains the text
    msg - the message to be displayed
  Returns    :  None
------------------------------------------------------------------------------*/
function SelectText(obj, msg) {

    obj.select()
    window.status = msg

}  // SelectText
