Random code doesn't work in Firefox, but ok in IE?

I have this code so my file randomly starts at frame 2 or 3.
In IE everthing’s fine, but in Firefox I just get a blank browser.
Just the same in Netscape.

 
function randRange(min, max){   
var randomNum= Math.round(Math.random()*(max-min))+min;   
return randomNum; } 
{     
var say; say = randRange(2,3); gotoAndStop(say); 
}

Can somebody help and tell me what’s wrong?