var undefined;

//Hash for the picture indices
var hash = new Array();
hash["ICG"] = 1;
hash["2-Aminopurine"] = 2;
hash["NATA"] = 3;
hash["HSA 1"] = 4;
hash["Fluorescein"] =  5;
hash["Cy5"] = 6;
hash["Tyrosine"] = 7;
hash["Bodipy-FL"] = 8;
hash["Ethidium Bromide"] = 9;
hash["Ethidium Bromide+DNA"] = 10;
hash["Meso-tetraphenylporphyrin"] = 11;
hash["Rhodamine 590"] = 12;
hash["Rhodamine B"] = 13;
hash["Ruthenium Complex"] = 14;
hash["Chlorophyll"] = 15;
hash["Amino-Acridine"] = 16;
hash["DM-POPOP"] = 17;
hash["Porphyrine"] = 18;
hash["Avidin-BodipyFL"] = 19;
hash["IgG-BodipyFL"] = 20;
hash["Alexa 532"] = 21;
hash["Alexa 750"] = 22;
hash["Alexa 546"] = 23;
hash["Alexa 647"] = 24;
hash["Alexa 680"] = 25;
hash["Alexa 700"] = 26;
hash["Anthracene"] = 27;
hash["p-Terphenyl"] = 28;
hash["Lysozyme"] = 29;
hash["Alexa 555"] =  30;
hash["Lysozyme Anisotropy"] = 31;
hash["Rose Bengal"] = 32;
hash["Coumarin 6"] = 33;
hash["Fluorescein Anisotropy"] = 34;
hash["Coumarin Bodipy FL Mixture"] = 35;
hash["Alexa 700 Microchannel"] = 36;
hash["Rose Bengal Microchannel"] = 37;
hash["Indole"] = 38;
hash["2-Aminopruine Standards/UV"] = 39;
hash["Anthranilic Acid"] = 40;
hash["Erythrosin"] = 41;
hash["Rhodamine Bodipy FL Mixture 3D"] = 42;
hash["Rhodamine Bodipy FL Mixture 2D"] = 43;
hash["TNS"] = 44;
hash["TNS 3D 1"] = 45;
hash["Rhodamine B and BODIPY-FL"] = 46;
hash["Blank Subtraction"] = 47;
hash["Terbium Chloride"] = 48;
hash["[Ru(bpy)3]Cl2"] = 49;
hash["BBO"] = 50;
hash["PPO"] = 51;
hash["Coumarin 6 Etgly"] = 52;
hash["Coumarin 6 Propgly"] = 53;
hash["Coumarin 6 Glycol"] = 54;
hash["Coumarin 6"] = 55;
hash["Rhodamine 6G"] = 56;
hash["UT dots"] = 57;
hash["FluoresceinTD"] = 58;
hash["Coumarin6TD"] = 59;
hash["BodipyFLTD"] = 60;
hash["AF532TD"] = 61;
hash["AF488TD"] = 62;
hash["2-Aminoacridone"] = 63;
hash["Atto425TD"] = 64;
hash["Coumarin7TD"] = 65;
hash["LuciferYellowTD"] = 66;
hash["AF488FD"] = 67;
hash["AmacFC"] = 68;
hash["Atto425FD"] = 69;
hash["Coumarin7FD"] = 70;
hash["LuciferYellowFD"] = 71;
hash["FluoresceinDyes"] = 72;
hash["Rhodamine6GDyes"] = 73;
hash["RoseBengalDyes"] = 74;
hash["AF532Dyes"] = 75;
hash["AF555Dyes"] = 76;
hash["Coumarin6EGDyes"] = 77;
hash["RoseBengal2"] = 78;
hash["Pyridine1"] = 81;
hash["AcridineFD"] = 82;
hash["AcridineTD"] = 83;
hash["p-Terphenyl-TD"] = 84;
hash["PPO"] = 85;
hash["Anthranilic Acid-BH"] = 86;
hash["NATA-BH"] = 87;
hash["DMPopop-BH"] = 88;
hash["Anthracene-BH"] = 89;
hash["Indole-BH"] = 90;
hash["DFS-BH"] = 91;
hash["DMS-BH"] = 92;

//PC1 Hash Copy
hash["Ovalene"] = 1;
hash["2D Ovalene"] = 2;
hash["3D Ovalene"] = 3;
hash["Rhodamine B"] = 4;
hash["Rhodamine B 2"] = 5;
hash["Erythrosin"] = 6;
hash["Erythrosin 2"] = 7;
hash["Rose Bengal"] = 8;
hash["Rose Bengal 2"] = 9;
hash["Alexa 555"] = 10;
hash["Alexa 555 2"] = 11;

//PC1 Data
var pc1pictures = new Array( "fig1.gif", "fig2.gif", "fig3.gif", "fig4.png", "fig5.png",
						 "fig6.png", "fig7.png", "fig8.png", "fig9.png", "fig10.png",
						 "fig11.png" );

var pc1captions = new Array(
	"The spectrum was acquired using the PC1&trade; with excitation wavelength set at 380 nm. Emission was scanned from 400 nm to 600 nm. Monochromators bandwidth was 8 nm. Images can be exported in jpg, giff, tiff, png, bitmap, and Windows enhanced meta file.",
	"The 34 spectra were acquired using the PC1&trade;. The excitation monochromator was scanned from 300 nm to 380 nm in steps of 2 nm. At each position of the excitation monochromator an emission spectrum was acquired from 400 to 530 nm with 1 nm steps. Monochromators bandwidth was 8 nm. Images can be exported in jpg, giff, tiff, png, bitmap and Windows enhanced meta file.",
	"The plot is generated by Vinci using the excitation-emission matrix data (previous image). The emission plots were re-formatted: data from 440 nm to 530 nm are displayed. Images can be exported in jpg, giff, tiff, png, bitmap and Windows enhanced meta file.",
	"Excitation polarization spectrum of <strong>Rhodamine B</strong> in water with a polarization value of <strong>P = 0.066</strong> for the recommended excitation range for polarization measurements.",
	"Excitation and emission spectra (&lambda;<sub>max</sub>(ex)=554 nm, &lambda;<sub>max</sub>(em)=579 nm) of <strong>Rhodamine B</strong> in water. Data was acquired on PC1&trade; using a 300W Xenon lamp.",
	"Excitation polarization spectrum of <strong>Erythrosin</strong> in water with a polarization value of <strong>P = 0.316</strong> for the recommended excitation range for polarization measurements.",
	"Excitation and emission spectra (&lambda;<sub>max</sub>(ex)=525 nm, &lambda;<sub>max</sub>(ex)=549 nm) of <strong>Erythrosin</strong> in water. Data was acquired on PC1&trade; using a 300W Xenon lamp.",
	"Excitation polarization spectrum of <strong>Rose Bengal</strong> with a polarization value of <strong>P = 0.349</strong> for the recommended excitation range for polarization measurements.",
	"Excitation and emission spectra (&lambda;<sub>max</sub>(ex)=548 nm, &lambda;<sub>max</sub>(ex)=567 nm) of <strong>Rose Bengal</strong> in water. Data was acquired on PC1&trade; using a 300W Xenon lamp.",
	"Excitation polarization spectrum of <strong>Alexa 555</strong> with a polarization value of <strong>P = 0.283</strong> for the recommended excitation range for polarization measurements.",
	"Excitation and emission spectra (&lambda;<sub>max</sub>(ex)=552 nm, &lambda;<sub>max</sub>(em)=568 nm) of <strong>Alexa 555</strong> in water. Data was acquired on PC1&trade; using a 300W Xenon lamp."	
);

