var fDesc=new Array(); fDesc[0] = "Pirate's Solitaire 2 is a card game with a pirate-theme. You have been selected by Her Majesty for an important mission suited only to the best of the best. Britain needs the help of pirates and your aim is to help the country take control of the vast greatness of the ocean."; 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 = ''; } }