// returns a number 1 - p_nDie
function fnRoll( p_nDie )
{
	return Math.floor( Math.random() * p_nDie ) + 1;
}
