if (document.images) { var waitImg = new Image(16,16); waitImg.src = 'http://www.onyabags.co.nz/squirrelcart/themes/squirrelcart/wait.gif'; }