function Voter_LsvTrans ( lsvtrans_id, vote_sens ) {
	$("#pleaselogin").show('slow');
}

function Voter_Comment_LsvTrans ( comment_lsvtrans_id, vote_sens ) {
	$("#pleaselogin").show('slow');
}

function Voter_Lsv ( lsv_id, vote_sens ) {
	$("#pleaselogin").show('slow');
}

function vote_sondages_repondre ( url, vote ) {
	$("#pleaselogin").show('slow');
}

function Afficher_commentaire ( comment_lsvtrans_id ) {
	$("#commentaire-lsv-"+comment_lsvtrans_id).show("slow");
}

function Cacher_commentaire ( comment_lsvtrans_id ) {
	$("#commentaire-lsv-"+comment_lsvtrans_id).hide("slow");
}

function vote_sondages_plus_moins ( url, id, vote) {
	$("#pleaselogin").show('slow');
}
/* fonction à répliquer 2 fois : login & logout */
function affiche_barres_sondages ( ) { var total = 0; for ( i = 1; i <= 7; i++ ) { if ( $("#note_sondage"+i).html() ) { total += parseInt($("#note_sondage"+i).html()); } } if ( total > 0 ) { for ( i = 1; i <= 7; i++ ) { if ( $("#note_sondage"+i).html() ) { note = parseInt( $("#note_sondage"+i).html()); var taille_bar = Math.round ( 150*(note/total) ); $("#note_sondage"+i).html('<div id="prct_sondage'+i+'">&nbsp;</div>' ); $("#prct_sondage"+i).css("width", taille_bar+"px"); } else { } } } }

