if ( !tableAttributes.isDefined( Attribute.BORDER.toString() ) )
{
att.addAttribute( Attribute.BORDER, ( grid ? "1" : "0" ) );
}
att.addAttributes( tableAttributes );
tableAttributes.removeAttributes( tableAttributes );
writeStartTag( TABLE, att );
}