<!--
// This Javascript code Copyright © 1999 The House of SYNERGY
// (http://www.thos.co.za)
// All Rights Reserved

// You may adapt this code for your Web pages, provided that this copyright
// notice is displayed in your HTML document source somewhere within the
// <script> tag. Requires Netscape Navigator 3.0 or later.

function initialise() {
   if (newBrowser == 1) {
      pageLoaded = true;
      if (window.innerHeight) {
         Y = window.innerHeight;
         X = window.innerWidth - 15;
      }
      if (document.body) {
         if (document.body.clientWidth) {
            Y = document.body.clientHeight;
            X = document.body.clientWidth;
         }
      }

      if (ns6) {X = X + 10;}
      if (opera) {X = X + 15;}

      if (document.layers) {
         document.popNav1.left = 83;
         document.popNav1.top = 93;
         document.popNav2.left = 83;
         document.popNav2.top = 93;
      }
      if (document.all) {
         document.all.popNav1.style.pixelLeft = 83;
         document.all.popNav1.style.pixelTop = 93;
         document.all.popNav2.style.pixelLeft = 83;
         document.all.popNav2.style.pixelTop = 93;
      }
      if (document.getElementById) {
         document.getElementById("popNav1").style.left = 83;
         document.getElementById("popNav1").style.top = 93;
         document.getElementById("popNav2").style.left = 83;
         document.getElementById("popNav2").style.top = 93;
      }
   }
}

function onSubNav(onOff,whichNavs2) {
   if (onOff == 1) {
	  makeVisible(1,whichNavs2); 
   } else {
      makeVisible(0,whichNavs2);
   }
}

function makeVisible(onOff,whichNavs) {
   lastOn = whichNavs;
   if (newBrowser == 1) {
         if (onOff == 1) {
            eval("document.getElementById(\""+whichNavs+"\").style.visibility = \"VISIBLE\" ");
    	 } else {
	        eval("document.getElementById(\""+whichNavs+"\").style.visibility = \"HIDDEN\" ");
	     }
   }
}

// -->
