type out document.getElementById("preloadLYR");

Line 3: Same as line 2 except we point to an element named galleryLYR.

The next change in the load_page case is seen when looking at the readystates of the xmlhttprequest object. What we are doing here is creating a little preload routine based on readystates. To do this we simply attach innerHTML to the variable preload and assign it a message for the browser to display. For example,

The next change in the load_page case is seen when looking at the readystates of the xmlhttprequest object. What we are doing here is creating a little preload routine based on readystates. To do this we simply attach innerHTML to the variable preload and assign it