function showTussenTekst()
{
    if(window.activeTextShowing)
    {
        $$('#'+ this.getAttribute('container') +' .'+ activeTextShowing).each(function(item){
            Effect.DropOut(item, {afterFinish : function(item){
                item.effects.each(function(item){
                    item.hide()
                }); 
            }});
        });
    }
    
    $$('#'+ this.getAttribute('container') +' .'+ this.getAttribute('unique')).each(function(item){
        item.show();
    });
    activeTextShowing = this.getAttribute('unique');
}
function setSchuifTitels(container)
{
    var nodes = $$('#' + container + ' *');
    var nodesLength = nodes.length;
    
    for(var i=0; i < nodesLength; i++)
    {
        var nodeName = nodes[i].nodeName.toLowerCase();
        if(nodeName == 'h3')
        {
            var activeHeader = Math.round(Math.random()*10000000);
            $(nodes[i]).setAttribute('container', container);
            $(nodes[i]).setAttribute('unique', 'hide_' + activeHeader);
            $(nodes[i]).observe('click', showTussenTekst, 'boe')
        }
        else if(nodeName == 'p' && activeHeader)
        {
            nodes[i].className = 'hide_' + activeHeader;
            nodes[i].hide();
        }
    }
}