Bug 120975 Provide option to disable the master page for HTML reports
viewer/org.eclipse.birt.report.viewer/src/org/eclipse/birt/report/viewer/utilities/WebViewer.java
/**
	 * Create web viewer url to run the report.
	 * 
	 * @param servletName servlet name to viewer report
	 * @param report report file name 
	 * @param format report format
	 * @return valid web viewer url
	 */
	private static String createURL( String servletName, String report, String format )
	{
		String encodedReportName = null;
		String encodedDocumentName = null;
		
		try
		{
			encodedReportName = URLEncoder.encode( report, "utf-8" ); 
		}
		catch ( UnsupportedEncodingException e )
		{
			
		}
		
		if ( encodedReportName != null && encodedReportName.length( ) > 0 )
		{
			encodedDocumentName = encodedReportName.substring( 0, encodedReportName.indexOf( ".") ) + ".rptdocument"; 
		}
		
		String locale = ViewerPlugin.getDefault( ).getPluginPreferences( ).getString( USER_LOCALE );
		String svgFlag = ViewerPlugin.getDefault( ).getPluginPreferences( ).getString( SVG_FLAG );
		boolean bSVGFlag = false;