// JScript source code

   // Keep in track with LicenceManager.h
   var AV_Jewelsmith   = 0;
   var AV_JewelsmithDesigner = 1;
   var AV_Pro          = 2;
   var AV_ProDesigner  = 3;
   var AV_Insignia     = 4;
   var AV_Express      = 5;
   var AV_Starter      = 6;
   var AV_Undetermined = 7;

   // Keep in synch with the enum FeatureTypes in FeatureLicensing.h
   var FT_BIT  =   0;
   var FT_VEC  = 100;
   var FT_2DM  = 200;
   var FT_3DM  = 300;
   var FT_3MOD = 400;
   var FT_SIM  = 500;
   var FT_FIL  = 600;
   var FT_TXT  = 700;
   var FT_NST  = 800;
   var FT_PRJ  = 900;
   var FT_JLS  = 1000;

   var FT_BITMAP_EDIT                  = FT_BIT+1;
   var FT_BITMAP_ADJRES                = FT_BIT+2;
    
   var FT_VECTOR_EDIT                  = FT_VEC+1;
   var FT_VECTOR_ALIGNMENT             = FT_VEC+2;
   var FT_VECTOR_TRIMMING              = FT_VEC+3;
   var FT_VECTOR_BOOLEANOPS            = FT_VEC+4;
   var FT_VECTOR_BLOCKCOPYROTATE       = FT_VEC+5;
   var FT_VECTOR_PASTEALONGCURVE       = FT_VEC+6;
   var FT_VECTOR_MIRROR                = FT_VEC+7;
   var FT_VECTOR_BASICOFFSET           = FT_VEC+8;
   var FT_VECTOR_ADVOFFSET             = FT_VEC+9;
   var FT_VECTOR_LIBRARY               = FT_VEC+10;
   var FT_VECTOR_CLIPPING              = FT_VEC+11;
   var FT_VECTOR_ENVELOPEDISTORT       = FT_VEC+12;
   var FT_VECTOR_MULTIPLATE            = FT_VEC+13;
   var FT_VECTOR_WRAPTORELIEF          = FT_VEC+14;
   var FT_VECTOR_DOCTOR                = FT_VEC+15;
   var FT_VECTOR_SPLINE                = FT_VEC+16;
   var FT_VECTOR_ARCFIT                = FT_VEC+17;
   var FT_VECTOR_FILLET                = FT_VEC+18;
    
   var FT_2DMACH_PROFILING             = FT_2DM+1;
   var FT_2DMACH_MACHINEALONGVECTOR    = FT_2DM+2;
   var FT_2DMACH_DRILLING              = FT_2DM+3;
   var FT_2DMACH_VBITCARVING           = FT_2DM+4;
   var FT_2DMACH_BEVELCARVING          = FT_2DM+5;
   var FT_2DMACH_AREACLEARANCE         = FT_2DM+6;
   var FT_2DMACH_TOOLPATHTEMPLATES     = FT_2DM+7;
   var FT_2DMACH_SMARTENGRAVING        = FT_2DM+8;
   var FT_2DMACH_DRILLBANKS            = FT_2DM+9;
   var FT_2DMACH_INLAYWIZARD           = FT_2DM+10;
   var FT_2DMACH_TOOLPATHORDERING      = FT_2DM+11;
   var FT_2DMACH_ADVPROFILEOPTIONS     = FT_2DM+12;
   var FT_2DMACH_BATCHCALCULATE        = FT_2DM+13;
   var FT_2DMACH_TOOLPATHTRANSFORM     = FT_2DM+14;
   var FT_2DMACH_TOOLPATHMERGE         = FT_2DM+15;
   var FT_2DMACH_TOOLPATHCOPY          = FT_2DM+16;
   var FT_2DMACH_TOOLPATHPANELLING     = FT_2DM+17;
   var FT_2DMACH_VECTORWIZARD          = FT_2DM+18;
   var FT_2DMACH_CUTTERCOMP            = FT_2DM+19;
   var FT_2DMACH_RAMPEDLEADS           = FT_2DM+20;
   var FT_2DMACH_EDITTOOLPATHPARAMS    = FT_2DM+21;
   var FT_2DMACH_RAMPS                 = FT_2DM+22;
   var FT_2DMACH_MULTIPLETOOLS         = FT_2DM+23;
   var FT_2DMACH_SEQUENCING            = FT_2DM+24;
   var FT_2DMACH_LEADOUT               = FT_2DM+25;
   var FT_2DMACH_LEADOVERCUT           = FT_2DM+26;
   var FT_2DMACH_LEADANGLES            = FT_2DM+27;
   var FT_2DMACH_LEADAUTOPOS           = FT_2DM+28;
   var FT_2DMACH_FINALPASS             = FT_2DM+29;
   var FT_2DMACH_CUSTOMMODELORIGIN     = FT_2DM+30;
   var FT_2DMACH_PECKDRILLING          = FT_2DM+31;
      
   var FT_3DMACH_MR_RASTER_X           = FT_3DM+1;
   var FT_3DMACH_RASTERWIZARD          = FT_3DM+2;
   var FT_3DMACH_FEATUREMACHINING      = FT_3DM+3;
   var FT_3DMACH_VCARVESURFACE         = FT_3DM+4;
   var FT_3DMACH_MR_SPIRAL             = FT_3DM+5;
   var FT_3DMACH_ZLEVELROUGHING        = FT_3DM+6;
   var FT_3DMACH_LASERMACHINING        = FT_3DM+7;
   var FT_3DMACH_CUTOUT                = FT_3DM+8;
   var FT_3DMACH_REST                  = FT_3DM+9;
   var FT_3DMACH_MR_3DOFFSET           = FT_3DM+10;
   var FT_3DMACH_MR_RASTER_X_AND_Y     = FT_3DM+11;
   var FT_3DMACH_MR_RASTER_ANY         = FT_3DM+12;
   var FT_3DMACH_MR_SPIRAL_IN_BOX      = FT_3DM+13;
   var FT_3DMACH_MR_3DOFFSET_SPIRAL    = FT_3DM+14;
   var FT_3DMACH_MR_OFFSET             = FT_3DM+15;
    
   var FT_3DMODL_IMPORTMODEL           = FT_3MOD+1;
   var FT_3DMODL_SCALERELIEF           = FT_3MOD+2;
   var FT_3DMODL_SHAPEEDITOR           = FT_3MOD+3;
   var FT_3DMODL_FACEWIZARD            = FT_3MOD+4;
   var FT_3DMODL_RELIEFLIBRARY         = FT_3MOD+5;
   var FT_3DMODL_CONSTHEIGHTLETTERS    = FT_3MOD+6;
   var FT_3DMODL_PASTERELIEF           = FT_3MOD+7;
   var FT_3DMODL_CREATEMESH            = FT_3MOD+8;
   var FT_3DMODL_SWEEPEXTRUDETURNSPIN  = FT_3MOD+9;
   var FT_3DMODL_WEAVEWIZARD           = FT_3MOD+10;
   var FT_3DMODL_RELIEFMIRRORMERGE     = FT_3MOD+11;
   var FT_3DMODL_3DBLEND               = FT_3MOD+12;
   var FT_3DMODL_CREATECROSSSECTION    = FT_3MOD+13;
   var FT_3DMODL_RELIEFLAYERS          = FT_3MOD+14;
   var FT_3DMODL_DYNAMICSCULPTING      = FT_3MOD+15;
   var FT_3DMODL_CREATEANGLEDPLANE     = FT_3MOD+16;
   var FT_3DMODL_RELIEFOFFSET          = FT_3MOD+17;
   var FT_3DMODL_ENVELOPEDISTORT       = FT_3MOD+18;
   var FT_3DMODL_FADERELIEF            = FT_3MOD+19;
   var FT_3DMODL_CREATEDOME            = FT_3MOD+20;
   var FT_3DMODL_SCALETOVOLUME         = FT_3MOD+21;
   var FT_3DMODL_CALCSURFACEAREA       = FT_3MOD+22;
   var FT_3DMODL_ADDDRAFT              = FT_3MOD+23;
   var FT_3DMODL_SMOOTHRELIEF          = FT_3MOD+24;
   var FT_3DMODL_TEXTURERELIEF         = FT_3MOD+25;
   var FT_3DMODL_MAGICWAND             = FT_3MOD+26;
   var FT_3DMODL_BACKRELIEFS           = FT_3MOD+27;
   var FT_3DMODL_RELIEFBOUNDARY        = FT_3MOD+28;
   var FT_3DMODL_SLICERELIEF           = FT_3MOD+29;
   var FT_3DMODL_INVERTRELIEF          = FT_3MOD+30;
   var FT_3DMODL_CREATERING            = FT_3MOD+31;
   var FT_3DMODL_RELIEFFROMIMAGE       = FT_3MOD+32;
   var FT_3DMODL_FLIPROTATEMODEL       = FT_3MOD+33;
   var FT_3DMODL_SHADINGPARAMS         = FT_3MOD+34;
   var FT_3DMODL_RELIEFINFO            = FT_3MOD+35;
   var FT_3DMODL_PASTEWRAPPING         = FT_3MOD+36;
   var FT_3DMODL_PASTEBLOCKCOPYROTATE  = FT_3MOD+37;
   
   var FT_SIM_LOADSAVEASRELIEF         = FT_SIM+1;
   var FT_SIM_COPYTORELIEFLAYER        = FT_SIM+2;
   var FT_SIM_CREATECUSTOMSHADING      = FT_SIM+3;
   var FT_SIM_SIMULATION               = FT_SIM+4;
   var FT_SIM_OPTIFEED                 = FT_SIM+5;
   var FT_SIM_2DSIMULATION             = FT_SIM+6;
   var FT_SIM_SIMULATION_OPTIONS       = FT_SIM+7;
   
   var FT_FILEIO_TRIANGLEMODELS        = FT_FIL+1;
   var FT_FILEIO_BASICSURFACE          = FT_FIL+2;
   var FT_FILEIO_PSEXCHANGE            = FT_FIL+3;
   var FT_FILEIO_SAVERLF               = FT_FIL+4;
   var FT_FILEIO_LOADRLF               = FT_FIL+5;

   var FT_TEXT_CREATE                  = FT_TXT+1;
   var FT_TEXT_ALONGACURVE             = FT_TXT+2;
   var FT_TEXT_EDITFONT                = FT_TXT+3;

   var FT_NEST_VECTORS                 = FT_NST+1;
   var FT_NEST_2DTOOLPATHS             = FT_NST+2;
   var FT_NEST_3DTOOLPATHS             = FT_NST+3;
   
   var FT_PROJECTS                     = FT_PRJ+1;

   var FT_JEWELSMITH                   = FT_JLS+1;