var fDesc=new Array(); fDesc[0] = "In this game you will need to play darts with 501 points. The dartboard is divided into 20 areas with scores of 1 to 20, each area is further divided into 4 regions, the larger 2 regions score the same as the score for the area, the outer thin region scores 2 times as the area score, and the inner thin region scores 3 times as the area score. The bullseye (the red dot at the center) scores 50 points, the bull's ring (the green ring around the center) scores 25 points."; 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 = ''; } }