<!--
function tweet() {
  var login  = 'yoshiko';
  var apiKey = 'R_4790db153dbe89b01d13f74a5417bcf3';
  bitly = 'http://api.bit.ly/shorten' 
      + '?version=2.0.1&format=json&callback=callback'
      + '&login=' + login
      + '&apiKey=' + apiKey + '&longUrl=';
  var script = document.createElement('script');
  script.type = 'text/javascript';
  script.src = bitly + encodeURIComponent(location.href) ;
  document.body.appendChild(script);
}

function callback(bitlyResponse) {
  var title = document.title;
  var url = 'http://twitter.com/home/?status=' 
      + encodeURIComponent(
           title + ' ' 
             + bitlyResponse.results[location.href]['shortUrl']
        );
  window.open(url, "_blank");
}

document.write('<a href="javascript:tweet();" rel="nofollow"><img src="http://free-sozai.jp/twitter/twitter-bottons/twitter-botton017-green.png" border="0"/></a>');
// -->
