var fDesc=new Array(); fDesc[0] = "This software offers a solution to users who want to create custom random dice to roll. You can create any type of dice, coin or even random event. Some examples are classic 6-sided dice, a 20-sided dice, a coin, even rock-paper-scissors or pulling a name from a hat. You can input the number of times to roll and how many dice to hold in your hand while rolling. The results can be saved to file, to Excel or to the clipboard. By generating random data instantly, this software will save you hours of time that you may have spent rolling a physical die or sampling over-and-over again from a source."; 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 = ''; } }