var toc =
[
   // Level, Text, href
   [ 0, "Introduction", "Introduction" ],
   [ 0, "The Image", "Image" ],
   [ 0, "Files and Links", "FilesAndLinks" ],
   [ 0, "Acknowledgement", "Acknowledgement" ],
   [ 0, "", "" ],
   [ 0, "Step 1: Load the Raw Images", "A01" ],
   [ 1, "32-bit Integer Format Required", "A0101" ],
   [ 1, "Defining Screen Transfer Functions", "A0102" ],
   [ 0, "", "" ],
   [ 0, "Step 2: Register the Raw Images", "A02" ],
   [ 0, "", "" ],
   [ 0, "Step 3: RGB Combination", "A03" ],
   [ 1, "Defining a Color Palette", "A0301" ],
   [ 1, "RGB Combination with PixelMath", "A0302" ],
   [ 0, "", "" ],
   [ 0, "Step 4: Linear RGB Working Space", "A04" ],
   [ 0, "", "" ],
   [ 0, "Step 5: Background Neutralization", "A05" ],
   [ 1, "Inspecting the Histograms", "A0501" ],
   [ 1, "Using Previews to Gather Sky Background Information", "A0502" ],
   [ 1, "Implementation of Background Neutralization with PixelMath", "A0503" ],
   [ 0, "", "" ],
   [ 0, "Step 6: Fixing Cosmetic Issues", "A06" ],
   [ 1, "Fixing Dead Pixel Rows with a JavaScript Script", "A0601" ],
   [ 1, "Fixing Hot Pixels with CloneStamp", "A0602" ],
   [ 0, "", "" ],
   [ 0, "Step 7: Deconvolution", "A07" ],
   [ 1, "Deconvolution Tools in PixInsight", "A0701" ],
   [ 1, "Deconvolution Must Be Applied to Linear Images", "A0702" ],
   [ 1, "The Point Spread Function", "A0703" ],
   [ 1, "The Choice of a Deconvolution Algorithm", "A0704" ],
   [ 1, "The Gibbs Phenomenon, aka Ringing", "A0705" ],
   [ 1, "Building a Deringing Support", "A0706" ],
   [ 1, "The StarMask Process", "A0707" ],
   [ 1, "Deconvolving the NGC 5189 Gemini Image", "A0708" ],
   [ 1, "Apply the Correct Number of Deconvolution Iterations", "A0709" ],
   [ 1, "Optimize the Deringing Support", "A0710" ],
   [ 1, "Optimize Wavelet Regularization", "A0711" ],
   [ 1, "Refine Your Result Systematically", "A0712" ],
   [ 0, "", "" ],
   [ 0, "Step 8: Chrominance Enhancement with ATrousWaveletTransform", "A08" ],
   [ 0, "", "" ],
   [ 0, "Step 9: Nonlinear Transformation", "A09" ],
   [ 0, "", "" ],
   [ 0, "Step 10: High Dynamic Range Wavelet Transform", "A10" ],
   [ 1, "The high dynamic range problem", "A1001" ],
   [ 1, "The HDRWaveletTransform Process", "A1002" ],
   [ 1, "Number of Wavelet Layers", "A1003" ],
   [ 1, "Wavelet Scaling Function", "A1004" ],
   [ 0, "", "" ],
   [ 0, "Step 11: Fixing Doughnut Saturated Stars with PixelMath", "A11" ],
   [ 0, "", "" ],
   [ 0, "Step 12: Background Noise Reduction With ACDNR", "A12" ],
   [ 0, "", "" ]
];
