public static int getPriorityId(String a_sName)
     {
          if(a_sName.equalsIgnoreCase("Future Release"))
          {
               return ToodleDoTask.PRIORITY_LOW;     
          }
          else if(a_sName.equalsIgnoreCase("Critical"))
          {
               return ToodleDoTask.PRIORITY_TOP;     
          }
          else if(a_sName.equalsIgnoreCase("Flyup"))
          {
               return ToodleDoTask.PRIORITY_TOP;     
          }
          else if(a_sName.equalsIgnoreCase("High"))
          {
               return ToodleDoTask.PRIORITY_HIGH;     
          }
          else if(a_sName.equalsIgnoreCase("Medium"))
          {
               return ToodleDoTask.PRIORITY_MEDIUM;
          }
          else if(a_sName.equalsIgnoreCase("Low"))
          {
               return ToodleDoTask.PRIORITY_LOW;    
          }
          else 
          {
               return ToodleDoTask.PRIORITY_LOW;     
          }
     }