Pendulum with Random Wind Effect

Hi… I have a pendulum that swings infinitely.
I’d like to set the maximum angle to a random amount to give it a sort of “blown by a random wind” effect. I’m not great at code, so I can’t figure out how to randomize “maxAngle” without making the animation jerky. Does anyone have any ideas on how to do this? Here is my code and FLA…

onClipEvent (load) {
	P = 1;
	maxAngle = 30;
	numOsc = 1;
onClipEvent (enterFrame) {
	setProperty(_parent.Pend, _rotation, (((Math.sin (numOsc*P))*(Math.pow (1, P))))*maxAngle);
	P = P + 0.16;