Optional parameters

I have this function:


MovieClip.prototype.changeColor = function(mode, kl, kh, rl, rh, gl, gh, bl, bh) {
bla, bla, bla...
}

How can I make all parameters optional except the first one?

Thanks