function rollem() {
	diff = -1;
	numToPump = parseInt(getElementByID("pump").options[getElementByID("pump").selectedIndex].value);	
	if (getElementByID("c1").checked)
	{
		selected = getElementByID("reporter");
		diff = parseInt(situations[sit].reporter_diff);
	}
	if (getElementByID("c2").checked)
	{
		selected = getElementByID("chess");
		diff = parseInt(situations[sit].chess_diff);
	}
	if (getElementByID("c3").checked)
	{
		selected = getElementByID("martial");	
		diff = parseInt(situations[sit].martial_diff);

	}
	if (getElementByID("c4").checked)
	{
		selected = getElementByID("jeopardy");	
		diff = parseInt(situations[sit].jeopardy_diff);
	}
	if (diff == -1)

	{
		alert("Sorry, an error occured.");
		return false;
	}
	oppTot = 0;
	if (situations[sit].type != "beating a target number") {
		for (r=1; r < diff + 1 - damage; r++)
		{
			confRoll = rollDie();
			oppTot = oppTot + confRoll;
		}
		diff = oppTot;
	}	
	numDie = parseInt(selected.value);
	clearDice();

	totalToRoll = numDie + numToPump;
	tot = 0;
	for (i=1; i < totalToRoll + 1; i++)
	{
		tempDie = rollDie();
		findDieHolder ("dice" + i, tempDie);
	    tot = tot + tempDie;
	}
	res = getElementByID("res");
	getElementByID("dieTotal").value = tot;
	if (tot >= diff) {
		res.value = situations[sit].success_msg + "\n\n";
		res.value += "He beat " + situations[sit].type_msg + " of " + diff + ".\n\n";
		if (situations[sit].type != "full conflict")
		{
			success = true;
		} 
		else {
			damage += 1;
			if (diff-damage < 1)
			{
				success = true;
				triumph = true;
			}
			else {
				success = false;
			}
		}
	}
	else {
		res.value = situations[sit].fail_msg;
		res.value += "He failted to beat " + situations[sit].type_msg + " of " + diff + ".\n\n";
		selected.value = parseInt(selected.value) - 1;		
		success = false;
	}
	if (parseInt(numToPump) > 0) {
		res.value += "Plus John lost " + numToPump + " dice due to pumping the cliche.\n\n";
		selected.value = parseInt(selected.value) - parseInt(numToPump);
	}
	if (parseInt(selected.value) < 1) {
		res.value += situations[sit].over_msg;
		getElementByID("sit").value = "Game Over!";
		getElementByID("rollme").disabled = "true";
		alert("Game Over!");
	}
	res.value += "Risus roll type: " + situations[sit].type + "\n\n";	
	if (success)
	{
		if (triumph)
		{
			res.value += situations[sit].triumph_msg;
			getElementByID("rollme").disabled = "true";
			getElementByID("sit").value = "Game Over!";
			alert("Congratulations!  You've completed the sample.");
			alert("Game Over!");		
		} else
		{
			sit++;
			res.value += "On to the next situation!\n(see Situation box above)\n";
			buildSituation();
		}
	} else
	{
	 	if (situations[sit].type != "full conflict") {
	 		res.value += situations[sit].over_msg;
			getElementByID("rollme").disabled = "true";
			getElementByID("sit").value = "Game Over!";
			alert("Game Over!");
	 	}
	}
}