function getElement(eid) {
    if (document.all) {
        return document.all[eid];
    }
    else if (document.getElementById) {
        return document.getElementById(eid);
    }
}

function show(target, list)
 {
    var teams = ['first', 'youth'];
    for (t in teams)
    {
        t = teams[t]
        if (target == t)
        {
            getElement(list + '_' + t).style.display = 'inline';
        }
        else {
            getElement(list + '_' + t).style.display = 'none';
        }
    }
}
