(function($){
	$.fn.fonectabox = function(){
		$(this).each(function(){
			var cols = $(this).find(".colbox");
			if($(cols).size() >= 1){
				var last = $(this).find(".colbox:last");
				var clearer = $(this).find(".clearer");
				var boxMargin = 9;
				var width = Math.floor(($(this).innerWidth() - (($(cols).size() - 1) * boxMargin)) / $(cols).size());
				
				$(cols).each(function(){
					$(this).width(width);
					$(this).css("margin-right", boxMargin + "px");
					$(this).show();
				});
				
				$(last).css("margin-right", "0");
				$(clearer).width(width - 10);
				$(clearer).height(1);
			}
		});
	}
})(jQuery);