//   ****************************************************************************
//   PARAMETERS IN : Keyword for cookies
//   RETURN VALUE  : value of keyword 
//   PURPOSE       : getvalue from cookies keyworkd
//   CALL FROM     : none
//   Creation Date : 1999/03/17 (KPO)
//   Modification  : Date          User  Comment							Version
//                    1999/03/18    KPO   modify to many value
//   ****************************************************************************
   function Getuse(Keyword)
   {
      var st_temp
      var st_temp1
      var st_temp2
      var i_1
      var i_2
      var st_ret
      st_ret = ""
      st_temp = String(document.cookie)
      st_temp1 = st_temp.split(";")
      for (i_1=0;i_1<st_temp1.length;i_1++)
      {
         i_2 = st_temp1[i_1].indexOf("Frontware:")
         if (i_2 >= 0)
         {
            st_temp = st_temp1[i_1]
            st_temp1 = st_temp.split("Frontware:")
            st_temp = String(st_temp1[1])
            break;
         }
      }
      st_temp1 = st_temp.split("][")
      for (i_1=0;i_1<st_temp1.length;i_1++)
      {
         i_2 = st_temp1[i_1].indexOf(Keyword)
         if (i_2 >= 0)
         {            
           st_temp = st_temp1[i_1]
           st_temp1 = st_temp.split("::")
           st_ret = st_temp1[1]           
           break;
         }
      }
      return st_ret
   }   
//   ****************************************************************************
//   PARAMETERS IN : Keyword for cookies and value to setting in cookies
//   RETURN VALUE  : none
//   PURPOSE       : settvalue to cookies 
//   CALL FROM     : none
//   Creation Date : 1999/03/17 (KPO)
//   Modification  : Date          User  Comment							Version
//                    1999/03/18    KPO   modify to many value
//   ****************************************************************************
   function Setuse(Keyword,Value)
   {
     var st_temp
     var st_temp1
     var st_temp2
     var i_1
     var i_2
     st_temp = document.cookie
     st_temp1 = st_temp.split(";")
     i_2 = st_temp.indexOf("Frontware:")
     if (i_2 >= 0)
     {
      for (i_1=0;i_1<st_temp1.length;i_1++)
      {
         i_2 = st_temp1[i_1].indexOf("Frontware:")
         if (i_2 >= 0)
         {
           st_temp = st_temp1[i_1]
           break;
         }
      }
     }
     else
     {     
        st_temp = "Frontware:"
     }
     //
     st_temp1 = st_temp.split("Frontware:")     
     st_temp = st_temp1[1]
     st_temp1 = st_temp.split("][")
     st_temp = "Frontware:"
     i_2 = 0
     if (st_temp1.length > 1)
     {
       for (i_1=0;i_1<st_temp1.length;i_1++)
       {
          st_temp2 = st_temp1[i_1].split("::")          
          if (st_temp2[0] == Keyword)
          {
             st_temp += (Keyword+"::"+Value+"][")             
             i_2++
          }
          else
          { 
             if (st_temp1[i_1] != "") st_temp += (st_temp1[i_1]+"][")
          }
       }
     }
     if (i_2 == 0)
     {
        st_temp += (Keyword+"::"+Value)+"]["
     }
     document.cookie = st_temp + ";expires=Sun, 31 Jan 2100 23:59:59 UTC;path=/"
   }
