/* 
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

$(function() {
  $("#show_api").click(function(){
    $("#row_api dl").show();
    $(this).remove();
    return false;
  });
  var isJp = $("#social_buttons").hasClass("ja_JP");
  $('#evernote').socialbutton('evernote', {
    button: isJp ? 'article-clipper-jp' : 'article-clipper',
    styling: 'full'
  });

	$('#google_plusone').socialbutton('google_plusone', {
		lang: isJp ? 'ja' : 'en',
		size: 'medium'
	});

	$('#hatena').socialbutton('hatena');

	$('#mixi_check').socialbutton('mixi_check', {
		key: 'ef95d1f2267c6dc4f10d1f997c851efed56640e9'
	});

	$('#gree').socialbutton('gree_sf', {
		button: 0
	});

	$('#twitter').socialbutton('twitter', {
		button: 'horizontal',
    text: isJp ? 'TwitRocker2 - iPhone/iPad/Android専用twitterクライアント。っべーわ。 #twitrocker' : 'TwitRocker2 - twitter client application for the next generation.',
    via: isJp ? 'TwitRockerJp' : 'iTwitRocker'
	});

	$('#facebook').socialbutton('facebook_like', {
		button: 'button_count'
	});
});
