it's possible that it is the pill. i was prescribed it a while back & i was told by my doctor that one of the possible side effects is leg cramps, although i haven't actually started taking it yet so can't comment on whether or not it's affected me. i know one of my friends had the same issue though - she used to get really bad leg cramps after she started the pill but they're not as bad now that she's come off it.

if not then it could just be down to your diet - a lack of potassium/water can cause leg cramps too. if i were you i'd try eating some more foods which are high in potassium (richie's right, bananas should help!!) and make sure you're getting enough water, then if you're still getting cramps in a few weeks time go back to the doctors.