$(document).ready(function() {
 // hides the slickbox as soon as the DOM is ready (a little sooner that page load)
  $('#newsletter').hide();
  
 // shows and hides and toggles the slickbox on click  
  $('#newsletter-show').click(function() {
    $('#newsletter').show('slow');
    return false;
  });
  $('#newsletter-hide').click(function() {
    $('#newsletter').hide('fast');
    return false;
  });
  $('#newsletter-toggle').click(function() {
    $('#newsletter').toggle(400);
    return false;
  });

 // slides down, up, and toggle the slickbox on click    
  $('#newsletter-down').click(function() {
    $('#newsletter').slideDown('slow');
    return false;
  });
  $('#newsletter-up').click(function() {
    $('#newsletter').slideUp('fast');
    return false;
  });
  $('#newsletter-slidetoggle').click(function() {
    $('#newsletter').slideToggle(400);
    return false;
  });
  
  // hides the slickbox as soon as the DOM is ready (a little sooner that page load)
  $('#news_center').hide();
  
 // shows and hides and toggles the slickbox on click  
  $('#news_center-show').click(function() {
    $('#news_center').show('slow');
    return false;
  });
  $('#news_center-hide').click(function() {
    $('#news_center').hide('fast');
    return false;
  });
  $('#news_center-toggle').click(function() {
    $('#news_center').toggle(400);
    return false;
  });

 // slides down, up, and toggle the slickbox on click    
  $('#news_center-down').click(function() {
    $('#news_center').slideDown('slow');
    return false;
  });
  $('#news_center-up').click(function() {
    $('#news_center').slideUp('fast');
    return false;
  });
  $('#news_center-slidetoggle').click(function() {
    $('#news_center').slideToggle(400);
    return false;
  });
  
  // hides the slickbox as soon as the DOM is ready (a little sooner that page load)
  $('#our_shops').hide();
  
 // shows and hides and toggles the slickbox on click  
  $('#our_shops-show').click(function() {
    $('#our_shops').show('slow');
    return false;
  });
  $('#our_shops-hide').click(function() {
    $('#our_shops').hide('fast');
    return false;
  });
  $('#our_shops-toggle').click(function() {
    $('#our_shops').toggle(400);
    return false;
  });

 // slides down, up, and toggle the slickbox on click    
  $('#our_shops-down').click(function() {
    $('#our_shops').slideDown('slow');
    return false;
  });
  $('#our_shops-up').click(function() {
    $('#our_shops').slideUp('fast');
    return false;
  });
  $('#our_shops-slidetoggle').click(function() {
    $('#our_shops').slideToggle(400);
    return false;
  });
  
  // hides the slickbox as soon as the DOM is ready (a little sooner that page load)
  //$('#neprehlednete').hide();
  
 // shows and hides and toggles the slickbox on click  
  $('#neprehlednete-show').click(function() {
    $('#neprehlednete').show('slow');
    return false;
  });
  $('#neprehlednete-hide').click(function() {
    $('#neprehlednete').hide('fast');
    return false;
  });
  $('#neprehlednete-toggle').click(function() {
    $('#neprehlednete').toggle(400);
    return false;
  });

 // slides down, up, and toggle the slickbox on click    
  $('#neprehlednete-down').click(function() {
    $('#neprehlednete').slideDown('slow');
    return false;
  });
  $('#neprehlednete-up').click(function() {
    $('#neprehlednete').slideUp('fast');
    return false;
  });
  $('#neprehlednete-slidetoggle').click(function() {
    $('#neprehlednete').slideToggle(400);
    return false;
  });
  
  // hides the slickbox as soon as the DOM is ready (a little sooner that page load)
  $('#mapa_obchodu').hide();
  // shows and hides and toggles the slickbox on click  
  $('#mapa_obchodu-show').click(function() {
    $('#mapa_obchodu').show('slow');
    return false;
  });
  $('#mapa_obchodu-hide').click(function() {
    $('#mapa_obchodu').hide('fast');
    return false;
  });
  $('#mapa_obchodu-toggle').click(function() {
    $('#mapa_obchodu').toggle(400);
    return false;
  });

 // slides down, up, and toggle the slickbox on click    
  $('#mapa_obchodu-down').click(function() {
    $('#mapa_obchodu').slideDown('slow');
    return false;
  });
  $('#mapa_obchodu-up').click(function() {
    $('#mapa_obchodu').slideUp('fast');
    return false;
  });
  $('#mapa_obchodu-slidetoggle').click(function() {
    $('#mapa_obchodu').slideToggle(400);
    return false;
  });
  
  // hides the slickbox as soon as the DOM is ready (a little sooner that page load)
  //$('#oteviraci_doba').hide();
  // shows and hides and toggles the slickbox on click  
  $('#oteviraci_doba-show').click(function() {
    $('#oteviraci_doba').show('slow');
    return false;
  });
  $('#oteviraci_doba-hide').click(function() {
    $('#oteviraci_doba').hide('fast');
    return false;
  });
  $('#oteviraci_doba-toggle').click(function() {
    $('#oteviraci_doba').toggle(400);
    return false;
  });

 // slides down, up, and toggle the slickbox on click    
  $('#oteviraci_doba-down').click(function() {
    $('#oteviraci_doba').slideDown('slow');
    return false;
  });
  $('#oteviraci_doba-up').click(function() {
    $('#oteviraci_doba').slideUp('fast');
    return false;
  });
  $('#oteviraci_doba-slidetoggle').click(function() {
    $('#oteviraci_doba').slideToggle(400);
    return false;
  });
  
  // hides the slickbox as soon as the DOM is ready (a little sooner that page load)
  //$('#oblibene').hide();
  // shows and hides and toggles the slickbox on click  
  $('#oblibene-show').click(function() {
    $('#oblibene').show('slow');
    return false;
  });
  $('#oblibene-hide').click(function() {
    $('#oblibene').hide('fast');
    return false;
  });
  $('#oblibene-toggle').click(function() {
    $('#oblibene').toggle(400);
    return false;
  });

 // slides down, up, and toggle the slickbox on click    
  $('#oblibene-down').click(function() {
    $('#oblibene').slideDown('slow');
    return false;
  });
  $('#oblibene-up').click(function() {
    $('#oblibene').slideUp('fast');
    return false;
  });
  $('#oblibene-slidetoggle').click(function() {
    $('#oblibene').slideToggle(400);
    return false;
  });
  
  // hides the slickbox as soon as the DOM is ready (a little sooner that page load)
  //$('#nejblizsi_akce').hide();
  // shows and hides and toggles the slickbox on click  
  $('#nejblizsi_akce-show').click(function() {
    $('#nejblizsi_akce').show('slow');
    return false;
  });
  $('#nejblizsi_akce-hide').click(function() {
    $('#nejblizsi_akce').hide('fast');
    return false;
  });
  $('#nejblizsi_akce-toggle').click(function() {
    $('#nejblizsi_akce').toggle(400);
    return false;
  });

 // slides down, up, and toggle the slickbox on click    
  $('#nejblizsi_akce-down').click(function() {
    $('#nejblizsi_akce').slideDown('slow');
    return false;
  });
  $('#nejblizsi_akce-up').click(function() {
    $('#nejblizsi_akce').slideUp('fast');
    return false;
  });
  $('#nejblizsi_akce-slidetoggle').click(function() {
    $('#nejblizsi_akce').slideToggle(400);
    return false;
  });
  
  // hides the slickbox as soon as the DOM is ready (a little sooner that page load)
  //$('#co_se_deje').hide();
  // shows and hides and toggles the slickbox on click  
  $('#co_se_deje-show').click(function() {
    $('#co_se_deje').show('slow');
    return false;
  });
  $('#co_se_deje-hide').click(function() {
    $('#co_se_deje').hide('fast');
    return false;
  });
  $('#co_se_deje-toggle').click(function() {
    $('#co_se_deje').toggle(400);
    return false;
  });

 // slides down, up, and toggle the slickbox on click    
  $('#co_se_deje-down').click(function() {
    $('#co_se_deje').slideDown('slow');
    return false;
  });
  $('#co_se_deje-up').click(function() {
    $('#co_se_deje').slideUp('fast');
    return false;
  });
  $('#co_se_deje-slidetoggle').click(function() {
    $('#co_se_deje').slideToggle(400);
    return false;
  });
  
  // hides the slickbox as soon as the DOM is ready (a little sooner that page load)
  //$('#top_akce').hide();
  // shows and hides and toggles the slickbox on click  
  $('#top_akce-show').click(function() {
    $('#top_akce').show('slow');
    return false;
  });
  $('#top_akce-hide').click(function() {
    $('#top_akce').hide('fast');
    return false;
  });
  $('#top_akce-toggle').click(function() {
    $('#top_akce').toggle(400);
    return false;
  });

 // slides down, up, and toggle the slickbox on click    
  $('#top_akce-down').click(function() {
    $('#top_akce').slideDown('slow');
    return false;
  });
  $('#top_akce-up').click(function() {
    $('#top_akce').slideUp('fast');
    return false;
  });
  $('#top_akce-slidetoggle').click(function() {
    $('#top_akce').slideToggle(400);
    return false;
  });
  
  // hides the slickbox as soon as the DOM is ready (a little sooner that page load)
  $('#akce').hide();
  // shows and hides and toggles the slickbox on click  
  $('#akce-show').click(function() {
    $('#akce').show('slow');
    return false;
  });
  $('#akce-hide').click(function() {
    $('#akce').hide('fast');
    return false;
  });
  $('#akce-toggle').click(function() {
    $('#akce').toggle(400);
    return false;
  });

 // slides down, up, and toggle the slickbox on click    
  $('#akce-down').click(function() {
    $('#akce').slideDown('slow');
    return false;
  });
  $('#akce-up').click(function() {
    $('#akce').slideUp('fast');
    return false;
  });
  $('#akce-slidetoggle').click(function() {
    $('#akce').slideToggle(400);
    return false;
  });
  
  // hides the slickbox as soon as the DOM is ready (a little sooner that page load)
  $('#archiv_akci').hide();
  // shows and hides and toggles the slickbox on click  
  $('#archiv_akci-show').click(function() {
    $('#archiv_akci').show('slow');
    return false;
  });
  $('#archiv_akci-hide').click(function() {
    $('#archiv_akci').hide('fast');
    return false;
  });
  $('#archiv_akci-toggle').click(function() {
    $('#archiv_akci').toggle(400);
    return false;
  });

 // slides down, up, and toggle the slickbox on click    
  $('#archiv_akci-down').click(function() {
    $('#archiv_akci').slideDown('slow');
    return false;
  });
  $('#archiv_akci-up').click(function() {
    $('#archiv_akci').slideUp('fast');
    return false;
  });
  $('#archiv_akci-slidetoggle').click(function() {
    $('#archiv_akci').slideToggle(400);
    return false;
  });
  
  // hides the slickbox as soon as the DOM is ready (a little sooner that page load)
  //$('#souvisejici_akce').hide();
  // shows and hides and toggles the slickbox on click  
  $('#souvisejici_akce-show').click(function() {
    $('#souvisejici_akce').show('slow');
    return false;
  });
  $('#souvisejici_akce-hide').click(function() {
    $('#souvisejici_akce').hide('fast');
    return false;
  });
  $('#souvisejici_akce-toggle').click(function() {
    $('#souvisejici_akce').toggle(400);
    return false;
  });

 // slides down, up, and toggle the slickbox on click    
  $('#souvisejici_akce-down').click(function() {
    $('#souvisejici_akce').slideDown('slow');
    return false;
  });
  $('#souvisejici_akce-up').click(function() {
    $('#souvisejici_akce').slideUp('fast');
    return false;
  });
  $('#souvisejici_akce-slidetoggle').click(function() {
    $('#souvisejici_akce').slideToggle(400);
    return false;
  });
  
  // hides the slickbox as soon as the DOM is ready (a little sooner that page load)
  //$('#vyhledavani_akce').hide();
  // shows and hides and toggles the slickbox on click  
  $('#vyhledavani_akce-show').click(function() {
    $('#vyhledavani_akce').show('slow');
    return false;
  });
  $('#vyhledavani_akce-hide').click(function() {
    $('#vyhledavani_akce').hide('fast');
    return false;
  });
  $('#vyhledavani_akce-toggle').click(function() {
    $('#vyhledavani_akce').toggle(400);
    return false;
  });

 // slides down, up, and toggle the slickbox on click    
  $('#vyhledavani_akce-down').click(function() {
    $('#vyhledavani_akce').slideDown('slow');
    return false;
  });
  $('#vyhledavani_akce-up').click(function() {
    $('#vyhledavani_akce').slideUp('fast');
    return false;
  });
  $('#vyhledavani_akce-slidetoggle').click(function() {
    $('#vyhledavani_akce').slideToggle(400);
    return false;
  });
  
  // hides the slickbox as soon as the DOM is ready (a little sooner that page load)
  $('#obchody_vypis').hide();
  // shows and hides and toggles the slickbox on click  
  $('#obchody_vypis-show').click(function() {
    $('#obchody_vypis').show('slow');
    return false;
  });
  $('#obchody_vypis-hide').click(function() {
    $('#obchody_vypis').hide('fast');
    return false;
  });
  $('#obchody_vypis-toggle').click(function() {
    $('#obchody_vypis').toggle(400);
    return false;
  });

 // slides down, up, and toggle the slickbox on click    
  $('#obchody_vypis-down').click(function() {
    $('#obchody_vypis').slideDown('slow');
    return false;
  });
  $('#obchody_vypis-up').click(function() {
    $('#obchody_vypis').slideUp('fast');
    return false;
  });
  $('#obchody_vypis-slidetoggle').click(function() {
    $('#obchody_vypis').slideToggle(400);
    return false;
  });
  
  // hides the slickbox as soon as the DOM is ready (a little sooner that page load)
  $('#obchody_detail').hide();
  // shows and hides and toggles the slickbox on click  
  $('#obchody_detail-show').click(function() {
    $('#obchody_detail').show('slow');
    return false;
  });
  $('#obchody_detail-hide').click(function() {
    $('#obchody_detail').hide('fast');
    return false;
  });
  $('#obchody_detail-toggle').click(function() {
    $('#obchody_detail').toggle(400);
    return false;
  });

 // slides down, up, and toggle the slickbox on click    
  $('#obchody_detail-down').click(function() {
    $('#obchody_detail').slideDown('slow');
    return false;
  });
  $('#obchody_detail-up').click(function() {
    $('#obchody_detail').slideUp('fast');
    return false;
  });
  $('#obchody_detail-slidetoggle').click(function() {
    $('#obchody_detail').slideToggle(400);
    return false;
  });
  
  // hides the slickbox as soon as the DOM is ready (a little sooner that page load)
  //('#souvisejici_obchody').hide();
  // shows and hides and toggles the slickbox on click  
  $('#souvisejici_obchody-show').click(function() {
    $('#souvisejici_obchody').show('slow');
    return false;
  });
  $('#souvisejici_obchody-hide').click(function() {
    $('#souvisejici_obchody').hide('fast');
    return false;
  });
  $('#souvisejici_obchody-toggle').click(function() {
    $('#souvisejici_obchody').toggle(400);
    return false;
  });

 // slides down, up, and toggle the slickbox on click    
  $('#souvisejici_obchody-down').click(function() {
    $('#souvisejici_obchody').slideDown('slow');
    return false;
  });
  $('#souvisejici_obchody-up').click(function() {
    $('#souvisejici_obchody').slideUp('fast');
    return false;
  });
  $('#souvisejici_obchody-slidetoggle').click(function() {
    $('#souvisejici_obchody').slideToggle(400);
    return false;
  });
  
  // hides the slickbox as soon as the DOM is ready (a little sooner that page load)
  $('#napsali_o_nas').hide();
  // shows and hides and toggles the slickbox on click  
  $('#napsali_o_nas-show').click(function() {
    $('#napsali_o_nas').show('slow');
    return false;
  });
  $('#napsali_o_nas-hide').click(function() {
    $('#napsali_o_nas').hide('fast');
    return false;
  });
  $('#napsali_o_nas-toggle').click(function() {
    $('#napsali_o_nas').toggle(400);
    return false;
  });

 // slides down, up, and toggle the slickbox on click    
  $('#napsali_o_nas-down').click(function() {
    $('#napsali_o_nas').slideDown('slow');
    return false;
  });
  $('#napsali_o_nas-up').click(function() {
    $('#napsali_o_nas').slideUp('fast');
    return false;
  });
  $('#napsali_o_nas-slidetoggle').click(function() {
    $('#napsali_o_nas').slideToggle(400);
    return false;
  });
  
  // hides the slickbox as soon as the DOM is ready (a little sooner that page load)
  $('#tiskove_zpravy').hide();
  // shows and hides and toggles the slickbox on click  
  $('#tiskove_zpravy-show').click(function() {
    $('#tiskove_zpravy').show('slow');
    return false;
  });
  $('#tiskove_zpravy-hide').click(function() {
    $('#tiskove_zpravy').hide('fast');
    return false;
  });
  $('#tiskove_zpravy-toggle').click(function() {
    $('#tiskove_zpravy').toggle(400);
    return false;
  });

 // slides down, up, and toggle the slickbox on click    
  $('#tiskove_zpravy-down').click(function() {
    $('#tiskove_zpravy').slideDown('slow');
    return false;
  });
  $('#tiskove_zpravy-up').click(function() {
    $('#tiskove_zpravy').slideUp('fast');
    return false;
  });
  $('#tiskove_zpravy-slidetoggle').click(function() {
    $('#tiskove_zpravy').slideToggle(400);
    return false;
  });
  
});

