
  $(document).ready(function() {
    $('.spgImg a').lightBox({txtImage:'Afbeelding',txtOf:'v/d'});
    $('#content_right_image_big_facilitair a').lightBox({txtImage:'Afbeelding',txtOf:'v/d'});
    $('#content_right_image_big_catering a').lightBox({
      txtImage:'Afbeelding',txtOf:'v/d',
      imageLoading: 'images/lightbox-ico-loading-orange.gif',
      imageBtnClose: 'images/lightbox-btn-close-orange.gif',
      imageBtnPrev: 'images/lightbox-btn-prev-orange.gif',
      imageBtnNext: 'images/lightbox-btn-next-orange.gif'
    });
    
    $('#form_contactformulier').validate({errorPlacement: function() {return true}});
    
    $('#nieuws_items_container') 
    .cycle({ 
        fx: 'fade',
        speed:  'fast', 
        timeout: 0, 
        next:   '#nieuws_next', 
        prev:   '#nieuws_prev' 
    });
    
    $('.content_menu_container') 
    .cycle({ 
        fx: 'fade',
        speed:  'fast', 
        timeout: 0, 
        next:   '#content_menu_next', 
        prev:   '#content_menu_prev' 
    });
    
    $prevClass = "";
    
    $('#content_right_menu .thumb_clickable').click(function() {
      $('.thumb_border_image').hide();
      $('.thumb_border_image').removeClass('thumb_border_image_first');
      $('.content_right_image_big img').attr('src', $(this).attr('alt'));
      $('.content_right_image_big img').attr('title', $(this).attr('title'));
      $('.content_right_image_big a').attr('href', $(this).attr('alt').replace('_thumb2', '_ec'));
      $(this).prev('.thumb_border_image').show();
    });
    
  });
