I'll give it a try, but what then happens to the quote that needs to be before preloadImages and after the last ) ? You can't nest double quotes inside double quotes, and I don't think the preloadImage function will work if it's wrapped in single quotes.