// gotSix
// demonstrates if, conditions
// Andy Harris, 12/04
btnRoll.onRelease = function(){
//roll a die
die = Math.ceil(Math.random() * 6);
//check to see if it's a 6
if (die == 6){
output = "You got a six!";
} // end if
} // end roll