Thoth is clearly the Sumerian god Nin.Gish.Zi.Da, 'lord of the artifact of life'. He is a somewhat enigmatic deity, affiliated with the family of Enki, who I believe is his father, making him a brother of Marduk, Nergal, and Dumuzi. He is the master architect and scribe, and thus played a crucial role in the design and orientation of temples and ziggurats. Mark Paonessa