var fDesc=new Array(); fDesc[0] = "Pyramid Solitaire is a single player card game where the objective is to remove all the cards from the table by matching pairs that equal thirteen. The value of the card is it's actual value. An Ace=1, a Two=2,...a Jack=11, Queen=12 and King=13. The King will be removed without a matching pair as a King equals thirteen by itself."; 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 = ''; } }