Random increment

Hi guys,

I was wondering if anyobody could help me figuring out this thing.
I have this function:


MovieClip.prototype.cascade = function() {
	var nInterval:Number = 200;
	var c:Number = 0;
	delay_fx = function () {
		if (c<_global.nTotal) {
			with (eval("this.thumbnail_mc.card"+c)) {
				fadeIn();
			}
		} else {
			clearInterval(delay);
		}
		c++;
	};
	delay = setInterval(delay_fx, nInterval);
};

The function is later being called in a loop. What I would like to do is to have the variable ā€œcā€ to increment randomly from a value of 0 to a value stored in the global var nTotal without having any number repeat itself. Any hints would be greatly appreciated.

Thanks