As far as anurans go, the gular fluttering that you likely have observed is used primarily for respiration. Anurans use both lungs and skin as surfaces for gas exchange, and the mouth is lined with numerous capillaries where gas exchange is possible. If you watch a frog for a while, you will notice a constant steady gular (throat) pumping action which is accomplished with the nares open, and the glottis closed, thereby pumping air into and out of the buccal (mouth) cavity. During this action, the lungs are filled with air, and as the carbon dioxide concentration increases, the glottis will eventually open to allow for the movement of these gases to flow from the lungs and then into the buccal cavity and back out of the nares, and fresh air is brought back into the lungs. This is possible by an exaggerated gular flutter (usually a single flex upward) which forces air back into the lungs, the glottis then closes, and the frog resumes the constant gular pumping action that it uses for cutaneous respiration. I believe this is what you may have been referring to, however as mentioned below, reproductive behaviors often employ the use of the gular region as well. Hope this helps.