Bug 142382 The id/iid are not associated with chart's containing table.
id/iid is still associated with <img> even after enable the vertical bar.
engine/org.eclipse.birt.report.engine.emitter.html/src/org/eclipse/birt/report/engine/emitter/html/HTMLReportEmitter.java
protected int bId = 0;
	protected String generateUniqueID( )
	{
		bId ++;
		return "AUTOGENBOOKMARK_" + bId;
	}
	
	**
	 * Add element to active ID list. Output type & iid to html.
	 * 
	 * @param content
	 *            the styled element content
	 *
	private void setActiveIDTypeIID( IContent content)
	{
		 If content is generated by LabelItemDesign or TemplateDesign,
		 ExtendedItemDesign, TableItemDesign
		 add it to active id list, and output type & iid to html
		Object genBy = content.getGenerateBy( );
		String type = null;
		genBy instanceof LabelItemDesign)
		{
			type = "LABEL";
		}
		else genBy instanceof TemplateDesign)
		{
			type = "TEMPLATE";
		}
		
		else if( genBy instanceof ExtendedItemDesign )
		{
			type = "EXTENDED" ;
		}
		else  genBy instanceof TableItemDesign )
		{
			type = "TABLE";
		}
		else genBy instanceof ListItemDesign)
		{
			type = "LIST";
		}
		type != null)
		{
			 I
			InstanceID iid = content.getInstanceID( );
			 active id
			ponentID = ( iid != null ) ? iid.getComponentID() : 0;
			exportElementID( content, content.getB( ), type, componentID );
			 type
			ttribute( "element_type", type );
			 iid != null )
			{
				ttribute( "iid", iid.toString( ) );
			}
		}
	}
	
	**
	 * Resize chart template and table template element.
	 * 
	 * @param content
	 *            the styled element content
	 *
	private void resizeTemplateElement( IContent content )
	{
			Object genBy = content.getGenerateBy( );
			if( genBy instanceof TemplateDesign )
			{
				TemplateDesign template = (TemplateDesign) genBy;
				
				String allowedType = template.getAllowedType( );
				 "ExtendedItem".equals(allowedType ) )
				{
					 Resize chart template element
					IStyle style = content.getStyle( );
					style.setProperty( IStyle.STYLE_CAN_SHRINK, IStyle.FALSE_VALUE );
					content.setW( new DimensionType( 3, DimensionType.UNITS_IN ) );
					content.setHeight( new DimensionType( 3, DimensionType.UNITS_IN ) );
				}
				else  "Table".equals(allowedType) )
				{
