Difference between ICR1 and OCR1A - in Fast PWM?

Hello westfw,
One more question : How did you decide the OCRA and OCRB values - the 7 and 3 in first case and 127 and 63 in the second? Are there any calculations involved?

Best,
A