home *** CD-ROM | disk | FTP | other *** search
- '////////////////////////////////////////////////////////////////////////////////////////////
- '//
- '// PRODUCT: Norton Internet Security/Symantec Desktop Firewall
- '//
- '// NAME: wiz-HN.vbs (VBScript file for wiz-HN.HTM)
- '//
- '// Copyright (c) 2001 by Symantec Corporation. All rights reserved.
- '//
- '////////////////////////////////////////////////////////////////////////////////////////////
-
- dim g_szBack
- dim g_szNext
- dim g_szCancel
- dim g_szFinish
-
- ' Set a few vars
- g_szBack = StrID("BackB")
- g_szNext = StrID("NextB")
- g_szCancel = StrID("CancelB")
- g_szFinish = StrID("FinishB")
-
- sub Cancel_OnClick()
- returnValue = ""
- window.navigate("res://closeme.xyz")
- end sub
-
- sub BackBtn_OnClick()
- ' Find the active page, front to back (if we are not disabled)
- if PageA.style.display = "" then
- alert("Error")
- end if
-
- if PageB.style.display = "" then
- PageB.style.display = "none"
- PageA.style.display = ""
- BackBtn.disabled = true
- FixBtnText(false)
- end if
-
- if PageC.style.display = "" then
- PageC.style.display = "none"
- PageB.style.display = ""
- NextBtn.disabled = false
- FixBtnText(false)
- end if
-
- if PageOldC.style.display = "" then
- PageOldC.style.display = "none"
- PageC.style.display = ""
- FixBtnText(false)
- end if
-
-
- end sub
-
- function FixBtnText(bFinish)
- if bFinish = true then
- NextBtn.style.display = "none"
- FinishBtn.style.display = ""
- else
- NextBtn.style.display = ""
- FinishBtn.style.display = "none"
- end if
- end function
-
- Function makeMsgBox(title,mess,icon,buts,defbut,mods)
- butVal = buts + (icon*16) + (defbut*256) + (mods*4096)
- makeMsgBox = MsgBox(mess,butVal,title)
- End Function
-