Zero out selected chanels in the graph editor

Can someone help me out? Is there a simple mel script that will take selected curves in the Graph Editor (namely the x and z chanels) and start them so that the zero frame rests on zero for its value as well? The rest of the frames would then be offset from the zero point of the first frame. Anyone? Also, would there be a way to do this task without having to enter the graph editor?

Thanks,

mike (the other one)