home *** CD-ROM | disk | FTP | other *** search
/ GameStar 2005 October / Gamestar_77_2005-10_dvd.iso / Programy / nsb-install-8-0.exe / chrome / aim.jar / content / aim / Invite_remind.js < prev    next >
Encoding:
Text File  |  2005-07-29  |  645 b   |  26 lines

  1. var addr;
  2. var senton;
  3.  
  4. function InviteRemindOnLoad() {
  5.     addr=window.arguments[0];
  6.     senton=window.arguments[1];
  7.     setInviteField(addr,senton)
  8. }
  9.  
  10. function setInviteField(invaddr,invmsg){
  11.     var invElement = document.getElementById('invitedemail');
  12.     invElement.setAttribute("value","     "+invaddr);
  13.     var mesgElement = document.getElementById('invitedmsg');
  14.     mesgElement.setAttribute("value","     "+invmsg);
  15. }
  16.  
  17. function DoRemove() {
  18.     RemoveFromInviteList(addr);
  19. }
  20.  
  21. function AnotherInvite() {
  22.     RemoveFromInviteList(addr);
  23.     window.openDialog("chrome://aim/content/InviteAFriendWizard.xul","_blank","chrome,dialog=no",addr);
  24. }
  25.  
  26.