

function rowOverEffect(object) {
  if (object.className == 'TableRow') object.className = 'TableRowOver';
}

function rowOutEffect(object) {
  if (object.className == 'TableRowOver') object.className = 'TableRow';
}

function rowOverEffect2(object) {
  if (object.className == 'TableRow2') object.className = 'TableRowOver2';
}

function rowOutEffect2(object) {
  if (object.className == 'TableRowOver2') object.className = 'TableRow2';
}

function setImage(aDoc, anImage, aSource)
{
    aDoc.images[anImage].src = aSource; 
}
    
function swapImage(anImage, aSource)
{
    document.images[anImage].src = aSource; 
}

function openPopup(aURL)
{
        aWin = window.open(aURL, 'wndStandard', 'width=480,height=480,toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,resizable=yes,directories=no,') ;
        aWin.focus();
}

function openPopup1(aURL)
{
        aWin = window.open(aURL, 'wndStandard', 'width=600,height=500,toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,resizable=yes,directories=no,') ;
        aWin.focus();
}

function openPopup2(aURL)
{
        aWin = window.open(aURL, 'wndStandard', 'width=600,height=600,toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,resizable=yes,directories=no,') ;
        aWin.focus();
}

function openPopup3(aURL)
{
        aWin = window.open(aURL, 'wndStandard', 'width=800,height=600,toolbar=yes,location=yes,status=no,menubar=no,scrollbars=yes,resizable=yes,directories=no,') ;
        aWin.focus();
}


function toggleBox(szDivID) {
  if (document.layers) { // NN4+
    if (document.layers[szDivID].visibility == 'visible') {
      document.layers[szDivID].visibility = "hide";
      document.layers[szDivID].display = "none";
      document.layers[szDivID+"SD"].fontWeight = "normal";
    } else {
      document.layers[szDivID].visibility = "show";
      document.layers[szDivID].display = "block";
      document.layers[szDivID+"SD"].fontWeight = "bold";
    }
  } else if (document.getElementById) { // gecko(NN6) + IE 5+
    var obj = document.getElementById(szDivID);
    var objSD = document.getElementById(szDivID+"SD");

    if (obj.style.visibility == 'visible') {
      obj.style.visibility = "hidden";
      obj.style.display = "none";
      objSD.style.fontWeight = "normal";
    } else {
      obj.style.visibility = "visible";
      obj.style.display = "block";
      objSD.style.fontWeight = "bold";
    }
  } else if (document.all) { // IE 4
    if (document.all[szDivID].style.visibility == 'visible') {
      document.all[szDivID].style.visibility = "hidden";
      document.all[szDivID].style.display = "none";
      document.all[szDivID+"SD"].style.fontWeight = "normal";
    } else {
      document.all[szDivID].style.visibility = "visible";
      document.all[szDivID].style.display = "block";
      document.all[szDivID+"SD"].style.fontWeight = "bold";
    }
  }
}

function openBox(szDivID) {
  if (document.layers) { // NN4+
      document.layers[szDivID].visibility = "show";
      document.layers[szDivID].display = "block";
      document.layers[szDivID+"SD"].fontWeight = "bold";
  } else if (document.getElementById) { // gecko(NN6) + IE 5+
    var obj = document.getElementById(szDivID);
    var objSD = document.getElementById(szDivID+"SD");
      obj.style.visibility = "visible";
      obj.style.display = "block";
      objSD.style.fontWeight = "bold";
  } else if (document.all) { // IE 4
      document.all[szDivID].style.visibility = "visible";
      document.all[szDivID].style.display = "block";
      document.all[szDivID+"SD"].style.fontWeight = "bold";
  }
}

function closeBox(szDivID) {
  if (document.layers) { // NN4+
      document.layers[szDivID].visibility = "hide";
      document.layers[szDivID].display = "none";
      document.layers[szDivID+"SD"].fontWeight = "normal";
  } else if (document.getElementById) { // gecko(NN6) + IE 5+
    var obj = document.getElementById(szDivID);
    var objSD = document.getElementById(szDivID+"SD");
      obj.style.visibility = "hidden";
      obj.style.display = "none";
      objSD.style.fontWeight = "normal";
  } else if (document.all) { // IE 4
      document.all[szDivID].style.visibility = "hidden";
      document.all[szDivID].style.display = "none";
      document.all[szDivID+"SD"].style.fontWeight = "normal";
  }
}
