Template:Chat pop-up

To add this to your profile page, edit your page, click the 'source' tab and insert this at the top "Chat module", in between four brackets.