function addMeToService(o,title,url,provider) {
  switch (provider) {

// For google
    case 'google':
    o.href = 'http://www.google.com/bookmarks/mark?op=add&bkmk=' + encodeURIComponent(url) + '&title=' + encodeURIComponent(title);
    break;

// For hatena
    case 'hatena':
    o.href = 'http://b.hatena.ne.jp/my/add.confirm?title=' + encodeURIComponent(title) + '&url=' + encodeURIComponent(url);
    break;

// For livedoor
    case 'livedoor':
    o.href = 'http://clip.livedoor.com/clip/add?jump=myclip&link=' + encodeURIComponent(url) + '&title=' + encodeURIComponent(title);
    break;

// For installing OpenSearch
    case 'OpenSearch':
    try {
      window.external.AddSearchProvider('http://www.bestgate.net/addons/opensearch.xml');
    } catch(e) {
    }
    break;

// For twitter
    case 'twitter':
    o.href = 'http://twitter.com/home?status=' + encodeURIComponent(title + ' ' + url);
    break;

// For yahoo
    case 'yahoo':
    o.href = 'http://bookmarks.yahoo.co.jp/action/bookmark?t=' + encodeURIComponent(title) + '&u=' + encodeURIComponent(url);
    break;
  }
}

