function displayVerse(num) {
switch(num) {
case 0 : verse = "No more bottles of beer on the wall, ";
verse += "no more bottles of beer.";
verse += "
Go to the store and buy some more, "
verse += "99 bottles of beer on the wall.";
break;
case 1 : verse = num + " bottle of beer on the wall, ";
verse += num + " bottle of beer.";
verse += "
Take one down and pass it around, "
verse += "no more bottles of beer on the wall.";
break;
case 2 : verse = num + " bottles of beer on the wall, ";
verse += num + " bottles of beer.";
verse += "
Take one down and pass it around, ";
verse += (num-1) + " bottle of beer on the wall.";
break;
default : verse = num + " bottles of beer on the wall, ";
verse += num + " bottles of beer.";
verse += "
Take one down and pass it around, ";
verse += (num-1) + " bottles of beer on the wall.";
break;
}
$("body").prepend("