function randOrd(){
    return (Math.round(Math.random())-0.5); 
}

var animal = new Array("bongo", "gnu", "rhino");
var number = new Array("one", "two", "three");

var die = new Array();

die[0] = "100_" + number[Math.floor(3*Math.random())]+"_yellow.png";
die[1] = "100_" + number[Math.floor(3*Math.random())]+"_yellow.png";

die[2] = "100_" + animal[Math.floor(3*Math.random())]+"_green.png";

die[3] = "100_" + animal[Math.floor(3*Math.random())]+"_red.png";
die[4] = "100_" + animal[Math.floor(3*Math.random())]+"_red.png";

die[5] = "100_" + animal[Math.floor(3*Math.random())]+"_wood.png";
die[6] = "100_" + animal[Math.floor(3*Math.random())]+"_wood.png";
die[7] = "100_" + animal[Math.floor(3*Math.random())]+"_wood.png";
die[8] = "100_" + animal[Math.floor(3*Math.random())]+"_wood.png";
die[9] = "100_" + animal[Math.floor(3*Math.random())]+"_wood.png";

var l = die.length;

i = Math.floor(10*Math.random());

die.sort(randOrd);

function showBongo(){
    for (i=0; i<l; i++) {
	document.write('<img src="'+die[i]+'">&thinsp;');
    }
}


