Pivot Point Problems

Suddenly actions I try to do (scaling, extruding, etc.) no longer center on my selected vertices. They now center on my 3D cursor. How can I fix that? Shift S and selecting any of the options in the drop down menu do nothing to fix the problem. Anyone know how I can fix this?

pressing the . button scales from 3d cursor, the comma button scales from the pivot point.

There is a drop down menu on the bottom bar which you can change the scaling point aswell.

Thanks, doublebishop, that did it!