// (C) 2003 by CodeLifter.com // Free for all users, but leave in this header. // ============================== // Set the following variables... // ============================== // Set the slideshow speed (in milliseconds) var SlideShowSpeed = 3000; // Set the duration of crossfade (in seconds) var CrossFadeDuration = 2; var Picture = new Array(); // don't change this var Caption = new Array(); // don't change this var showHot = false; // don't change this // Specify the image files... // To add more images, just continue // the pattern, adding to the array below. // To use fewer images, remove lines // starting at the end of the Picture array. // Caution: The number of Pictures *must* // equal the number of Captions! Picture[1]="images/ana_cornea.jpg"; Picture[2]="images/ana_aqueous.jpg"; Picture[3]="images/ana_iris.jpg"; Picture[4]="images/ana_lens.jpg"; Picture[5]="images/ana_vitreous.jpg"; Picture[6]="images/ana_blood_vessels.jpg"; Picture[7]="images/ana_retina.jpg"; Picture[8]="images/ana_macula.jpg"; Picture[9]="images/ana_choroid.jpg"; Picture[10]="images/ana_sclera.jpg"; Picture[11]="images/ana_optic_nerve.jpg"; Caption[1] = "As light enters the eye, it first passes through a lubricating tear film that coats the cornea. The clear cornea covers the front of the eye and helps to focus incoming light."; Caption[2] = "After light passes through the cornea it travels through a clear, watery fluid called the aqueous humor. The aqueous humor circulates throughout the front part of the eye, maintaining a constant pressure inside the eye."; Caption[3] = "The iris is the colored part of the eye. As light conditions change, the iris may dilate to make the pupil bigger or constrict to make the pupil smaller. This allows more or less light into the eye."; Caption[4] = "After light travels through the pupil, it must pass through the lens. The human lens, much like the lens of a camera, is responsible for focusing light. The lens can change its shape to focus on nearby and distant objects."; Caption[5] = "After being focused by the lens, light passes through the center of the eye on its way to the retina. The eye is filled with a clear, jelly-like substance called the vitreous."; Caption[6] = "The retinal blood vessels nourish the inner layers of the retina."; Caption[7] = "The retina is a thin, light-sensitive tissue lining the back of the eye that acts much like film in a camera. Light must be properly focused onto the retina, and the surface of the retina must be flat, smooth, and in good working order to produce a clear image."; Caption[8] = "The center, or bull's eye of the retina is called the macula. The macula contains a high concentration of photoreceptor cells which convert light into nerve signals. Because of the high concentration of photoreceptors, we are able to see fine details such as newsprint with the macula. At the very center of the macula is the fovea, the site of our sharpest vision."; Caption[9] = "Behind the retina, a layer of blood vessels called the choroid supplies oxygen and nutrients to the outer layers of the retina."; Caption[10] = "The white part of the eye is called the sclera. The sclera is composed of tough, fibrous tissue that protects the inner workings of the eye."; Caption[11] = "The optic nerve is a bundle of nerve fibers which carries visual information from the eye to the brain."; // ===================================== // Do not edit anything below this line! // ===================================== var tss; var iss; var jss = 0; var pss = Picture.length-1; var preLoad = new Array(); for (iss = 1; iss < pss+1; iss++){ preLoad[iss] = new Image(); preLoad[iss].src = Picture[iss];} function control(how){ if (showHot){ if (how=="1") jss = 1; if (how=="2") jss = 2; if (how=="3") jss = 3; if (how=="4") jss = 4; if (how=="5") jss = 5; if (how=="6") jss = 6; if (how=="7") jss = 7; if (how=="8") jss = 8; if (how=="9") jss = 9; if (how=="10") jss = 10; if (how=="11") jss = 11; if (jss > (pss)) jss=1; if (jss < 1) jss = pss; if (document.all){ document.images.PictureBox.style.filter="blendTrans(duration=2)"; document.images.PictureBox.style.filter="blendTrans(duration=CrossFadeDuration)"; document.images.PictureBox.filters.blendTrans.Apply();} document.images.PictureBox.src = preLoad[jss].src; if (document.getElementById) document.getElementById("CaptionBox").innerHTML= Caption[jss]; if (document.all) document.images.PictureBox.filters.blendTrans.Play(); }}