jQuery(document).ready(function() {
	jQuery('.contenttable, .htmlarea-showtableborders').removeAttr('style');
	jQuery('.contenttable, .htmlarea-showtableborders').removeAttr('width');
	jQuery('.contenttable, .htmlarea-showtableborders').removeAttr('cellspacing');
	jQuery('.contenttable, .htmlarea-showtableborders').removeAttr('cellpadding');
	jQuery('.contenttable, .htmlarea-showtableborders').removeAttr('border');
	jQuery('.contenttable td, .htmlarea-showtableborders td').removeAttr('style');
	jQuery('.contenttable td, .htmlarea-showtableborders td').removeAttr('width');
	jQuery('.contenttable td, .htmlarea-showtableborders td').removeAttr('height');
	jQuery('.contenttable tr, .htmlarea-showtableborders tr').removeAttr('height');
	jQuery('.contenttable tr, .htmlarea-showtableborders tr').removeAttr('style');
	
	jQuery('#visbody-59 .htmlarea-showtableborders tr').each(function() {
		jQuery( this ).find('td:eq(0)').css('border-bottom-width', '0px');
		jQuery( this ).find('td:eq(0), td:eq(0) p').css('padding', '0px');
		jQuery( this ).find('td:eq(0)').css('border-right-width', '0px');
		jQuery( this ).find('td:eq(0) p').css('padding', '8px 4px');
		jQuery( this ).find('td:eq(0) p').css('text-align', 'center');
		if( jQuery( this ).find('td:eq(0)').text != '' ) {
			jQuery( this ).find('td:eq(0) p').css('background-color', '#CCCCCC');
		} else {
			//jQuery( this ).find('td:eq(0)').html('&nbsp;');
		}
	});
});
