// JavaScript Document

function generateRandom(theMin, theMax){
	var my_num=Math.random();
	var theRange = theMax - theMin;

	//alert(theMin + Math.floor(my_num*theRange));

	return theMin + Math.floor(my_num*theRange);
}
