Rotating around cursor?

I have some how messed up and now every thing rotates around the cursor. How can I rotate around the object origin again.

press comma

thank you:spin: