static public String LookupValue(ELEMENTS e, string dictRef)
        {
            listAtom atom = (listAtom)elements.atom[(int)e];

            foreach (object item in atom.Items)
            {
                if (item.GetType() == typeof(ChemInfo.listAtomScalar))
                {
                    listAtomScalar scalar = (listAtomScalar)item;
                    if (scalar.dictRef == dictRef)
                    {
                        return(scalar.Value);;
                    }
                }
                if (item.GetType() == typeof(ChemInfo.listAtomArray))
                {
                    listAtomArray array = (listAtomArray)item;
                    if (array.dictRef == dictRef)
                    {
                        return(array.Value);;
                    }
                }
            }
            listAtomLabel a = (listAtomLabel)((listAtom)elements.atom[(int)e]).Items[2];

            return("0");
        }
        static public string Name(ELEMENTS e)
        {
            listAtom      atom = (listAtom)elements.atom[(int)e];
            listAtomLabel a    = (listAtomLabel)((listAtom)elements.atom[(int)e]).Items[2];

            return(a.value);
        }