function loadPage(){
	var timerID = null;
	
	function justify(){
		if (timerID){
			clearTimeout(timerID);
			timerID = null;
		};
		var dWidth = 0;
		var total = 0;
		jQuery("div#discipline a").each(function(){
			dWidth += jQuery(this).outerWidth();
			total++;
		});
		dWidth = jQuery("div#discipline").outerWidth()-dWidth;
		jQuery("div#discipline a").slice(0,(total-1)).css("marginRight",(dWidth/(total-1))+"px");
	};
	
	justify();
};

jQuery(window).load(loadPage);
