Posted 16 years ago
·
Author
<script language="javascript" type="text/javascript">
/*personal message:*/
var eriam3lmsg="ENTER PERSONAL MSG HERE";
/*personal message:*/
/*global vars needed for this eriamel script*/
var loggedin=0;
allTags=document.getElementById("headerbox").innerHTML.split(">");
for(i=0;i<allTags>-1)
{ idx=allTags[i+1].indexOf("Guest")*1;
var vName=allTags[i+1].substring(((idx<0)?0:idx+6),allTags[i+1].length-3);/*visitorsname*/
var loggedin=1;/*someones loggedin*/
}
allTags2=document.getElementById('headerbox').innerHTML.split('"');
for(i=0;i<allTags2>-1)
{
var usrURL=allTags2[i+1];/*the user url*/
uNR=usrURL.split('=');
uNR=uNR[1];/*the user NR*/
}
if(loggedin==1){
var Spec = '<table id="special_panel_body2" border="0" cellpadding="0" cellspacing="2" width="100%"><tr><td align="left" valign="top" width="20%"><table cellpadding="5"><tr><td>';
Spec +='<a href="/catalog/web_mypage.php?user='+uNR+'" mce_href="/catalog/web_mypage.php?user='+uNR+'">';
Spec +='<img alt="avatar image" src="http://www.imvu.com/catalog/web_av_pic.php/u/'+uNR+'/img/avatar.jpg " border="0" height="110" width="80">';
Spec +='</a></td></tr></table></td><td width="80%">';
Spec +='<a href="/catalog/web_mypage.php?user='+uNR+'" mce_href="/catalog/web_mypage.php?user='+uNR+'">';
Spec +='<span name="'+vName+'" id="specialsomeone-name">'+vName+'</span>';
Spec +='</a><br><i><font><span id="specialsomeone-message">';
Spec +=eriam3lmsg;
Spec +='</span></font></i></td></tr></table>';
document.write('<div>');
document.write(Spec);
document.write('</div>');
}
</script>