(function(){
var photos = [{"date": "2010-02-09(Tue) 14:52", "link": "http://photomemo.jp/Confectionery/133488", "desc": "\u4e45\u3057\u3076\u308a\u306b\u6d5c\u3078\u304a\u308a\u307e\u3057\u305f\u266a\r\n\n\n\n", "img_url": "http://photomemo.jp/show_image/thumbnails_round/133488__5b0ea879a430cb96b6ff151edd05a43a.jpg?w=60&filter="}, {"date": "2010-02-08(Mon) 07:46", "link": "http://photomemo.jp/Confectionery/132926", "desc": "\u4e8c\u8272\u306b\u308f\u304b\u308c\u305f\u7a7a\u304c\u7dba\u9e97@\u666f\u8272@\u7a7a\r\n", "img_url": "http://photomemo.jp/show_image/thumbnails_round/132926__dc705191dc64b0ccf92b186aead50032.jpg?w=60&filter="}, {"date": "2010-02-07(Sun) 14:19", "link": "http://photomemo.jp/Confectionery/132524", "desc": "\u30d0\u30ec\u30f3\u30bf\u30a4\u30f3 \u30b7\u30e7\u30b3\u30e9@\u4ed5\u4e8b\r\n", "img_url": "http://photomemo.jp/show_image/thumbnails_round/132524__00016bfa90d1927bb9bd651f6f5cdf1f.jpg?w=60&filter="}, {"date": "2010-02-04(Thu) 23:42", "link": "http://photomemo.jp/Confectionery/131245", "desc": "\u3086\u308b\u3059\u304e\u301c@\u306d\u3053\r\n\n\n\n", "img_url": "http://photomemo.jp/show_image/thumbnails_round/131245__4e915030b26cadbb108839275d8baa11.jpg?w=60&filter="}, {"date": "2010-02-03(Wed) 19:23", "link": "http://photomemo.jp/Confectionery/130694", "desc": "\u6669\u3054\u98ef\u306f\u6075\u65b9\u5dfb\u304d\r\n", "img_url": "http://photomemo.jp/show_image/thumbnails_round/130694__116cbf248cead9b724a807d1ec0dde27.jpg?w=60&filter="}, {"date": "2010-02-03(Wed) 11:19", "link": "http://photomemo.jp/Confectionery/130589", "desc": "\u4eca\u65e5\u306e\u5e97\u58f2\u308a\u30c7\u30b3\r\n", "img_url": "http://photomemo.jp/show_image/thumbnails_round/130589__c4e1065a975a7fd416a9655fbaca9c4c.jpg?w=60&filter="}];
var html = '<div style="width:130px;border:solid 1px #b75a99;padding:3px 1px;background-color:#ffffff">';
html += '<a href="http://photomemo.jp/Confectionery" target="_blank">';
html += '<img src="http://photomemo.jp/img/logo_small.gif" width="128" height="22" border="0">';
html += '</a>';
for(var i = 0;i < photos.length; i ++){
   html += '<a href="' + photos[i].link + '" target="_blank">';
   html += '<img src="' + photos[i].img_url + '" style="margin:2px 1px 2px 2px;border:0px">';
   html += '</a>';
}
if(photos.length == 1){
   html += '<div style="margin:0px 3px;padding:0px;font-size:10px;color:#333">';
   html += photos[0].desc;
   html += '</div>';
   html += '<div style="margin:0px 3px;padding:0px;font-size:10px;text-align:center;font-family:helvetica,ariel;color:#333">';
   html += photos[0].date;
   html += '</div>';
}
html += '</div>';

document.write(html);
})();