SWin,
var NumArray = [ 1, 2, 3, 4, 5];
var array = [], counter = NumArray.length-1, j;
for ( var z=counter; z>=0; z--)
{j = Math.floor(Math.random() * NumArray.length);
array.push(NumArray.splice(j, 1)[0]);
};
var randomNumArray = array;
alert(randomNumArray);