Both of these can be developed. I bought the course on perfect pitch several years ago but have not taken the time to apply it.

My son in Nashville has as close to perfect pitch as anyone I know. I did not buy the relative pitch course.
My son ripped this course to his Ipod.
Here is the link on perfect pitch for all you musicians to enjoy.
http://www.perfectpitch.com/chapter1.htm
For relative pitch click below
http://www.perfectpitch.com/relativepitch.htm
I think I finally got the link to work.