Hi.
This is my code:

PHP Code:
function preloadImg(url) {
        var 
temp=new Image();
        
temp.src=url;
    }
function 
imgs(){
        var 
eldocument.getElementsByTagName('img');
        for(var 
i=0,len=el.length;i<len;i++){
            
urlel.item(i).src.replace('thumbs''uploaded');
            
preloadImg(url);
            
alert(url);
            
addEvent(el.item(i),'click',popunder);
        }
    } 
Any other better ways will be gracefully appreciated

Bye.