/* ===================== */
/* = CUSTOM JAVASCRIPT = */
/* ===================== */
// Any custom code that is required for the application
// should be written in this file.

      $(document).ready(function() {
       // hides the slickbox as soon as the DOM is ready
       // (a little sooner than page load)
        $('#showerinventory').hide();
        $('#bathinventory').hide();
        $('#sinkinventory').hide();
       // shows the slickbox on clicking the noted link  
        $('a#slick-show').click(function() {
          $('#slickbox').show('slow');
          return false;
        });
       // hides the slickbox on clicking the noted link  
        $('a#slick-hide').click(function() {
          $('#slickbox').hide('fast');
          return false;
        });
       
       // toggles the slickbox on clicking the noted link  
        $('a#slideshowerinventory').click(function() {
          $('#showerinventory').slideToggle('fast');
          return false;
        });
        $('a#slidebathinventory').click(function() {
          $('#bathinventory').slideToggle('fast');
          return false;
        });
        $('a#slidesinkinventory').click(function() {
          $('#sinkinventory').slideToggle('fast');
          return false;
        });
      });



