jQuery(document).ready(function() {                
	if(jQuery.browser.mozilla) {
		jQuery('form.cmxform').hide().find('label:not(.nocmx)').each(function(){
			var $labelContent = jQuery(this).html();
			var $labelWidth = jQuery(this).css('width');
			jQuery(this).empty();
			jQuery(this).append('<span style="display: block; width: '+$labelWidth+';">');
			jQuery(this).prepend('</span>');
			jQuery(this).css('display', '-moz-inline-box');
			jQuery(this).find('span').html($labelContent);
			jQuery('form.cmxform').show();
		});
	};             
});

