
function addOptions(obj,minVal,count,incrementVal,selected){
	var e = document.getElementById(obj.id);

	// create the options
	for(i=0,j=minVal;i<count;i++,j+=incrementVal){		
		e.options[i] = new Option(j,j);
		// set the default option
		if(selected != null && selected == j)	{
			e.options[i].selected = true;
		}
	}
}

