// Centering web site
    window.onload=howBig
    window.onresize=howBig

    var navAppVer = parseInt(navigator.appVersion.charAt(0))
    var navApp = navigator.appName

    function howBig() {
      var width
      var height
      var thisCSS

      winWidth = (document.all)? document.body.offsetWidth : window.innerWidth
      winHeight = (document.all)? document.body.offsetHeight : window.innerHeight
      thisCSS = (navApp != "Netscape")? document.all.tags("div")["bkgrnd"].style : (navAppVer == 4)? document.layers["bkgrnd"] : document.getElementById("bkgrnd").style

      width = eval((winWidth - iFrameWidth)/2)
      // height = eval((winHeight - iFrameHeight)/2)

      if ( width < 0 ) { width = 0 }
      if ( height < 0 ) { height = 0 }

      if(navApp == "Netscape") {
        thisCSS.top = height
        thisCSS.left = width
      } else {
        thisCSS.pixelTop = height
        thisCSS.pixelLeft = width
      }
      centerDialogPane()
    }

    function centerDialogPane() {
      cssTop = (winHeight - pFrameHeight)/2
      cssLeft = (winWidth - pFrameWidth)/2

      if(document.all) {
        document.all.tags("div")["dialogPane"].style.pixelTop = cssTop
        document.all.tags("div")["dialogPane"].style.pixelLeft = cssLeft
      } else {
        document.getElementById("dialogPane").style.top = cssTop
        document.getElementById("dialogPane").style.left = cssLeft
      }

    }

    function stLayer(stLayerName) {
      if(document.all) {
        return document.all.tags("div")[stLayerName]
      } else {
        return document.getElementById(stLayerName)
      }
    }

    function showLayer(layerName, layerState) {
      stLayer(layerName).style.visibility = layerState
    }

    function setDialogPaneObject(frame) {
      this.dialogPaneObject = frame
    }

    function getDialogPaneObject() {
      return this.dialogPaneObject
    }

    function showDialogPane(page) {
      getDialogPaneObject().src = page
      viewVallumSheet("visible")
      showLayer("dialogPane", "visible")
    }

    function hideDialogPane() {
      getDialogPaneObject().src = "pages/empty.html"
      viewVallumSheet("hidden")
      showLayer("dialogPane", "hidden")
    }
    
    function viewVallumSheet(vis) {
      showLayer("vallumSheet", vis)
    }

    <!-- Check to see if the website should open home page or a different page -->
    
    if(this.location.search.length > 0) {
      tempURL = unescape(location.search.substr(1))
      tempURLArray = tempURL.split("=")
      frameURL = tempURLArray[1]
    } else {
      frameURL = "index_1.html"
    }
  