var pc1alts = new Array( 
	"Ovalene Emission Spectrum", 
	"Ovalene Emission-Excitation Matrix (2D series)", 
	"Ovalene Emission-Excitation Matrix (3D contour)",
	"Excitation Polarization Spectrum of Rhodamine B in Water",
	"Excitation and Emission Spectra of Rhodamine B in Water",
	"Excitation Polarization Spectrum of Erythrosin in Water",
	"Excitation and Emission Spectra of Erythrosin in Water",
	"Excitation Polarization Spectrum of Rose Bengal in Water",
	"Excitation and Emission Spectra of Rose Bengal in Water",
	"Excitation Polarization Spectrum of Alexa 555 in Water",
	"Excitation and Emission Spectra of Alexa 555 in Water"
);


//Use .toString to check for Array-ness.
function isArray(str) {
	return str.split(",").length != 1;
}

function isNumber(obj) {
    return typeof obj == 'number';
}

var pictures = new Array("fig1.png", "fig2.png", "fig3.png",
	new Array("fig4-1.png", "fig4-2.png"), "fig5.png", "fig6.png", "fig7.png", new Array("fig8-1.png", "fig8-2.png", "fig8-3.png"),
	"fig9.png", "fig10.png", "fig11.png", "fig12.png", "fig13.png", "fig14.png", 
	"fig15.png", "fig16.png", "fig17.png", "fig18.png", "fig19.png", "fig20.png",
	"fig21.png", "fig22.png", "fig23.png", "fig24.png", "fig25.png", "fig26.png",
	"fig27.png", "fig28.png", "fig29.png", "fig30.png", "fig31.png", "fig32.png",
	"fig33.png", "fig34.png", "fig35.png", "fig36.png", "fig37.png", "fig38.png",
	"fig39.png", "fig40.png", "fig41.png", "fig42.png", "fig43.png", "fig44.png",
	new Array("fig45-1.png", "fig45-2.png", "fig45-3.png"), "fig46.png",
	new Array("fig47-1.png", "fig47-2.png"), "fig48.png", "fig49.png", "fig50.png", "fig51.png",
	"fig52.png", "fig53.png", "fig54.png", "fig55.png", "fig56.png", "fig57.png",
	"fig58.png", "fig59.png", "fig60.png", "fig61.png", "fig62.png",
	"fig63.png", "fig64.png", "fig65.png", "fig66.png", "fig67.png", "fig68.png", "fig69.png", "fig70.png", "fig71.png",
	"fig72.png", "fig73.png", "fig74.png", "fig75.png", "fig76.png", "fig77.png", "fig78.png",
	"fig79.png", "fig80.png", "fig81.png", "fig82.png", "fig83.png", "fig84.png", "fig85.png",
	"fig86.png", "fig87.png", "fig88.png", "fig89.png", "fig90.png",
	"fig91.png", "fig92.png"
						);

