when a member invites a friend a little popup box shows up, when the process is complete the success message box stays. This uses jquery to shrink that box to a dot. IT's a cool effect I use it in a LOT of message boxes that do not disappear.
in the file tellafriend.php
around line 51 find
if($_POST['submit_send']) {
Between the { and } replace with this...
###
#SteveSoft
#04-28-2012
#
$sJQuery = '<script type=text/javascript>
setTimeout( function(){
$(".msgbox_content").hide(3000);
}, 4000);</script>';
$tell_friend_text = SendTellFriend($iSenderID) ? "_Email was successfully sent" : "_Email sent failed";
$tell_friend_text = MsgBox(_t($tell_friend_text)).$sJQuery;
and there you go!