Bug 168305 IsHostPage doesn't work for birt:report tag.[0603]
viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/taglib/ReportTag.java
int end = content.toLowerCase( ).indexOf( "</style>", start ); 
			style = style + content.substring( start + 1, end ) + "\n"; 
		}
		
		style = style.replaceAll( ".style", ".style" + viewer.getId( ) ); 
		style = "<style type=\"text/css\">\n" + style + "\n</style>\n"; 
		return style;
	}
	/**
	 * Returns body style content
	 * 
	 * @param content
	 * @return
	 */
	protected String __handleBodyStyle( String content )
	{
		String bodyStyleId = BLANK_STRING;
		if ( content == null )
			return bodyStyleId;
		Pattern p = Pattern.compile( "<\\s*body([^\\>]*)\\>", 
				Pattern.CASE_INSENSITIVE );
		Matcher m = p.matcher( content );
		if ( m.find( ) )
		{
			for ( int i = 1; i < m.groupCount( ) + 1; i++ )
			{
				String group = m.group( i );
				if ( group == null )
					continue;
				Pattern pl = Pattern.compile( "class\\s*=\\s*\"([^\"]+)\"",