Sound button help

Im new at actionscript… I want to know the actionscript to place in a button that is used like the sound button at www.idigitalemotion.com where one click and its on and one click and its off.