function getE(id) { return document.getElementById(id); }

function openfolder(oLink)
{
    _div = oLink.parentNode.getElementsByTagName('DIV');
    classNaam = (_div[0].style.display == 'none') ? 'subfolders_open' : 'subfolders_closed';
    oLink.className = classNaam;
    _div[0].style.display =  (_div[0].style.display == 'none') ? '' : 'none';
    oLink.blur();
}

function setTD(row,overout)
{
    return;
    var _tds = row.getElementsByTagName('TD');

    for(var i= 0; i < _tds.length; i++)
    {
          if(overout == 'over')
          {
            _tds[i].style.backgroundColor = "#eff8fd";
            _tds[i].style.borderTopColor = "#d8f0fa";
            _tds[i].style.borderBottomColor = "#d8f0fa";
          }
          else
          {
            _tds[i].style.backgroundColor = "";
            _tds[i].style.borderTopColor = "";
            _tds[i].style.borderBottomColor = "";
          }
    }
}

var timeoutID;

function loadLytebox(id)
{
    if (typeof myLytebox != 'undefined') {
        // if the myLytebox object exists, start it up!
        myLytebox.start(document.getElementById(id),false,true);
    } else {
        // wait 1/10th of a second and attempt loading again...
        if (timeoutID) { clearTimeout(timeoutID); }
        timeoutID = setTimeout('loadLytebox("'+id+'")', 100);
    }
}