// Define a function to hide layers function hideSlide(name) { refSlide(name).visibility = hideName; }
// Define a function to reveal layers function showSlide(name) { refSlide(name).visibility = showName; }
// Define a central function to reference layers function refSlide(name) { if (NN) { return document.layers[name]; } else { return eval('document.all.' + name + '.style'); } }