function equalHeight(group) {
   tallest = 0;
   group.each(function() {
      thisHeight = jQuery(this).height();
      if(thisHeight > tallest) {
         tallest = thisHeight;
      }
   });
   group.height(tallest);
}
function prodPadding() {
	jQuery('.fourth .prod-thumb').each(function(){
		var t = jQuery(this);
		var timg = t.find('img');
		var difference = t.height() - timg.height();
		timg.css({marginTop: difference/2});
	});
}
function resizer( selectors, w ) {
 jQuery(selectors).each(function() {
	 var owidth = jQuery(this).attr('width'); var oheight = jQuery(this).attr('height');
			 var newH = (oheight * w / owidth);
			 jQuery(this).attr({
			 width: w,
			 height: newH
		});
	 });
}
function resizerH( selectors, h ) {
 jQuery(selectors).each(function() {
	var owidth = jQuery(this).attr('width');
	var oheight = jQuery(this).attr('height');
		var newW = (owidth * h / oheight);
			jQuery(this).attr({
			width: newW,
			height: h
		});
	});
}
