var bucket=271;
getImageList(--bucket);


setInterval(function(){
getImageList(bucket--);setTimeout(function(){
window.stop();
document.body.innerHTML="loading ...";
var a=il.match(/\w+/gim);a.forEach(function(v,i,a){a[i]='<img src="http://127.0.0.'+(i%12+1)+'/wp1/i.imgur.com/'+v+'.jpg?resize=240,240" alt=" ... " class="c240" />'});
setTimeout(function(){document.body.innerHTML="".concat("<style>img.c240{width:240px;height:240px;background-color:#eee;margin:1px}</style>",a.join(""));},50);
},3000);
},60000);

Array.prototype.shuffle = function () {
  var tmp, current, top = this.length;
  if (top) {
    while(--top) {
      current = Math.floor(Math.random() * (top + 1));
      tmp = this[current];
      this[current] = this[top];
      this[top] = tmp;
    }
  }
  return this;
};
This entry was posted in Uncategorized and tagged . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s