function tellFriendPopUp(title)
{
 advAJAX.get({
url : "index.php?pid=1067",
 onSuccess : function(obj){showPseudoPopup(obj.responseText, title)},
 onError : function(){ alert('Connection Error')},
 onTimeout : function(){ alert("Connection timed out.")}
 });

}

function tellFriendPopUpSubmit(msg_wrong_mail, msg_send)
{
 if(document.getElementById('mailto').value.indexOf('@')==-1){
 alert(msg_wrong_mail);
 return false;
 }
 advAJAX.submit(document.getElementById('sendtofriendform'),{
 onSuccess : function(obj) { alert(msg_send);},
 onError : function(obj) { alert("Error: " + obj.status);}
 });
 document.getElementById('pseudo_popup').style.display='none';
 return false;
}
