document.observe('dom:loaded', function() {  
  if($('form-contact-wrapper')) {
    var button1 = $('link-contact-form');    
    var element1 = $('form-contact-wrapper');    
    button1.observe('click',function(event){
      Event.stop(event); // nezobrazí # v URL
      if(element1.visible()){          
        Effect.BlindUp($('form-contact-wrapper'),{ duration: 1 });                
      } else {
        Effect.BlindDown($('form-contact-wrapper'),{ duration: 1 });        
        setTimeout("document.getElementById('name').focus()", 1000);        
      }
    });    
  }    
});