function orden(ijk){ or=ijk aa1="" for (i=or.length; i>=1;i--) { h=Math.floor(Math.random()*i+1); aa1=aa1+or.charAt(h-1) if (h==1) { or=or.substr(1,or.length-1); } else { if (h==or.length) { or=or.substr(0,or.length-1); } else { or=or.substr(0,h-1)+or.substr(h,or.length-h); } } } return(aa1); }