var fDesc=new Array(); fDesc[0] = "True Detective Solitaire is a cards game with a mystery theme. You are a detective who investigates the crimes by completing 120 solitaire game levels. Ultimately, you shall unlock all 12 locations of the misty town. You can make chains of cards, use bonuses and earn royal rewards."; 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 = ''; } }