$(document).ready(function() {

	$("td.first div.bg_1").each(function() {
	  $(this).height ($(this).parents('td').height());
	});
	
	$("td.last div.bg_1").each(function() {
	  $(this).height ($(this).parents('td').height());
	});

});
