function equalHeight(group) {
    tallest = 0;
    group.each(function() {
        thisHeight = $(this).height();
        if(thisHeight > tallest) {
            tallest = thisHeight;
        }
    });
    group.height(tallest);
}

$(document).ready(function() {

	$.ifixpng('/gfx/x.gif');
 	$('img[src$=.png],#header h1, #header h2, #header h3').ifixpng();

	equalHeight($("div.cols div.eq"));
	equalHeight($("div.cols div.eq2"));

	$('input#email').attr('autocomplete', 'off');

	$('#gallerydiv').jqm({ajax: '@href', trigger: 'a.gallery', overlay : '70'});

	$("a.submit").live( 'click', function() {
		$(this).closest('form').submit();
		return false;
	});

	$('.txt').focus(function () {
         $(this).removeClass('err');
    });


});


