

function sendToFriend_Player(sSenderEmail, sRecipientEmailString, sEmailText)
{
        //alert(sSenderEmail + "\n" + sRecipientEmailString + "\n" + sEmailText);	
       var correction1 = '<TEXTFORMAT LEADING="2"><P ALIGN="LEFT"><FONT FACE="Arial" SIZE="13" COLOR="#666666" LETTERSPACING="0" KERNING="0">';
       var correction2 = '</FONT></P></TEXTFORMAT>';
       
       var correction1_2 = "%3CTEXTFORMAT%20LEADING%3D%222%22%3E%3CP%20ALIGN%3D%22LEFT%22%3E%3CFONT%20FACE%3D%22Arial%22%20SIZE%3D%2213%22%20COLOR%3D%22%23666666%22%20LETTERSPACING%3D%220%22%20KERNING%3D%220%22%3E";
       var correction2_2 = "%3C%2FFONT%3E%3C%2FP%3E%3C%2FTEXTFORMAT%3E";
       
       sSenderEmail = sSenderEmail.replace(correction1, "").replace(correction2, "");
       sRecipientEmailString = sRecipientEmailString.replace(correction1, "").replace(correction2, "");
       sEmailText = sEmailText.replace(correction1_2, "").replace(correction2_2, "");
       
       
		var url = '/system/ajax/sendToFriend/sendToFriend_Player_send.asp';
		//currentPlayingVideoId
		var params = "vId=" + currentPlayingVideoId + "&se=" + sSenderEmail + "&res=" + sRecipientEmailString + "&msg=" + sEmailText + "";
	    //alert(sSenderEmail + "\n" + sRecipientEmailString + "\n" + sEmailText);	
		var ajax = new Ajax.Updater(
										{
											success: 'serviceContainer'
										},
										url,
										{
											method: 'get', 
											parameters: params, 
											onFailure: reportError, 
											evalScripts : true,
											encoding : 'UTF-8',
											onComplete: function(response) 
																{
																} 
										}
									);

}
