function WM_preloadOnImages() { // Don't bother if there's no document.images if (document.images) { if (typeof(document.WM) == 'undefined'){ document.WM = new Object(); } document.WM.onImages = new Array(); // Loop through all the arguments. var argLength = WM_preloadOnImages.arguments.length; for(arg=0;arg