function randomItem(items) {
   var max = items.length;
   var num = Math.floor((Math.random() * max));
   document.writeln(items[num]);
}
