if (document.images)
{
 preload_image = new Image(32,32);
 preload_image.src="/images/ajax-loader.gif"; 
}