home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 2005 July & August
/
PCWorld_2005-07-08_cd.bin
/
komunikace
/
netscape
/
nsb-install-8-0.exe
/
chrome
/
aim.jar
/
content
/
aim
/
AimSession.js
< prev
next >
Wrap
Text File
|
2004-12-02
|
1KB
|
54 lines
function aimSessionLogin(screenName, password)
{
if (!aimSession().IsOnline())
{
var mywindow = getsidebarframe();
var pIAimSession = aimSession();
if(pIAimSession)
pIAimSession.Login(screenName, password, mywindow);
}
}
function aimSessionLogoff()
{
var pIAimSession = aimSession();
if(pIAimSession)
pIAimSession.LogOff();
}
function aimSessionInvokeAppForm()
{
AimtoOpenWindowByType('Aim:AimApp', 'chrome://aim/content/App.xul');
}
function aimSessionCurrentScreenName()
{
var pIAimSession = aimSession();
if(pIAimSession)
return pIAimSession.CurrentScreenName;
return ""
}
function aimSessionRegister(screenName)
{
var pIAimSession = aimSession();
if(pIAimSession)
pIAimSession.RegisterScreenName(screenName);
}
function aimSessionSavePassword(password)
{
var pIAimSession = aimSession();
if(pIAimSession)
pIAimSession.SavePassword(password);
}
function aimSessionGetPassword(screenName)
{
var pIAimSession = aimSession();
if(pIAimSession)
return pIAimSession.GetSavedPassword(screenName);
}