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
/
InviteAFriend1.js
< prev
next >
Wrap
Text File
|
2004-12-02
|
1KB
|
41 lines
function GetFields()
{
var emailaddress = document.getElementById("emailaddress").value;
var greeting = document.getElementById("greeting").value;
var rv = {
emailaddress: { id: "emailaddress", value: emailaddress },
greeting: { id: "greeting", value: greeting },
}
return rv;
}
function SetFields(aElement, aValue)
{
element = document.getElementById(aElement);
switch (element.id) {
case "emailaddress":
element.value = aValue;
break;
case "greeting":
element.value = aValue;
break;
}
}
function setNext(thelabel){
parent.wizardManager.wizardMap[parent.wizardManager.currentPageTag].next=thelabel
}
function InvitefriendOnload() {
if (parent.InviteScreenName !="")
document.getElementById("emailaddress").value = parent.InviteScreenName;
if (parent.inviteMsg != "")
document.getElementById("greeting").value = parent.inviteMsg;
}
function giveFocus(elementID){
nameField = document.getElementById(elementID);
setTimeout("nameField.focus()",300);
}