function randomColor() {
 return 'rgb(' + (Math.floor(Math.random() * 256)) + ',' + (Math.floor(Math.random() * 256)) + ',' + (Math.floor(Math.random() * 256)) + ')';
}

// Create Random BG function
$.fn.randomBG = function() {
 $(this).each(function(){
  $(this).css('backgroundColor' , randomColor());
 });
}

$.fn.randomLink = function() {
 $(this).each(function(){
  $(this).css('color' , randomColor());
 });
}

$(function(){
 $('body, a, h2, h1, p, .jp-playlist ul').randomLink();
 $('body, p, .bottom, .jp-interface, .jp-playlist-player .jp-playlist li:hover, .jp-playlist ul').randomBG();
 
 $('a.trigger').click(function() {
  $('body, a, h2, h1, p, .jp-playlist ul').randomLink();
  $('body, p, .bottom, .jp-interface, .jp-playlist-player .jp-playlist li:hover, .jp-playlist ul').randomBG();
  return false
 });
});
