// JavaScript Document
function randomGen(num) {
   eval('randnum = Math.round(Math.random() * ' + num + ') + 1');
   return randnum
}
