// This script retrieves a random colour from an array and returns the value to the caller.
// Written by Johnson Ng. webdsine@yahoo.ca
// http://members.shaw.ca/johnson.ng/
// January 17, 2006

function randRange(min, max) {
  var randomNum = Math.round(Math.random()*(max-min))+min;
  return randomNum;
}

function getcolor() {
var col = new Array();
/*
col[col.length] = "#ea3f38"; //5l
//col[col.length] = "#0474ca"; //5k bright blue
col[col.length] = "#e3b601"; //5j
col[col.length] = "#950564"; //5i
col[col.length] = "#dd6300"; //5h
col[col.length] = "#329602"; //5g
col[col.length] = "#8fa9c4"; //5f
col[col.length] = "#b3caae"; //5e
col[col.length] = "#ceddca"; //5d
col[col.length] = "#a64b50"; //5c
col[col.length] = "#1d6e34"; //5a
*/


col[col.length] = "#dd7a76"; //light red
col[col.length] = "#86b9e0"; //light blue
col[col.length] = "#edd989"; //light yellow
col[col.length] = "#c4719a"; //light purple
col[col.length] = "#90c377"; //light green

return "<style>body { background-color: " + col[randRange(0,col.length-1)] + ";}</style>";

}