var captions = new Array(
	"Frequency responses (phase and modulation) of <strong>Indocyanine Green (ICG)</strong> in water acquired on ChronosFD&trade; using a laser diode emitting at <strong>786-nm</strong>. The emission was collected through a high pass filter RG830.  The data is best fitted by a single exponential decay time of 520 ps.",
	"Frequency responses (phase and modulation) of <strong>2-aminopurine</strong> in buffer acquired at 20&deg;C. The excitation wavelength was 280-nm using our standard <strong>280-nm LED</strong>; the emission was collected through a WG320 high-pass filter. A single decay time of 7.8 ns was determined.",
	"Frequency responses (phase and modulation) of <strong>NATA</strong> in water. Excitation was achieved by a <strong>300-nm LED</strong>; the emission was collected through a WG320 high-pass filter. A single exponential decay time of 3.09 ns was determined.", 
	new Array("", "Frequency responses (phase and modulation) of <strong>Human Serum Albumin (HSA)</strong>.  The excitation source was a <strong>300-nm LED</strong>, T = 20&deg;C; the emission was collected through a WG 320 high-pass filter. The data is best fitted by a Lorentzian \
		distribution (peak = 5.4 ns, width = 2.9 ns, fractional distribution = 98%) and a second discrete component (&tau; = 0.51 ns and fractional contribution = 0.02%)." ),
	"Frequency responses (phase and modulation) of <strong>Fluorescein</strong> in water acquired on K2&trade; using a lamp excitation at <strong>470-nm</strong>. The emission was collected through a band pass filter 520HP. The data is best fitted by a single exponential decay time of 4.00 ns (&chi;<sup>2</sup> = 0.85).",
	"Frequency responses (phase and modulation) of <strong>Cy5</strong> in water. Excitation source: <strong>645-nm laser diode</strong>; the emission was collected through a 670 high-pass filter. The data is best fitted with a single exponential decay time of 1.01 ns.",
	"Frequency responses (phase and modulation) of <strong>Tyrosine</strong> in water acquired on ChronosFD&trade; using a <strong>280-nm LED</strong>. The emission was collected through a 320-nm long pass filter.  The data is best fitted by a single exponential decay time of 3.2 ns.",
	   new Array (
		"Frequency responses (phase and modulation) of <strong>BodipyFL</strong> in water acquired on ChronosFD&trade; using a <strong>471-nm laser diode</strong>. The emission was collected through a high pass filter 520KV. The data is best fitted with a single exponential decay time of 5.87 ns (&chi;<sup>2</sup> = 0.97).",
		"Frequency responses (phase and modulation) of <strong>IgG-BodipyFL</strong> conjugate in water acquired on ChronosFD&trade; using a <strong>471-nm laser diode</strong>. The emission was collected through a 520KV high pass filter. The data is best fitted with a bi-exponential decay time of 10% - 1.3 ns, 90% - 5.5 ns, with an average lifetime of 5.08 ns (&chi;<sup>2</sup> = 1.35).",
		"Frequency responses (phase and modulation) of <strong>Avidin-BodipyFL</strong> conjugate in water acquired on ChronosFD&trade; using a <strong>471-nm laser diode</strong>. The emission was collected through a 520KV high pass filter. The data is best fitted with a tri-exponential decay time of 19% - 244 ps, 22% - 2.02 ns and 59% - 6.04 ns, with an average lifetime of 4.05 ns (&chi;<sup>2</sup> = 1.43)."
	   ),
	"Frequency responses (phase and modulation) of <strong>Ethidium Bromide</strong> in Phosphate Buffer pH 7.4 acquired on ChronosFD&trade; using a laser diode excitation at <strong>471-nm</strong>. The emission was collected through a high pass filter 520KV. The data is best fitted by a single exponential decay time of 1.68 ns.",
	"Frequency responses (phase and modulation) of <strong>Ethidium Bromide (EB)</strong> in presence of calf thymus DNA (0.1 mg/mL) acquired on ChronosFD&trade; using a laser diode excitation at <strong>471-nm</strong>. The emission was collected through a high pass filter KV520. The data is best fitted with a mean bi-exponential decay time of 21.4 ns.",
	"Frequency responses (phase and modulation) of <strong>Meso-tetraphenylporphyrin</strong> in toluene acquired on ChronosFD&trade; using <strong>473-nm LD</strong>. The emission was collected through a high pass filter 625KV. The data is best fitted by a single exponential decay with a lifetime of 9.16 ns.",
	"Frequency responses (phase and modulation) of <strong>Rhodamine 590</strong> in water acquired on ChronosFD&trade; using a laser diode excitation at <strong>471-nm</strong>. The emission was collected through a high pass filter KV520. The data is best fitted by a single exponential decay with a lifetime of 4.1 ns.",
	"Frequency responses (phase and modulation) of <strong>Rhodamine B</strong> in water acquired on ChronosFD&trade; using a laser diode excitation at <strong>471-nm</strong>. The emission was collected through a high pass filter KV520. The data is best fitted with a single exponential decay with a lifetime of 1.76 ns.",
	"Frequency responses (phase and modulation) of <strong>Tris(1,10-phenantroline)-ruthenium (II) chloride hydrate</strong> in water acquired on ChronosFD&trade; using a laser diode excitation at <strong>471-nm</strong>. The emission was collected through a high pass filter 520KV. The data is best fitted by a single exponential decay with a lifetime of 462 ns.",
	"Frequency responses (phase and modulation) of <strong>Chlorophyll</strong> acquired on ChronosFD&trade; using a led excitation at <strong>635-nm</strong>. The emission was collected through a high pass filter 660. The data is best fitted by a bi-exponential decay time of (64% - 619 ps, 36% - 3.15 ns) with an average lifetime of 1.52 ns.",
	"Frequency responses (phase and modulation) of <strong>9-aminoacridine (9-AA)</strong> acquired on K2&trade; using a Xenon-lamp excitation at <strong>360-nm</strong>. The emission was collected through a high pass filter 389. The data is best fitted by a single exponential decay with a lifetime of 14.5 ns.",
	"Frequency responses (phase and modulation) of <strong>Dimethyl-POPOP</strong> in Ethanol acquired on ChronosFD&trade; using a <strong>370-nm LED</strong>. The emission was collected through a high pass filter 389. The data is best fitted by a single exponential decay time of 1.44 ns (&chi;<sup>2</sup> = 0.58).",
	"Frequency responses (phase and modulation) of <strong>Meso-tetraphenylporphyrin</strong> in toluene acquired on ChronosFD&trade; using <strong>635-nm LD</strong>. The emission was collected through a high pass filter 625KV. The data is best fitted by a single exponential decay with a lifetime of 9.16 ns.",
	"Frequency responses (phase and modulation) of <strong>Avidin-BodipyFL conjugate</strong> in water acquired on ChronosFD&trade; using a laser diode excitation at <strong>471-nm</strong>. The emission was collected through a high pass filter 520KV. The data is best fitted by a tri-exponential decay time of 19% - 244 ps, 22% - 2.02 ns and 59% - 6.04 ns, with an average lifetime of 4.05 ns (&chi;<sup>2</sup> = 1.43).",
	"Frequency responses (phase and modulation) of <strong>IgG-BodipyFL conjugate</strong> in water acquired on ChronosFD&trade; using a laser diode excitation at <strong>471-nm</strong>. The emission was collected through a 520KV high pass filter. The data is best fitted by a bi-exponential decay time of 10% - 1.3 ns, 90% - 5.5 ns, with an average lifetime of 5.08 ns (&chi;<sup>2</sup> = 1.35).",
	"Frequency responses (phase and modulation) of <strong>Alexa 532</strong> in water acquired on K2&trade; using a <strong>Xenon lamp</strong>. The excitation wavelength was 470-nm. The emission was collected through a 545/65 band pass filter. The data is best fitted with a single exponential decay time of 2.53 ns (&chi;<sup>2</sup> = 1.04).",
	"Frequency responses (phase and modulation) of <strong>Alexa 750</strong> in water acquired on K2&trade; using a <strong>Xenon lamp</strong>. The excitation wavelength was 700-nm (slit size: 1mm). The emission was collected through a 710HP high pass filter. The data is best fitted with a single exponential decay time of 657 ps (&chi;<sup>2</sup> = 1.28).",
	"Frequency responses (phase and modulation) of <strong>Alexa 546</strong> in water acquired on K2&trade; using a <strong>Xenon lamp</strong>. The excitation wavelength was 485-nm with a 1mm slit size. The emission was collected through a 545/65 band pass filter. The data is best fitted with a single exponential decay time of 4.06 ns (&chi;<sup>2</sup> = 0.98).",
	"Frequency responses (phase and modulation) of <strong>Alexa 647</strong> in water acquired on ChronosFD&trade; using a <strong>635-nm laser diode</strong>. The emission was collected through a 660HP high pass filter. The data is best fitted with a single exponential decay time of 1.03 ns (&chi;<sup>2</sup> = 1.05).",
	"Frequency responses (phase and modulation) of <strong>Alexa 680</strong> in water acquired on ChronosFD&trade; using a <strong>635-nm laser diode</strong>. The emission was collected through a 660HP high pass filter. The data is best fitted with a single exponential decay time of 1.17 ns (&chi;<sup>2</sup> = 1.72).",
	"Frequency responses (phase and modulation) of <strong>Alexa 700</strong> in water acquired on ChronosFD&trade; using a <strong>635-nm laser diode</strong>. The emission was collected through a 660HP high pass filter. The data is best fitted with a single exponential decay time of 1.01 ns (&chi;<sup>2</sup> = 1.43).",
	"Frequency responses (phase and modulation) of <strong>Anthracene</strong> in Ethanol acquired on ChronosFD&trade; using a <strong>370-nm LED</strong>. The emission was collected through a high pass filter WG389. The data is best fitted by a single exponential decay time of 4.25 ns (&chi;<sup>2</sup> = 0.42).",
	"Frequency responses (phase and modulation) of <strong>p-Terphenyl</strong> in Ethanol acquired on ChronosFD&trade; using a <strong>300-nm LED</strong>. The emission was collected through a high pass filter 320HP. The data is best fitted by a single exponential decay time of 1.05 ns (&chi;<sup>2</sup> = 0.99).",
	"Frequency responses (phase and modulation) of <strong>Lysozyme</strong> in PB 7.4 acquired on ChronosFD&trade; using a <strong>300-nm LED</strong>. The emission was collected through a high pass filter 320LP. The data is best fitted with two decay times: &tau;<sub>1</sub> = 0.7 ns and &tau;<sub>2</sub> = 2.58 ns, f<sub>1</sub> = 0.26 (&chi;<sup>2</sup> = 1.1).",
	"Frequency responses (phase and modulation) of <strong>Alexa 555</strong> in water acquired on K2&trade; using a <strong>Xenon lamp</strong>. The excitation wavelength was 515-nm. The emission was collected through a WG530 high pass filter. The data is best fitted with a single exponential decay time of 313 ps (&chi;<sup>2</sup> = 1.32).",
	"Frequency-domain anisotropy decays (Differential Polarized Phase Angle and Amplitude Ratio) of <strong>Lysozyme</strong> in phosphate buffer pH 7.5 measured with a <strong>300-nm LED</strong>. The emission was collected using a WG320. Calculated values for &theta;<sub>1</sub> = 0.8 and &theta;<sub>2</sub> = 6.08, R<sub>0</sub> = 0.17 with &tau;<sub>1</sub> = 0.7 ns and &tau;<sub>2</sub> = 2.58 ns, f<sub>1</sub> = 0.26.",
	"Frequency responses (phase and modulation) of <strong>Rose Bengal</strong> in water acquired on K2&trade; using a <strong>Xenon lamp</strong>. The excitation wavelength was 530-nm. The emission was collected through a HQ605/75 band pass filter. The data is best fitted with a single exponential decay time of 88 ps.",
	"Frequency responses (phase and modulation) of <strong>Coumarin 6</strong> in Ethanol acquired on ChronosFD&trade; using a <strong>406-nm laser diode</strong>. The emission was collected through a high pass filter 440. The data is best fitted by a single exponential decay time of 2.49 ns (&chi;<sup>2</sup> = 1.4).",
	"Frequency-domain anisotropy decays (Differential Polarized Phase Angle and Amplitude Ratio) of <strong>Fluorescein</strong> in propylene glycol measured on K2&trade; using an excitation wavelength of <strong>470-nm (Xenon lamp)</strong>. The emission was collected using an OG530 long-pass filter. Calculated values for &theta; = 5.3 ns with R<sub>0</sub> = 0.40 and &tau; = 4 ns, T = 27-28&deg;C.",
	"Phase-resolved spectra of a 2-component mixture of <strong>Coumarin 6</strong> and <strong>BODIPY-FL</strong> in ethanol measured on K2&trade;. Also shown is the emission spectrum of the mixture.",
	"Frequency responses (phase and modulation) of <strong>Alexa 700</strong> in water acquired on ChronosFD&trade; using a <strong>635-nm diode laser</strong> and <strong>a microchannel plate detector</strong>. The emission was collected through a 660HP high pass filter. The data is best fitted with a single exponential decay time of 1.01 ns.",
	"Frequency responses (phase and modulation) of <strong>Rose Bengal</strong> in water acquired on ChronosFD&trade; using a <strong>471-nm laser diode</strong> and <strong>a microchannel plate detector</strong>. The emission was collected through an OG530 high pass filter. The data is best fitted with a single exponential decay time of 78 ps.",
	"Frequency responses (phase and modulation) of <strong>Indole</strong> in water acquired on K2&trade; using a <strong>Xenon lamp</strong>. The excitation wavelength was 280-nm with a 2 mm slit size. The emission was collected through a 345 high pass filter. The data is best fitted with a single exponential decay time of 3.97 ns (&chi;<sup>2</sup> = 1.16).",
	"Frequency responses (phase and modulation) of <strong>2-Aminopurine</strong> in water acquired on K2&trade; using a <strong>Xenon lamp</strong>. The excitation wavelength was 290-nm with a 2 mm slit size. The emission was collected through a 345 high pass filter. The data is best fitted with a single exponential decay time of 11.69 ns (&chi;<sup>2</sup> = 1.32).",
	"Frequency responses (phase and modulation) of <strong>Anthranilic acid</strong> in water acquired on K2&trade; using a <strong>Xenon lamp</strong>. The excitation wavelength was 270-nm with a 2 mm slit size. The emission was collected through a 345 high pass filter. The data is best fitted with a single exponential decay time of 8.61 ns (&chi;<sup>2</sup> = 1.38).",
	"Frequency responses (phase and modulation) of <strong>Erythrosin</strong> in water acquired on ChronosFD&trade; using a <strong>471-nm laser diode</strong> and <strong>a microchannel plate detector</strong>. The emission was collected through an OG530 high pass filter. The data is best fitted with a single exponential decay time of 85 ps.",
	"3-dimensional plot of a Time-resolved Spectrum of a mixture of <strong>Rhodamine B</strong> and <strong>BODIPY-FL</strong> acquired on ChronosFD&trade; using <strong>471-nm laser diode</strong> excitation.",
	"2-dimensional view (emission wavelength vs. time) of the 3-dimensional plot of a Time-resolved Spectrum of a mixture of <strong>Rhodamine B</strong> and <strong>BODIPY-FL</strong> acquired on ChronosFD&trade; using <strong>471-nm laser diode</strong> excitation.",
	"Frequency-domain anisotropy decays (Differential Polarized Phase Angle and Amplitude Ratio) of <strong>TNS</strong> in propylene glycol measured on ChronosFD&trade; using a <strong>300-nm LED</strong>. The emission was collected using a WG320 long-pass filter. Calculated values for &theta; = 5.03 ns with R<sub>0</sub> = 0.30 and &tau; = 7.8 ns, T = 27&deg;C.",
	   new Array (
		"Normalized 3-dimensional plot of the time-resolved spectrum of <strong>TNS</strong> in glycerol. The excitation source was a <strong>300-nm LED</strong>. The emission was scanned from 340 to 560 nm with a 2-nm step size. The frequency was scanned from 5-150 MHz.",
		"3-dimensional plot of the time-resolved spectrum of <strong>TNS</strong> in glycerol. The excitation source was a <strong>300-nm LED</strong>. The emission was scanned from 340 to 560 nm with a 2-nm step size. The frequency was scanned from 5-150 MHz.",
		"Series of time-resolved spectra of <strong>TNS</strong> in glycerol. The excitation source was a <strong>300-nm LED</strong>. The emission was scanned from 340 to 560 nm with a 2-nm step size. The frequency was scanned from 5-150 MHz."
	   ),
	"3-dimensional plot of the time-resolved spectra of a mixture of <strong>Rhodamine B</strong> and <strong>BODIPY-FL</strong> acquired on ChronosFD&trade; using a <strong>471-nm diode laser</strong>. The emission was scanned from 480 to 630 nm with a 2-nm step size. The frequency was scanned from 10-200 MHz.",
	   new Array (
		"Frequency responses (phase and modulation) of a mixture of <strong>Fluorescein</strong> and <strong>Bodipy-FL</strong> in water acquired on ChronosFD&trade; using a <strong>471-nm laser diode</strong>. The emission was collected through a high pass filter OG530. The data is best fitted with a bi-exponential decay time of 45% - 4 ns and 55% - 5.7 ns.",
		"Frequency responses (phase and modulation) of a mixture of <strong>Fluorescein</strong> and <strong>Bodipy-FL</strong> in water measured using the blank-subtraction option.  Fluorescein was used as the blank and subtracted from the frequency response of the mixture. Data was acquired on ChronosFD&trade; using a <strong>471-nm laser diode</strong>.  The emission was collected through a high pass filter OG530. The data is best fitted with a single exponential decay time of 5.7 ns."
	   ),
	"Frequency responses (phase and modulation) of <strong>Terbium Chloride</strong> in ethanol acquired on K2&trade; using a <strong>Xenon lamp</strong>. The excitation wavelength was 230-nm with a 1 mm slit size. The emission was collected through an OG530 high pass filter. The data is best fitted with a single exponential decay time of 1168 &mu;s.",
	"Frequency responses (phase and modulation) of <strong>[Ru(bpy)<sub>3</sub>]Cl<sub>2</sub> (Tris[2,2'-bipyridyl]Ruthenium(II) chloride)</strong> in water acquired on ChronosFD&trade; using a <strong>471-nm LD</strong>. The emission was collected through a high pass filter 520KV. The data is best fitted by a single exponential decay time of 377 ns (air).",
	"Frequency responses (phase and modulation) of <strong>BBO (2,5-bis([1,1'-biphenyl]-4-yl)-oxazole)</strong> in ethanol acquired on ChronosFD&trade; using a <strong>370-nm LED</strong>. The emission was collected through a long pass filter 400LP. The data is best fitted by a single exponential decay time of 1.24 ns (&chi;<sup>2</sup> = 0.6).",
	"Frequency responses (phase and modulation) of <strong>PPO (2,5-diphenyl-oxazole)</strong> in ethanol acquired on ChronosFD&trade; using a <strong>280-nm LED</strong>. The emission was collected through a long pass filter 320LP. The data is best fitted by a single exponential decay time of 1.46 ns (&chi;<sup>2</sup> = 1.2).",
	"Frequency-domain anisotropy decays (Differential Polarized Phase Angle and Amplitude Ratio) of <strong>Coumarin 6</strong> in ethylene glycol measured on ChronosFD&trade; using a <strong>473-nm laser diode</strong>. The emission was collected using a 500-nm long-pass filter. Calculated values for &theta; = 2.0 ns with R<sub>0</sub> = 0.38 and &tau; = 2.33 ns, T = 27-28&deg;C.",
	"Frequency-domain anisotropy decays (Differential Polarized Phase Angle and Amplitude Ratio) of <strong>Coumarin 6</strong> in propylene glycol measured on ChronosFD&trade; using a <strong>473-nm laser diode</strong>. The emission was collected using a 500-nm long-pass filter. Calculated values for &theta; = 4.5 ns with R<sub>0</sub> = 0.38 and &tau; = 2.5 ns, T = 27-28&deg;C.",
	"Frequency responses (phase and modulation) of <strong>Coumarin 6</strong> in ethylene glycol acquired on ChronosFD&trade; using a <strong>473-nm laser diode</strong>. The emission was collected through a 500-nm high pass filter. The data is best fitted with a single exponential decay time of 2.37 ns.",
	"Frequency responses (phase and modulation) of <strong>Coumarin 6</strong> in ethanol acquired on ChronosFD&trade; using a <strong>473-nm laser diode</strong>. The emission was collected through a 500-nm high pass filter. The data is best fitted with a single exponential decay time of 2.6 ns.",
	"Frequency responses (phase and modulation) of <strong>Rhodamine 6G</strong> in water acquired on ChronosFD&trade; using a <strong>473-nm laser diode</strong>. The emission was collected through a 500-nm high pass filter. The data is best fitted with a single exponential decay time of 4.0 ns.",
	"Frequency responses (phase and modulation) of <strong>CdSe Quantum Dots UTDCEt 550</strong> in hexane acquired on ChronosFD&trade; using a <strong>471-nm laser diode</strong>. The emission was collected through a high pass filter 520KV. The data is best fitted with a triple exponential decay time of: 2.3 ns - 4%, 18.3 ns - 79%, 67.8 ns - 17%.",
	"Time-domain intensity decay of <strong>Fluorescein</strong> in PB 7.4 acquired on ChronosBH&trade; using a <strong>447-nm</strong> pulsed <strong>laser diode</strong>. The emission was collected through a long pass filter KV 505. The data is best fitted by a single exponential decay time of 4.0 ns (&chi;<sup>2</sup> = 1.2).",
	"Time-domain intensity decay of <strong>Coumarin 6</strong> in Ethanol acquired on ChronosBH&trade; using a <strong>447-nm</strong> pulsed <strong>laser diode</strong>. The emission was collected through a long pass filter KV 505. The data is best fitted by a single exponential decay time of 2.49 ns (&chi;<sup>2</sup> = 1.4).",
	"Time-domain intensity decay of <strong>Bodipy Fl</strong> in water acquired on ChronosBH&trade; using a <strong>447-nm</strong> pulsed <strong>laser diode</strong>. The emission was collected through a long pass filter KV 505. The data is best fitted by a single exponential decay time of 5.66 ns (&chi;<sup>2</sup> = 1.12).",
	"Time-domain intensity decay of <strong>Alexa 532</strong> in water acquired on ChronosBH&trade; using a <strong>447-nm</strong> pulsed <strong>laser diode</strong>. The emission was collected through a long pass filter KV 505. The data is best fitted by a single exponential decay time of 5.66 ns (&chi;<sup>2</sup> = 1.31).",
	"Time-domain intensity decay of <strong>Alexa 488</strong> in water acquired on ChronosBH&trade; using a <strong>447-nm</strong> pulsed <strong>laser diode</strong>. The emission was collected through a long pass filter KV 505. The data is best fitted by a single exponential decay time of 4.05 ns (&chi;<sup>2</sup> = 1.1).",
	"Time-domain intensity decay of <strong>2-Aminoacridone</strong> in water acquired on ChronosBH&trade; using a <strong>447-nm</strong> pulsed <strong>laser diode</strong>. The emission was collected through a long pass filter KV 505. The data is best fitted by a single exponential decay time of 10.3 ns (&chi;<sup>2</sup> = 1.05).",
	"Time-domain intensity decay of <strong>Atto 425-NHS ester</strong> in water acquired on ChronosBH&trade; using a <strong>447-nm</strong> pulsed <strong>laser diode</strong>. The emission was collected through a long pass filter KV 505. The data is best fitted by a single exponential decay time of 3.5 ns (&chi;<sup>2</sup> = 1.11).",
	"Time-domain intensity decay of <strong>Coumarin 7</strong> in EtOH acquired on ChronosBH&trade; using a <strong>447-nm</strong> pulsed <strong>laser diode</strong>. The emission was collected through a long pass filter KV 505. The data is best fitted by a single exponential decay time of 2.66 ns (&chi;<sup>2</sup> = 1.13).",
	"Time-domain intensity decay of <strong>Lucifer Yellow CH Dilithium Salt</strong> in water acquired on ChronosBH&trade; using a <strong>447-nm</strong> pulsed <strong>laser diode</strong>. The emission was collected through a long pass filter KV 505. The data is best fitted by a single exponential decay time of 5.07 ns (&chi;<sup>2</sup> = 1.07).",
	"Frequency responses (phase and modulation) of <strong>Alexa 488</strong> in water acquired on ChronosFD&trade; using a <strong>472-nm laser diode</strong>. The emission was collected with a 550-nm long pass filter. The data is best fitted with a single exponential decay time of 4.1 ns (&chi;<sup>2</sup> = 1.08).",
	"Frequency responses (phase and modulation) of <strong>2-Aminoacridone</strong> in water acquired on ChronosFD&trade; using a <strong>445-nm laser diode</strong>. The emission was collected with a 472-nm long pass filter. The data is best fitted with a single exponential decay time of 10.26 ns (&chi;<sup>2</sup> = 1.25).",
	"Frequency responses (phase and modulation) of <strong>Atto 425-NHS ester</strong> in water acquired on ChronosFD&trade; using a <strong>445-nm laser diode</strong>. The emission was collected with a 472-nm long pass filter. The data is best fitted with a single exponential decay time of 3.47 ns (&chi;<sup>2</sup> = 1.21).",
	"Frequency responses (phase and modulation) of <strong>Coumarin 7</strong> in EtOH acquired on ChronosFD&trade; using a <strong>445-nm laser diode</strong>. The emission was collected with a 472-nm long pass filter. The data is best fitted with a single exponential decay time of 2.62 ns (&chi;<sup>2</sup> = 1.16).",
	"Frequency responses (phase and modulation) of <strong>Lucifer Yellow CH Dilithium Salt</strong> in water acquired on ChronosFD&trade; using a <strong>445-nm laser diode</strong>. The emission was collected with a 472-nm long pass filter. The data is best fitted with a single exponential decay time of 5.05 ns (&chi;<sup>2</sup> = 1.35).",
	"Time-domain intensity decay of <strong>Fluorescein</strong> in water acquired on ChronosBH&trade; using a <strong>473-nm</strong> pulsed <strong>laser diode</strong>. The emission was collected through a 515-nm long pass filter. The data is best fitted by a single exponential decay time of 4.03 ns (&chi;<sup>2</sup> = 1.2).",
	"Time-domain intensity decay of <strong>Rhodamine 6G</strong> in water acquired on ChronosBH&trade; using a <strong>473-nm</strong> pulsed <strong>laser diode</strong>. The emission was collected through a 515-nm long pass filter. The data is best fitted by a single exponential decay time of 3.96 ns (&chi;<sup>2</sup> = 1.19).",
	"Time-domain intensity decay of <strong>Rose Bengal</strong> in water acquired on ChronosBH&trade; using a <strong>473-nm</strong> pulsed <strong>laser diode</strong>. The emission was collected through a 515-nm long pass filter. The data is best fitted by a single exponential decay time of 77 ps (&chi;<sup>2</sup> = 1.23).",
	"Time-domain intensity decay of <strong>Alexa 532</strong> in water acquired on ChronosBH&trade; using a <strong>473-nm</strong> pulsed <strong>laser diode</strong>. The emission was collected through a 515-nm long pass filter. The data is best fitted by a single exponential decay time of 2.6 ns (&chi;<sup>2</sup> = 1.19).",
	"Time-domain intensity decay of <strong>Alexa 555</strong> in water acquired on ChronosBH&trade; using a <strong>473-nm</strong> pulsed <strong>laser diode</strong>. The emission was collected through a 515-nm long pass filter. The data is best fitted by a single exponential decay time of 316 ps (&chi;<sup>2</sup> = 1.16).",
	"Time-domain anisotropy decays of <strong>Coumarin 6</strong> in ethylene glycol acquired on ChronosBH&trade; using a <strong>447-nm</strong> pulsed <strong>laser diode</strong>. The emission was collected through a long pass filter KV 505. Calculated values for &theta; = 2.6 ns with R<sub>0</sub> = 0.38 and &tau; = 2.3 ns, T = 20-21&deg;C.",
	"Time-domain anisotropy decays of <strong>Rose Bengal</strong> in water acquired on ChronosBH&trade; using a <strong>447-nm</strong> pulsed <storng>laser diode</strong>. The emission was collected through a long pass filter KV 505. Calculated values for &theta; = 0.16 ns with R<sub>0</sub> = 0.39 and &tau; = 0.075 ns, T = 20-21&deg;C.",
	"Time-domain intensity decay of <strong>Alexa 647</strong> in PBS buffer (PH = 7.4) acquired on ChronosBH&trade; using a <strong>635-nm</strong> pulsed <strong>laser diode</strong>. The emission was collected through a 665 nm long-pass filter. The data is best fitted by a single exponential decay time of 0.98 ns (&chi;<sup>2</sup> = 1.22).",
	"Time-domain intensity decay of <strong>Alexa 680</strong> in PBS buffer (PH = 7.4) acquired on ChronosBH&trade; using a <strong>635-nm</strong> pulsed <strong>laser diode</strong>. The emission was collected through a 665 nm long-pass filter. The data is best fitted by a single exponential decay time of 1.15 ns (&chi;<sup>2</sup> = 1.03).",
	"Time-domain intensity decay of <strong>Pyridine 1</strong> in PBS acquired on ChronosBH&trade; using a <strong>440-nm</strong> pulsed <strong>laser diode</strong>. The emission was collected through a 505 nm long-pass filter. The data is best fitted by a single exponential decay time of 28 ps (&chi;<sup>2</sup> = 1.12).",
	"Frequency responses (phase and modulation) of <strong>Acridine Orange</strong> in toluene acquired on ChronosFD&trade; using a <strong>473-nm laser diode</strong>. The emission was collected with a 505-nm long pass filter. The data is best fitted with a single exponential decay time of 4.44 ns (&chi;<sup>2</sup> = 1.56).",
	"Time-domain intensity decay of <strong>Acridine Orange</strong> in toluene acquired on ChronosBH&trade; using a <strong>440-nm</strong> pulsed <strong>laser diode</strong>. The emission was collected through a long pass filter KV 505. The data is best fitted by a single exponential decay time of 4.39 ns (&chi;<sup>2</sup> = 1.17).",
	"Time-domain intensity decay of <strong>p-Terphenyl</strong> in Ethanol acquired on ChronosBH&trade; using a <strong>280-nm</strong> pulsed <strong>LED</strong>. The emission was collected through a 320-nm long-pass filter. The data is best fitted by a single exponential decay time of 1.04 ns (&chi;<sup>2</sup> = 1.2).",
	"Time-domain intensity decay of <strong>PPO (2,5-diphenyl-oxazole)</strong> in Ethanol acquired on ChronosBH&trade; using a <strong>280-nm</strong> pulsed <strong>LED</strong>. The emission was collected through a 320-nm long-pass filter. The data is best fitted by a single exponential decay time of 1.44 ns (&chi;<sup>2</sup>  = 1.09).",
	"Time-domain intensity decay of <strong>Anthranilic Acid</strong> in water acquired on ChronosBH&trade; using a <strong>280-nm</strong> pulsed <strong>LED</strong>. The emission was collected through a 320-nm long-pass filter. The data is best fitted by a single exponential decay time of 8.5 ns (&chi;<sup>2</sup> = 1.09).",
	"Time-domain intensity decay of <strong>NATA</strong> in water acquired on ChronosBH&trade; using a <strong>280-nm</strong> pulsed <strong>LED</strong>. The emission was collected through a 320-nm long-pass filter. The data is best fitted by a single exponential decay time of 3.00 ns (&chi;<sup>2</sup> = 1.10).",
	"Time-domain intensity decay of <strong>Dimethyl-POPOP</strong> in Ethanol acquired on ChronosBH&trade; using a <strong>335-nm</strong> pulsed <strong>LED</strong>. The emission was collected through a 385-nm long-pass filter. The data is best fitted by a single exponential decay time of 1.425 ns (&chi;<sup>2</sup> = 1.21).",
	"Time-domain intensity decay of <strong>Anthracene</strong> in Ethanol acquired on ChronosBH&trade; using a <strong>335-nm</strong> pulsed <strong>LED</strong>. The emission was collected through a 385-nm long-pass filter. The data is best fitted by a single exponential decay time of 4.24 ns (&chi;<sup>2</sup> = 1.09).",
	"Time-domain intensity decay of <strong>Indole</strong> in water acquired on ChronosBH&trade; using a <strong>280-nm</strong> pulsed <strong>LED</strong>. The emission was collected through a 320-nm long-pass filter. The data is best fitted by a single exponential decay time of 4.43 ns (&chi;<sup>2</sup> = 1.18).",
	"Time-domain intensity decay of <strong>DFS</strong> in Cyclohexane acquired on ChronosBH&trade; using a <strong>280-nm</strong> pulsed <strong>LED</strong>. The emission was collected through a 320-nm long-pass filter. The data is best fitted by a single exponential decay time of 330 ps (&chi;<sup>2</sup> = 1.30).",
	"Time-domain intensity decay of <strong>DMS</strong> in Cyclohexane acquired on ChronosBH&trade; using a <strong>280-nm</strong> pulsed <strong>LED</strong>. The emission was collected through a 320-nm long-pass filter. The data is best fitted by a single exponential decay time of 889 ps (&chi;<sup>2</sup> = 1.32)."
	);

