PHP Code:
<a onClick="window.open('sms.php?do=sms&userid=$loggedin[userid]','_blank','toolbar=no,location=no,menubar=no,width=550,height=300,resizeable=no ,status=no');return false" target="_blank" title="Send $loggedin[username] an SMS message?" href="sms.php?do=sms&userid=$loggedin[userid]">$loggedin[musername]</a>$loggedin[invisiblemark]$loggedin[buddymark]</a>
This code is better.
With the first var $loggedin[musername] you can get problems, because this var of username is with all formats (HTML, Color ect..), so is better use $loggedin[username] in the code.
The second var with $loggedin[musername] is OK.
PcFreak