var iCB = new Image();
var iCBhi = new Image();
iCB.src = 'images/buttoncb.gif';
iCBhi.src = 'images/buttoncbhi.gif';
var iNx = new Image();
var iNxhi = new Image();
iNx.src = 'images/next.gif';
iNxhi.src = 'images/nexthi.gif';
var iPv = new Image();
var iPvhi = new Image();
iPv.src = 'images/prev.gif';
iPvhi.src = 'images/prevhi.gif';
var iMn = new Image();
var iMnhi = new Image();
iMn.src = 'images/main.gif';
iMnhi.src = 'images/mainhi.gif';

function hiCB(id){
  document.getElementById(id).src = iCBhi.src;
}

function outCB(id){
  document.getElementById(id).src = iCB.src;
}

function hiNx(id){
  document.getElementById(id).src = iNxhi.src;
}

function outNx(id){
  document.getElementById(id).src = iNx.src;
}

function hiPv(id){
  document.getElementById(id).src = iPvhi.src;
}

function outPv(id){
  document.getElementById(id).src = iPv.src;
}

function hiMn(id){
  document.getElementById(id).src = iMnhi.src;
}

function outMn(id){
  document.getElementById(id).src = iMn.src;
}

function hiSr(obj){
  document.getElementById('o1').style.backgroundColor = '#ffffff';
  obj.style.backgroundColor = '#ccddff';
  obj.style.color = '#3269ff';
  obj.style.textDecoration = 'underline';
}

function outSr(obj){
  obj.style.backgroundColor = '#ffffff';
  obj.style.color = '#444444';
  obj.style.textDecoration = 'none';
}
