Bug 134944 Page footer displays in wrong place when preview in Web Viewer.
Description: Page footer displays in wrong place when preview in html. Steps to reproduce: 1. New sample source and dataset from customers. 2. Drag dataset to layout. 3. Insert content to master page footer. 4. Preview in web viewer Expected result: Page footer displays at the end of the report. Actual result: Page footer displayed in the middle of the report and overlapped with report body content.
engine/org.eclipse.birt.report.engine.emitter.html/src/org/eclipse/birt/report/engine/emitter/html/HTMLReportEmitter.java
ent)
	 *
	public void end( IReportContent report )
	{
		logger.log( Level.FINE, "[HTMLReportEmitter] End body." ); 
		 report != null )
		{
			List errors = report.getErrors( );
			 errors != null && !errors.isEmpty( ) )
			{
				outputErrors( errors );
			}
		}
		 !isEmbeddable )
		{
			writer.closeTag( HTMLTags.TAG_BODY );
			writer.closeTag( HTMLTags.TAG_HTML );
		}
		else
		{
			writer.closeTag( HTMLTags.TAG_DIV );
		}
		writer.endWriter( );
		writer.close( );
		 out != null )
		{
			try
			{
				out.close( );
			}
			catch ( IOException e )
			{
				logger.log( Level.WARNING, e.getMessage( ), e );
			}
		}
	}
	*** 
     * output the style of page headerfooterbody.
	 * In embedded HTML, we output the style as inline style, otherwise
     * use the style name as the "class"
	 * @param styleName name of the style
	 * @param style style object
	 *
	public void handlePageStyle( String styleName, IStyle style )
	{
		 isEmbeddable )
		{
			StringBuffer styleBuffer = new StringBuffer( );
			AttributeBuilder.buildStyle( styleBuffer, style, this );
			ttribute( HTMLTags.ATTR_STYLE, styleBuffer.toString( ) );
		}
		else
		{
			setStyleName( styleName );					
		}	
	}
	*
	 * (non-Javadoc)
	 * 
	 * @see org.eclipse.birt.report.engine.emitter.IContentEmitter#startPage(org.eclipse.birt.report.engine.content.IPageContent)
	 *
	public void startPage( IPageContent page )
	{
		pageNo++;
		
		 pageNo > 1 && outputMasterPageContent == false )
		{
			writer.openTag( "hr" );
			writer.closeTag( "hr" );
		}
		
		writer.openTag( HTMLTags.TAG_DIV );
			 pageNo > 1 )
			{
			ttribute( HTMLTags.ATTR_STYLE, "page-break-before: always;" );
		}
		
		 page != null )
		{
			 outputMasterPageContent )
			{
				
				writer.openTag( HTMLTags.TAG_DIV );		
				handlePageStyle( page.getPageHeader().getStyleClass( ), page.getPageHeader().getStyle( ) );
				
				contentVisitor.visitList( page.getHeader( ), null );
				
				
				writer.closeTag( HTMLTags.TAG_DIV );
			}
			}
		
		 
		writer.openTag( HTM