//100% RJC original code

//let people click on the background of links at the top
function setBackgroundClick(itemid){
   cell = document.getElementById(itemid);
   cell.className = "menuclick";
   return true;
}

//colour background on hover (redundant in browsers that support .classname:hover) [1]
function setBackground(itemid){
   cell = document.getElementById(itemid);
   cell.className = "menuhighlighted";
   return true;
}

//uncolour background on unhover (redundant in browsers that support .classname:hover) [1]
function unsetBackground(itemid,color1){
   cell = document.getElementById(itemid);
   if(cell.id.indexOf ("current") != -1){
     cell.className = "menuselected";
   }else{
     cell.className = "menu";
   }
   return true;
}

//footnotes
///[1] browser support for hover methods
///Internet Explorer 6
/// Javascript - Flawless
///        CSS - doesn't work at all
///Firefox 1.02, Mozilla 1.4.4, Konqueror 3.2, Opera 8
/// JavaScript - flawless
///        CSS - flawless (i.e. same as JavaScript version)
///Konqueror 3.1.3 
/// JavaScript - Doesn't reset text colour to black on unhover(unsetBackground) + ocassional artifacts on background colour changes
///        CSS - Almost but changing of text colour to white only happens on hover over actual text
