For z = 0 To tabNum - 1
tabViewHeaderText(z) = domFoo.documentElement.childNodes(z).text
tabViewBodyID(z) = domFoo.documentElement.childNodes(z).getAttribute("DivID")
Next
Function ShowTabHeader()
Dim header, i
header = ""
Sub MaskAll()
Dim j
For j = 0 To tabNum - 1
Document.getElementById("Header_" & tabViewBodyID(j)).style.backgroundColor = "#F0F8FF"
Document.getElementById("Header_" & tabViewBodyID(j)).style.borderBottom = "1px solid #4682B4"
Document.getElementById(tabViewBodyID(j)).style.display = "none"
Next
End Sub
Sub SwitchToTab(divID)
MaskAll
Document.getElementById("Header_" & divID).style.backgroundColor = "#FFFFFF"
Document.getElementById("Header_" & divID).style.borderBottom = "none"
Document.getElementById(divID).style.display = "block"
End Sub
Sub Free()
Set domFoo = Nothing
Erase tabViewHeaderText
Erase tabViewBodyID
End Sub
-->
</script>
</head>