jQuery(function() {
	jQuery("#topmenu a").each(function() {
	m_height = jQuery(this).height();
	pad1 = (50 - m_height) / 2;
	m_width = jQuery(this).width();
	pad2 = (150 - m_width) / 2;
	jQuery(this).css({ 
			"padding-top" : pad1,
			"padding-bottom" : pad1 + 1,
			"padding-left" : pad2,
			"padding-right" : pad2
		});
	});
});
