(function($) {	$.fn.equalHeight = function() {		var group = this;		$(window).bind('resize', function(){			var tallest = 0;			$(group).height('auto').each(function() {			tallest = Math.max(tallest, $(this).height());			}).height(tallest);		}).trigger('resize');	}})(jQuery)$(document).ready (	function()	{		$(".block1").equalHeight();		$(".block2").equalHeight();	});
