hi, wow...I go in to see the doc for something very similar this Fri. I danced all through my second pregnancy, and waited about 4 weeks to start stretchy warm-ups and 6 weeks until going to class.
good luck with the surgery...if you don't mind i'd like to hear details about what the procedure entails...
