function BoxHover(o,bHover,bKeepBG)
{
  function out(id)
  {
    var o = document.getElementById(id+"_top");
//    if (o) o.className = o.className.substr(0,o.className.indexOf(" "));
	if  ( o )	o.className	= "sidebarBoxGreyTop"
    o = document.getElementById(id+"_img0");
    if (o) o.style.display="";
    o = document.getElementById(id+"_img1");
    if (o) o.style.display="none";
    o = document.getElementById(id+"");
    if (o) o.style.backgroundPosition="0px 0px";
  }
  if (!window.out) window.out = out;
  if (bHover) {
    if (o.bHover == 2) return;
    o.bHover = bHover;
    if (o.timer) clearTimeout(o.timer);
    var id =o.id;
    o = document.getElementById(id+"_top");
//alert(o.className)
//    if(o) o.className += " hover";
	if  ( o )	o.className	= "sidebarBoxBlueTop"
    o = document.getElementById(id+"_img0");
    if (o) o.style.display="none";
    o = document.getElementById(id+"_img1");
    if (o) o.style.display="";
    o = document.getElementById(id+"");
    if (o && !bKeepBG) o.style.backgroundPosition="185px 0px";
  } else if (o.bHover != 2) o.timer = setTimeout("out('"+o.id+"')",10);
}

function BoxHover2(o,bHover,bKeepBG)
{
  function out(id)
  {
    var o = document.getElementById(id+"_top");
//    if (o) o.className = o.className.substr(0,o.className.indexOf(" "));
	if  ( o )	o.className	= "sidebarBoxGreyTop2"
    o = document.getElementById(id+"_img0");
    if (o) o.style.display="";
    o = document.getElementById(id+"_img1");
    if (o) o.style.display="none";
    o = document.getElementById(id+"");
    if (o) o.style.backgroundColor="#f7f7f7;";
  }
  if (!window.out) window.out = out;
  if (bHover) {
    if (o.bHover == 2) return;
    o.bHover = bHover;
    if (o.timer) clearTimeout(o.timer);
    var id =o.id;
    o = document.getElementById(id+"_top");
//alert(o.className)
//    if(o) o.className += " hover";
	if  ( o )	o.className	= "sidebarBoxBlueTop2"
    o = document.getElementById(id+"_img0");
    if (o) o.style.display="none";
    o = document.getElementById(id+"_img1");
    if (o) o.style.display="";
    o = document.getElementById(id+"");
    if (o && !bKeepBG) o.style.backgroundColor="#EDF6FB;";
  } else if (o.bHover != 2) o.timer = setTimeout("out('"+o.id+"')",10);
}