var alts = new Array( 
	"ICG", "2-Aminopurine", "NATA", new Array("HSA 1", "HSA 2"),
	"Fluorescein", "Cy5", "Tyrosine", new Array("Bodipy-FL", "IgG-BodipyFL", "Avidin-BodipyFL"),
	"Ethidium Bromide", "Ethidium Bromide+DNA", "Meso-tetraphenylporphyrin",
	"Rhodamine 590", "RhodamineB", "Ruthenium Complex", "Chlorophyll",
	"Amino-Acridine", "DM-POPOP", "Porphyrine", "Avidin-BodipyFL",
	"IgG-BodipyFL", "Alexa 532", "Alexa 750", "Alexa 546", "Alexa 647",
	"Alexa 680", "Alexa 700", "Anthracene", "p-Terphenyl", "Lysozyme",
	"Alexa 555", "Lysozyme", "Rose Bengal", "Coumarin 6", "Fluorescein",
	"Coumarin and BODIPY-FL Mixture", "Alexa 700", "Rose Bengal", "Indole",
	"2-Aminopurine", "Anthranilic Acid", "Erythrosin", "Rhodamine B and BODIPY-FL Mixture 3D",
	"Rhodamine B and BODIPY-FL Mixture", "TNS", new Array("TNS 1", "TNS 2", "TNS 3"),
	"Rhodamine B and BODIPY-FL Mixture", new Array("Fluorescein and Bodipy-FL", "Fluorescein and Bodipy-FL" ),
	"BBO (2,5-bis([1,1’-biphenyl]-4-yl)-oxazole)", "PPO (2,5-diphenyl-oxazole)",
	"Coumarin 6 in Ethylene Glycol", "Coumarin 6 in Propylene Glycol",
	"Coumrain 6 in Ethylene Glycol", "Coumarin 6 in Ethanol", 
	"Rhodamine 6G in Water", "UT Dots", "", "", "Fluorescein", "Coumarin 6", "Bodipy-FL", "Alexa 532", "Alexa 488",
	"2-Aminoacridone", "Atto 425", "Coumarin 7", "Lucifer Yellow CH Dilithium Salt",
	"Alexa 488", "Aminoacridone", "Atto 425-NHS ester", "Coumarin 7", "Lucifer Yellow CH Dilithium Salt",
	"Fluorescein", "Rhodamine 6G", "Rose Bengal", "Alexa 532", "Alexa 555", "Coumarin 6 (EG)", "Rose Bengal",
	"Alexa 647", "Alexa 680", "Acridine Orange", "Acridine Orange",
	"p-Terphenyl", "PPO (2,5-diphenyl-oxazole)", "Anthranilic Acid", "NATA", "Dimethyl-POPOP",
	"Anthracene", "Indole", "DFS", "DMS"
	);

