/*    function szakoBoxBeallit(szama)
    {
        var i, b1id, b2id, b1os, b2os
        for(i = 0; i<=szama; i+=2 )
        {   b1id = document.getElementById('szako_box_'+i)
            b2id = document.getElementById('szako_box_'+(i+1))
            b1os = b1id.offsetHeight
            b2os = b2id.offsetHeight
            if (b1os > b2os)  b2id.style.height = b1os + 'px'
            else  b1id.style.height = b2os + 'px' 
        }
    }
*/
    function szakoBoxBeallit(szama)
    {
        var i, akt
        var maxH = 0;
        for(i = 0; i<=szama; i++ )
        {   akt = document.getElementById('szako_box_'+i).offsetHeight
            if(akt > maxH) maxH = akt
        }
        for(i = 0; i<=szama; i++ )
        {   akt = document.getElementById('szako_box_'+i)
            akt.style.height = maxH + 'px' 
        }
    }

    function szoFormBeallit(id,uid) 
    {   //alert(id+','+uid)
        var selId = document.getElementById('select_terulet_'+id)
        selId.selected=true
        selId = document.getElementById('select_szakorvos_'+uid)
        selId.selected=true
    }

