$(document).ready(
  function()
  {
    
    /* focusEmpty Elemente
    -  bei focus Feld leeren, sofern noch der Standardwert enthalten ist
    --------------------------------------------------------------------- */
    aFocusEmpty = Array();
    
    $('input.focusEmpty').each(function() {
      aFocusEmpty[$(this).attr('name')] = $(this).val();
    });
    
    
    $('input.focusEmpty').focus(
      function()
      {
        if ($(this).val() == aFocusEmpty[$(this).attr('name')]) {
          $(this).val('');
        }
      }
    ).blur(
      function()
      {
        if ($(this).val() == '') {
          $(this).val(aFocusEmpty[$(this).attr('name')]);
        }
      }
    );
    
    $('div.block').mouseenter(function() { $(this).addClass('blockActive');}).mouseleave( function() { $(this).removeClass('blockActive');});

$('a.fancybox').fancybox(
  {
    'transitionIn'    :    'elastic',
    'transitionOut'    :    'elastic',
    'speedIn'        :    400, 
    'speedOut'        :    150
  }
);
}
  );
