var fDesc=new Array(); fDesc[0] = "JiPS: Jigsaw Ship Puzzles is a collection of classic jigsaw puzzle games where your goal is to restore precious treasures. Some time ago a brave and desperate adventurer spent his life collecting pieces of knowledge from all sides of the sailing world...but on the way to his beloved home, he was captured by pirates, who sliced his findings into pieces. Can you solve the puzzles and reveal priceless knowledge of impressive sailing warships?"; 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 = ''; } }