if (x.readyState == 0)
{
preload.innerHTML = "initializing";
}
else if (x.readyState == 1)
{
preload.innerHTML = "processing request";
}
else if (x.readyState == 2)
{
preload.innerHTML = "request acknowledged";
}
else if (x.readyState == 3)
{
preload.innerHTML = "loading data..";
setOpacity(0, 'galleryLYR');
setOpacity(0, 'captionLYR');
}
else if (x.readyState == 4 && x.status == 200)
{
preload.innerHTML = "Standy: Fading Image In...";