if (document.images) { var waitImg = new Image(16,16); waitImg.src = 'http://www.teresastokes.com/store/squirrelcart/themes/teresa/wait.gif'; }