function getHTML(n, label) {
	var url = getDocumentPath();
	url += "index.html?fig=" + n;
	
	/* The url must be encoded twice because apparently the window.open method
	 * decodes the whole string after being called.
	 */
	var result = "";
	if( label == undefined ) {
		result += "<a href=\"javascript:window.open('../../../email/measurements-index.php?url=" + encodeURIComponent(encodeURIComponent(url)) + "');\"><img src='../../../images/email.gif' alt='Email Example' /></a><br />";
	}
	
	if( !isArray(pictures[n-1].toString()) ) {
		return result + singleHTML(pictures[n-1], alts[n-1], captions[n-1], label);
	} else {
		for( var i = 0; i < pictures[n-1].length; i++ ) {
			if( label != undefined ) {
				result += singleHTML(pictures[n-1][i], alts[n-1][i], captions[n-1][i], label+i);
			} else {
				result += singleHTML(pictures[n-1][i], alts[n-1][i], captions[n-1][i]);
			}
		}
	}
	return result;
}

function singleHTML(src, alt, caption, label) {
	var result ="";
	result +="<p class=\"center\"><img src=\"" + src +"\" alt=\"" + alt +"\" /></p>\r\n<p>";
	if( label != undefined ) {
		result +="<span class=\"caption\">Figure " + label +".</span> ";
	}
	result += caption +"</p>\r\n";
	return result;
}

