
// Highlight line of table
//-------------------------------------------
function LineHL(theRow, theAction,link)
{
    var theCells = null;
    var theDefaultColor;
    var thePointerColor;
    var theMarkColor;

    if(!theDefaultColor)  theDefaultColor = 'tbl_td';
    if(!thePointerColor)  thePointerColor = 'tbl_td_a';
    if(!theMarkColor)     theMarkColor    = 'tbl_td_c';

    theCells = theRow.getElementsByTagName('td');

    if ((theAction == 'over')&&(theRow.className != theMarkColor)){
      theRow.className = thePointerColor;
    }else if (theAction == 'out'){
      if(theRow.className == theMarkColor){
        theRow.className = theMarkColor;
      }else{
        theRow.className = theDefaultColor;
      };
    }else if (theAction == 'click'){
      document.location = link

    }
    return;

} // end of the 'LineHL'