/*$(document).ready(function() {
  var pocet_divu = 0;
  
  for(i=0; i<25; i++)
  {
        if(document.getElementById('program'+i))
        {
            pocet_divu = pocet_divu + 1;
        }
  }
  
  for(i=0; i<pocet_divu; i++)
  {
          $('#program' + i).hide();
            //alert('#program' + i);
          $('#program' + i + '-slidetoggle').click(function() {
            $('#program' + i).slideToggle(400);
            return false;
          });
  }
});*/

$(document).ready(function() {
 
          $('#program0').hide();
            //alert('#program' + i);
          $('#program0-slidetoggle').click(function() {
            $('#program0').slideToggle(400);
            return false;
          });
          
          $('#program1').hide();
          jQuery('#mycarousel1').jcarousel();
            //alert('#program' + i);
          $('#program1-slidetoggle').click(function() {
            $('#program1').slideToggle(400);
            return false;
          });
          
          $('#program2').hide();
          jQuery('#mycarousel2').jcarousel();
            //alert('#program' + i);
          $('#program2-slidetoggle').click(function() {
            $('#program2').slideToggle(400);
            return false;
          });
          
          $('#program3').hide();
            //alert('#program' + i);
          $('#program3-slidetoggle').click(function() {
            $('#program3').slideToggle(400);
            return false;
          });
          
          $('#program4').hide();
            //alert('#program' + i);
          $('#program4-slidetoggle').click(function() {
            $('#program4').slideToggle(400);
            return false;
          });
          
          $('#program5').hide();
            //alert('#program' + i);
          $('#program5-slidetoggle').click(function() {
            $('#program5').slideToggle(400);
            return false;
          });
          
          $('#program6').hide();
            //alert('#program' + i);
          $('#program6-slidetoggle').click(function() {
            $('#program6').slideToggle(400);
            return false;
          });
          
          $('#program7').hide();
            //alert('#program' + i);
          $('#program7-slidetoggle').click(function() {
            $('#program7').slideToggle(400);
            return false;
          });
          
          $('#program8').hide();
            //alert('#program' + i);
          $('#program8-slidetoggle').click(function() {
            $('#program8').slideToggle(400);
            return false;
          });
          
          $('#program9').hide();
            //alert('#program' + i);
          $('#program9-slidetoggle').click(function() {
            $('#program9').slideToggle(400);
            return false;
          });
          
          $('#program11').hide();
            //alert('#program' + i);
          $('#program11-slidetoggle').click(function() {
            $('#program11').slideToggle(400);
            return false;
          });
          
          $('#program12').hide();
            //alert('#program' + i);
          $('#program12-slidetoggle').click(function() {
            $('#program12').slideToggle(400);
            return false;
          });
          
          $('#program13').hide();
            //alert('#program' + i);
          $('#program13-slidetoggle').click(function() {
            $('#program13').slideToggle(400);
            return false;
          });
          
          $('#program14').hide();
            //alert('#program' + i);
          $('#program14-slidetoggle').click(function() {
            $('#program14').slideToggle(400);
            return false;
          });
          
          $('#program15').hide();
            //alert('#program' + i);
          $('#program15-slidetoggle').click(function() {
            $('#program15').slideToggle(400);
            return false;
          });
          
          $('#program16').hide();
            //alert('#program' + i);
          $('#program16-slidetoggle').click(function() {
            $('#program16').slideToggle(400);
            return false;
          });
          
          $('#program17').hide();
            //alert('#program' + i);
          $('#program17-slidetoggle').click(function() {
            $('#program17').slideToggle(400);
            return false;
          });
          
          $('#program18').hide();
            //alert('#program' + i);
          $('#program18-slidetoggle').click(function() {
            $('#program18').slideToggle(400);
            return false;
          });
          
          $('#program19').hide();
            //alert('#program' + i);
          $('#program19-slidetoggle').click(function() {
            $('#program19').slideToggle(400);
            return false;
          });
  
});