function getPC1HTML(n) {
	var result ="";
	if( !isArray(pc1pictures[n-1].toString()) ) {
		return singlePC1HTML(n, pc1pictures[n-1], pc1alts[n-1], pc1captions[n-1]);
	} else {
		for( var i = 0; i < pc1pictures[n-1].length; i++ ) {
				result += singlePC1HTML(n, pc1pictures[n-1][i], pc1alts[n-1][i], pc1captions[n-1][i]);
		}
	}
	return result;
}

function singlePC1HTML(n, src, alt, caption) {
	var result = "";
	result += "<p><img src=\"" + rd + "products/pc1/examples/" + pc1pictures[n-1] +"\" alt=\"" + pc1alts[n-1] +"\" /></p>\r\n";
	result += "<p>";
	result += pc1captions[n-1] + "</p>\r\n";
	return result;
}

function pc1enlarge( n ) {
	var w = window.open("", n, "width=635, height=530, scrollbars=yes, location=no, resizable=yes");
	var d = w.document;
	d.write("<html><head><title>Excitation and Emission Spectra - Resources - ISS</title>\r\n" );
	d.write("<link href=\"" + rd + "/styles/print.css\" rel=\"stylesheet\" type=\"text/css\" /></head><body>\r\n" );
	if( !isNumber(n) ) {
		n = hash[n];
	}
	d.write( getPC1HTML(n) );
	d.write("<input type=\"button\" value=\"Close Window\" onclick=\"window.close()\" />\r\n" );
	d.write("</body></html>" );
	d.close();
}

