function featuresMenuClick(index) {
  for(i=1; i<=4; ++i) {
    document.getElementById('featuresMenu' + i).className = (i == index) ? 'featuresMenuHigh' : 'featuresMenuNorm';
    document.getElementById('features' + i).className = (i == index) ? 'show' : 'hide';
  }
}

function spotMenuClick(index) {
  for(i=1; i<=4; ++i) {
    document.getElementById('spotMenu' + i).className = (i == index) ? 'spotMenuHigh' : 'SpotMenuNorm';
    document.getElementById('spot' + i).className = (i == index) ? 'show' : 'hide';
  }
}

function mixitup() {
  var myArray = new Array()
    myArray[0] = 0
    myArray[1] = 1
    myArray[2] = 2
    myArray[3] = 3
    myArray[4] = 4
  var index =  Math.floor(Math.random()* myArray.length)

   //alert(index);

      if (index==0)
         { index= 1}

     for(i=1; i<=4; ++i) {
         document.getElementById('featuresMenu' + i).className = (i == index) ? 'featuresMenuHigh' : 'featuresMenuNorm';
         document.getElementById('features' + i).className = (i == index) ? 'show' : 'hide';
         
         document.getElementById('spotMenu' + i).className = (i == index) ? 'spotMenuHigh' : 'SpotMenuNorm';
         document.getElementById('spot' + i).className = (i == index) ? 'show' : 'hide';

         }

}