window.addEvent('load',function()
{
    Exo_Fontsize.startup('fontsize');

    if($('meeting_point'))
    {
        setSameThemeHeight();
    }
});

function setSameThemeHeight()
{
    if($('meeting_point'))
    {
        var mpThemaHeight0=0;
        var mpThemaHeight1=0;
        $$('#meeting_point .thema').setStyle('height','auto');
        $$('#meeting_point .thema').each(function(item,index)
        {
            if(index%2==0)
            {
                mpThemaHeight0 = item.getSize().size.y;
            }
            else
            {
                mpThemaHeight1 = item.getSize().size.y;

                if(mpThemaHeight0>=mpThemaHeight1)
                {
                    $$('#meeting_point .thema')[index].setStyle('height',(mpThemaHeight0-21)+'px');
                }
                else
                {
                    $$('#meeting_point .thema')[index-1].setStyle('height',(mpThemaHeight1-21)+'px');
                }
            }
        });
    }
}
function collapse(id)
{
	//document.cookie = id + "=none";	
	document.getElementById(id).style.display = 'none';
}
function expand(id)
{
	//document.cookie = id + "=block";	
	document.getElementById(id).style.display = 'block';
}

