

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

jQuery(document).ready(function($) {
    
    if (jQuery.browser.msie && parseInt(jQuery.browser.version) <= 7) {
            
            equalHeight($(".equal_height"));
            $('#background').css('background','none');
            $('#background_top').remove();
            $('#background_bottom').remove();
    
    }
    // Code that uses jQuery's $ can follow here.
    
    
    $('form.searchbox img.button').live('click', function() {
        if ($('input.searchfield').val() == '') {
            alert('You need to type something to search for into the box.');
        } else {
            $('form.searchbox').submit();
        }
    });
    
    $('input.searchfield').focus(function() {
        if ($(this).val() == 'Search') $(this).val('');
    });
    
    
    
});

$(window).load(function() { equalHeight(jQuery(".equal_height")); });



