the page. The arguments used for this function are fadeIn(Element ID, Fade Start, Fade End)

Line 7: Same as Line 6 except this time we target the element with an id attribute of galleryLYR.

Our fadeIn function looks like this:

function fadeIn(id, startfade, endfade)
{
timer = 0;
if (startfade < endfade)
{
for (i = startfade; i <= endfade; i++)
{
setTimeout("setOpacity(" + i + ",'" + id + "')", (timer * 20));
timer++;
}
}
}