$(function(){

	// Start Page Grid
	$('#startgrid section:first-child').addClass("first-child");
	$('#startgrid section:nth-child(2n)').addClass("second-child");
	$('#startgrid section:nth-child(4n)').addClass("fourth-child");
	$('#startgrid section:nth-child(4n+1)').addClass("fifth-child");

	$("#startgrid section").each(function (i) {
		i = i+1;
		$(this).addClass("item"+i);
	});
	
	$("#startgrid section").hover(
		function(){ $(this).addClass('hover') },
		function(){ $(this).removeClass('hover') }
	);

	// Old table Fix
	$('table.font001 > tbody > tr:first-child td').addClass("first-child");
});
