$(document).ready(function() {
   // $('body#index div.container').each(
   //     function() {
   //       var div = $('<div></div>').addClass('transparent').css( { width:$(this).width(), height:$(this).height(), opacity:0.15 });
   //       $(this).append(div);
   //     }); 
   //   
  $('div#menu1 ul ').webetui_pulldown({aniLen:200, hideDelay:500, slideUp:false});
  
  //$('body#index div#menubalk').css('opacity', 0.15);
  if($('div#webetui_toolbar').length == 0) {
    
    $('body#index div.intro').show();
    //$('body#index h2.doelgroep').css('opacity', 0);
    $('body#index div#kolom_rechts').hide();
    setTimeout(function() { 
      $('body#index div.intro').fadeOut(1500);
      //$('body#index h2.doelgroep').hide().css('opacity', 100).fadeIn(1500);
      $('body#index div#kolom_rechts').show();
    }, 2000);
  }

  // Expand functie, prikbord reactie
  $('h2.reactie').click( function(){
    $(this).next('div.expand').slideToggle();
    return false;
  });
  
  $('div.reactie').click( function() {
    var html = $(this).html();
    var message = $('<div class="message"/>').html(html);
    $('<div class="zoomin"/>').append(message).appendTo('#page').click(function() {
      $(this).remove();
    });    
  });

  $('tr:even, div.reactie:even').addClass('even');

});



