Programming keyboard buttons?

My old keyboard broke so I went down to the local store and got another one, when I got home I noticed that it didnt have the next/previous song buttons. Is there any way to program the other buttons to perform those functions?

I had a logitech something before it broke, now I got a logitech *some otherthing. *theyre running on the same driver too.

thanks!

yes, I am clueless.