var fDesc=new Array(); fDesc[0] = "CalcuDoku (also known as kenken or K-Doku) is a mathematical puzzle game similar to Sudoku. The aim is to fill the squares with numbers so that a number isn't repeated in a row/column. The grids also feature a subdivision which much be filled in a manner to produce the same number using any mathematical operation. You can play this program online or in your desktop. The PC version also allows you to create a booklet of puzzles for printing."; 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 = ''; } }