var fDesc=new Array(); fDesc[0] = "Prism Dice is a versatile, configurable dice program for use while playing Prism or any other roleplaying game. Prism Dice gives you a page of eight buttons to set up as any kind of dice you can think of. Prism Dice supports the dice used in almost every roleplaying game: roll any number of any size of any type of dice, and modify dice and totals with adders and multipliers."; 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 = ''; } }