function enlarge( n ) {
	document.getElementById("enlargement").style.visibility = "hidden";
	document.getElementById("enlargement").style.display = "none";
	var w = window.open("", n, "width=635, height=530, scrollbars=yes, location=no, resizable=yes");
	var d = w.document;
	d.write("<html><head><title>Phase and Demodulation Data - Resources - ISS</title>\r\n" );
	d.write("<link href=\"" + rd + "styles/print.css\" rel=\"stylesheet\" type=\"text/css\" /></head><body>\r\n" );
	d.write( getHTML(n) );
	d.write("<input type=\"button\" value=\"Close Window\" onclick=\"window.close()\" />\r\n" );
	d.write("</body></html>" );
	d.close();
}

function enlargeInitialize( n ) {
	var d = document;
	d.write( getHTML(n) );
	document.getElementById('example-index').style.visibility = "hidden";
	document.getElementById('example-index').style.display = "none";
}

function paste( n, label ) {
	var d = document;
	if( isNumber(n) ) {
		d.write( getHTML(n, label) );
	} else {
		d.write( getHTML(hash[n], label) );
	}
}

function resetPicturePaths( base ) {
	for( var i = 0; i < pictures.length; i++ ) {
		if( !isArray(pictures[i].toString()) ) {
			pictures[i] = base + pictures[i];
		} else {
			for( var j = 0; j < pictures[i].length; j++ ) {
				pictures[i][j] = base + pictures[i][j];
			}
		}
	}
}