function WriteButtonLoginFB(fb_bt, onlogin)
{
	var fb_button = document.getElementById(fb_bt);
	fb_button.innerHTML = "<fb:login-button  perms=\"email,user_checkins, user_birthday,publish_stream,user_hometown,user_location,user_relationships, user_education_history, user_work_history\" onlogin=\""+onlogin+"\">Conéctate</fb:login-button>";
	FB.XFBML.parse();
}


