var rgb = new Array(25*3); var pos=0; function getPattern() { pos++; for (var i=0;i