Function SetMainCookie(TheValueOfCookie) SetCookie"MainInputCookie", TheValueOfCookie End Function Function GetMainCookie() MainInput.value=GetCookie("MainInputCookie") End Function Function SetPassCookie(TheValueOfCookie) SetCookie"PassInputCookie", TheValueOfCookie End Function Function GetPassCookie() PassInput.value=GetCookie("PassInputCookie") End Function Function ClearPassInput() PassInput.value="" End Function Function ShowSubmittedPage() window.location.replace "formsubmitted.htm" End Function Function ShowMainPage() window.location.replace "main.htm" End Function Function ShowHomePage() window.location.replace "http://mysite.verizon.net/resvyte7/ " '"sitebuildercontent/sitebuilderfiles/removeframes.htm" End Function Function FocusItem(TheItemToFocus) TheItemToFocus.Focus() End Function Function SetPassBox(Text) PassBox.Value=Text End Function Function CheckMainCookie() If(GetCookie("MainInputCookie")="")Then ShowMainPage() End If End Function Function CheckPassCookie() If(GetCookie("PassInputCookie")="")Then ShowMainPage() End If End Function Function ResetPassBox() SetPassBox("Your unlock code is:"+CHR(13)+"d4od43il"+Chr(13)+"Enter the above code to unlock any program.") End Function Function BlurFocus() Window.Focus End Function Function SignOff(ReloadPage) SetMainCookie"" SetPassCookie"" SetLogonText"" GetMainCookie() GetPassCookie() If(ReloadPage=True)Then Window.Location.Reload() End If End Function Function LogOff() SetMainCookie"" GetMainCookie() SetPassCookie"" ClearLogonText() SetLocation"" ShowSubmittedPage() End Function Function SetLocation(TheLocation) SetCookie"LocationCookie", TheLocation End Function Function GoToLocation() Window.Location.Replace(GetCookie("LocationCookie")) End Function Function SetLogonText(LogonText) SetCookie"LogonText", LogonText End Function Function GetLogonText() If(GetCookie("LogonText")="")Then LogonText.Value="" LogonText.Style.Display="None" Else LogonText.Value=GetCookie("LogonText") LogonText.Style.Display="" End If End Function Function ClearLogonText() SetCookie"LogonText", "" End Function