HorizontalBarDigitalClock.api((Math.floor(Math.random() * QUERY.length)));
beforeSec = new Date().getSeconds();
beforeMin = new Date().getMinutes();
};
this.api = function(index)
{
var u = 'http://www.flickr.com/services/rest/?'+[
'api_key=' + '60078fa291af67d3f1bc3494238eefe5', // 他で使わないでちょ
'method=' + 'flickr.photos.search',
//'text=' + encodeURIComponent(QUERY[index]),
'tags=' + encodeURIComponent(QUERY[index]),
'per_page=' + 6,
'sort=' + 'interestingness-desc', // relevance,interestingness-desc,date-taken-desc
'format=' + 'json',
'media=' + 'photo',
'is_common=' + 'true',
'content_type=' + '1',
'privacy_filter='+ '1',
'jsoncallback=' + 'HorizontalBarDigitalClock.load'
].join('&');
var s = document.createElement('script');
s.charset = 'UTF-8';
s.id = s.src = u;
document.body.appendChild(s);
};