private Preferences InitPreferences(string tableName, Preferences pr)
 {
     if (pr == null)
     {
         pr = new Preferences(HttpContext);
         pr.SystemTableName = tableName;
         pr.InitSystemTable(tableName, false, false);
     }
     return pr;
 }