Play from different frames upon each new load

I’m interested in having my flash movie play at say, frame 50 and then if you refresh - it will again select a predefined (but randomly selected) frame to play from.

So, the order could be as follows:
Refresh - frame 50
Refresh - frame 150
Refresh - frame 150
Refresh - frame 300
Refresh - frame 50
Refresh - frame 100

and so on.

I’m not sure how to code this.

Thanks.