+ "&__locale=" + LocaleTable.get(locale)
+ ( LocaleTable.containsKey( locale )? "&__locale=" + LocaleTable.get( locale ) : "" )
	private static String createURL( String servletName, String report, String format )	{		String encodedReportName = null;		String encodedDocumentName = null;				try		{			encodedReportName = URLEncoder.encode( report, "utf-8" ); //$NON-NLS-1$		}		catch ( UnsupportedEncodingException e )		{			// Do nothing		}				if ( encodedReportName != null && encodedReportName.length( ) > 0 )		{			encodedDocumentName = encodedReportName.substring( 0, encodedReportName.indexOf( ".") ) + ".rptdocument"; //$NON-NLS-1$		}				String locale = ViewerPlugin.getDefault( ).getPluginPreferences( ).getString( USER_LOCALE );				String svgFlag = ViewerPlugin.getDefault( ).getPluginPreferences( ).getString( SVG_FLAG );		boolean bSVGFlag = false;		if ( "true".equalsIgnoreCase( svgFlag ) ) //$NON-NLS-1$		{			bSVGFlag = true;		}		String masterPageContent = ViewerPlugin.getDefault( ).getPluginPreferences( ).getString( MASTER_PAGE_CONTENT );		boolean bMasterPageContent = true;		if ( "false".equalsIgnoreCase( masterPageContent ) ) //$NON-NLS-1$		{			bMasterPageContent = false;		}		// So far, only report name is encoded as utf-8 format 		return getBaseURL( )			+ servletName + "?" //$NON-NLS-1$			+ "__report=" + encodedReportName //$NON-NLS-1$			+  ( "run".equalsIgnoreCase( servletName )? "" : "&__document=" + encodedDocumentName )  //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$			+ "&__format=" + format //$NON-NLS-1$			+ "&__svg=" +  String.valueOf( bSVGFlag ) //$NON-NLS-1$			+ "&__locale=" + LocaleTable.get(locale) //$NON-NLS-1$			+ "&__designer=true" //$NON-NLS-1$			+ "&__masterpage=" + String.valueOf( bMasterPageContent ); //$NON-NLS-1$			}