/*******************************************/
/*   Check for the signon cookies          */
/*      Input:   none                      */
/*      Returns: array                     */
/*******************************************/
function checkCookies()
{
  if (GetCookie("sk34A91J") && GetCookie("l41xvm93b")) {
      var theAcct = GetCookie("sk34A91J");
      var theWhen = GetCookie("l41xvm93b");
  }
  var theCookies = new Array();
  theCookies[0] = theAcct;
  theCookies[1] = theWhen;
  return(theCookies);
}

/*******************************************/
/*   Save the signon information           */
/*      Input:   String (2)                */
/*      Returns: None                      */
/*******************************************/ 
function setCookies(parm1,parm2) 
{
   var expdate = new Date ();
   FixCookieDate(expdate);
   expdate.setTime(expdate.getTime() + (24 * 60 * 60 * 1000 * 30));  
   if (parm2=='Y') {
    SetCookie("sk34A91J",parm1,expdate,"/");
    SetCookie("l41xvm93b",parm2,expdate,"/"); }
   else {
    SetCookie("sk34A91J",parm1,null,"/");
    SetCookie("l41xvm93b",parm2,null,"/");
   }
}
/*******************************************/
/*   Clear the signon cookies              */
/*      Input:   none                      */
/*      Returns: none                      */
/*******************************************/
function killCookies()
{
  DeleteCookie ("sk34A91J",'/');
  DeleteCookie ("l41xvm93b",'/');
}

