IImageEventHandler eh = ( IImageEventHandler ) getInstance( imageHandle );
IImageEventHandler eh = getEventHandler( imageHandle, context );
	public static void handleOnPrepare( ImageHandle imageHandle,			ExecutionContext context )	{		try		{			IImage image = new Image( imageHandle );			if ( handleJS( image, imageHandle.getOnPrepare( ), context )					.didRun( ) )				return;			IImageEventHandler eh = ( IImageEventHandler ) getInstance( imageHandle );			if ( eh != null )				eh.onPrepare( image, context.getReportContext( ) );		} catch ( Exception e )		{			log.log( Level.WARNING, e.getMessage( ), e );		}	}