then set by using the existing document width minus the imported image width and then divided by 2 so as to center the image.

Line 3: We do exactly the same thing for the preloadLYR element.

Line 4: Again here we are doing the same thing for the captionLYR element.

Line 5: We set the accessLYR visibility to hidden for each subsequent page load. Both the main page and those being imported have an accessibility menu so we turn them off with JavaScript.

Line 6: This line calls a function named fadeIn. As the name implies it is the function that drives the fading effect. We delay the fading by 1300 milliseconds by using a setTimeout method to avoid flickering as the image renders on