var fDesc=new Array(); fDesc[0] = "Colored pieces are laid out on a game field. They form a symmetric pattern. After the beginning of party the pieces mix up chaotically. Your task to get a initial pattern. You can move a row or a column only. Any line of pieces are closed in a ring. It means, the pieces, getting out of a game field, will appear on the opposite side.
Using 'Editor', you can create any patterns."; function tShowHide(id, show) { var s = document.getElementById("desc"); if ((s.innerHTML.length<=212 || show==1) && show!=2) { s.innerHTML = fDesc[id]; if (document.getElementById('m1')) document.getElementById('m1').style.display='none'; if (document.getElementById('m2')) document.getElementById('m2').style.display='none'; if (document.getElementById('more_txt')) document.getElementById('more_txt').style.display='inline'; } else { s.innerHTML = ''; } }