// JavaScript Document

//-> equal div heights
$(document).ready(function() {

(function($) {
   $.fn.equalHeights = function(minHeight, maxHeight) {
      tallest = (minHeight) ? minHeight : 0;
      this.each(function() {
         if($(this).height() > tallest) {
            tallest = $(this).height();
         }
      });
      if((maxHeight) && tallest > maxHeight) tallest = maxHeight;
      return this.each(function() {
         $(this).height(tallest).css("overflow","auto");
      });
   }
})(jQuery);

//$(".cl, .c, .cr").equalHeights();

});

function glry_f(pht) { document.getElementById('phtc').src = "./img/g/" + pht + ".jpg"; }
