new Request.Flickr({username: 'cocakl',amount: 20, 
                     size: 's',tags: 'hackday'},{
     onSuccess: function(o) {
            if(window.console){console.log(o);}
             $('badge').set('html',o.results[0]);
     },
     onRequest: function(srcScript,scriptEl) {
            if(window.console){console.log(scriptEl);}
            new Element('span',{'class': 'loading'})
                .set('text','Loading...')
                .inject($('badge'));
     }
}).send();