function shareMail( contentType ) {
	if ( contentType == 'track' ) 
		ajaxCall('/share.html', "email="+ $('share_mail_dest').value +"&track="+ $('trackShared').value +"&comment="+ $('share_text').value, 'share_container');
	else if ( contentType == 'profile')
		ajaxCall('/share.html', "email="+ $('share_mail_dest').value +"&profile="+ $('trackShared').value, 'share_container');
}

function ajouterAmiShare(id) {
	$('listeAmis').value = $('listeAmis').value +','+ id;
}

function shareAmis( ) {
	ajaxCall('/share.html', "amis="+ $('listeAmis').value +"&track="+ $('trackShared').value +"&comment="+ $('share_text').value, 'share_container');
}