$(document).ready(function() {
    
  $('.imagelist a').fancybox({
      titlePosition: 'inside',
      'overlayShow': true,
      'hideOnContentClick': true,
      onStart: function () { $('#film').css('visibility','hidden'); },
      onClosed: function () { $('#film').css('visibility','visible'); }
  });
  
  $('#about-small dd a').click( function() {
    $('#about-small, #who-full, #service-full').css('display','none');
    $('#about-full, #who-small, #service-small').css('display','block');
    return false;
  } );
  $('#who-small dd a').click( function() {
    $('#about-full, #who-small, #service-full').css('display','none');
    $('#about-small, #who-full, #service-small').css('display','block');
    return false;
  } );
  $('#service-small dd a').click( function() {
    $('#about-full, #who-full, #service-small').css('display','none');
    $('#about-small, #who-small, #service-full').css('display','block');
    return false;
  } );
  
  $('#clients-small a').click( function() {
    $('#clients-small, #awards-full').css('display','none');
    $('#clients-full, #awards-small').css('display','block');
    return false;
  } );
  $('#awards-small a').click( function() {
    $('#clients-full, #awards-small').css('display','none');
    $('#clients-small, #awards-full').css('display','block');
    return false;
  } );
  
  // Formulare
  $('html[lang=en] input#f_email[value=]').attr('value','your email:');
  $('html[lang=en] input#f_email').blur( function() { if(this.value=='') { this.value='your email:'; } } ).focus( function () { if(this.value=='your email:') { this.value=''; } } );
  $('html[lang=en] input#f_name[value=]').attr('value','your name:');
  $('html[lang=en] input#f_name').blur( function() { if(this.value=='') { this.value='your name:'; } } ).focus( function () { if(this.value=='your name:') { this.value=''; } } );
  $('html[lang=en] textarea#f_message').text('your message:');
  if ($.browser.msie) {
      $('html[lang=en] textarea#f_message').blur( function() { if($(this).text()=='') { $(this).text('your message:'); } } ).focus( function () { if($(this).text() == 'your message:') { $(this).text(''); } } );
  } else {
      $('html[lang=en] textarea#f_message').blur( function() { if(this.value=='') { this.value='your message:'; } } ).focus( function () { if(this.value=='your message:') { this.value=''; } } );
  }
});