var fDesc=new Array();
fDesc[0] = "This programs solves existing Hitori puzzles as well as creates new ones. Hitori is mathematical game where a square grid is filled with numbers. Some numbers in a row or a column are duplicated. The object of the game is to locate these duplicates and mark them blank, given the following three rules:
-Numbers may never appear more than once in each row or column
-Black cells are never adjacent in a row or a column
-Empty cells create a single continuous area, undivided by black cells
-This program has a puzzle size limitation of maximum 17 rows and 17 columns.";
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 = '';
}
}