<!--

// settings
// the number of links that appear in the html code *before* the first top navigation link
var numLinksBeforeTopnav = 0;
// number of pixels that a dropdown layer should be positioned vertically, relative to the top left corner of the corresponding link
var navLayerOffsetTop = 18;
// number of pixels that a dropdown layer should be positioned horizontally, relative to the top left corner of the corresponding link
var navLayerOffsetLeft = -2;

// browser variables
var DOM = (document.getElementById) ? true : false;
var NN = ((navigator.appName == 'Netscape') && (parseInt(navigator.appVersion) == 4)) ? true : false;
var IE = (document.all) ? true : false;
var DHTML = (DOM || NN || IE);

// handle resize
if (NN) window.onresize=catchThatResizingSucker;
function catchThatResizingSucker() {history.go(0)}

// get object
function getObject(name) {
 if (DOM) {
  this.obj = document.getElementById(name);
  this.style = document.getElementById(name).style;
 }
 else if (IE) {
  this.obj = document.all[name];
  this.style = document.all[name].style;
 }
 else if (NN) {
  this.obj = document.layers[name];
  this.style = document.layers[name];
 }
}

// show/hide dropdowns
var showObj, hideTimeout;
function showNav(layerId, anchorNr) {
 if (!DHTML) return;
 if (hideTimeout) clearTimeout(hideTimeout);
 if (showObj) showObj.style.visibility = "hidden";
 showObj = new getObject(layerId);
 showObj.style.left = findX(document.anchors[anchorNr + numLinksBeforeTopnav - 1]) + navLayerOffsetLeft;
 showObj.style.visibility = "visible";
}
function hideNav(id) {
 if (!DHTML) return;
 if (hideTimeout) clearTimeout(hideTimeout);
 hideTimeout = setTimeout('showObj.style.visibility = "hidden"', 1000);
}

// find position of anchor (for dropdown positioning)
function findX(obj) {
 var curleft = 0;
 if (DOM || IE) {
  while (obj.offsetParent) {
   curleft += obj.offsetLeft
   obj = obj.offsetParent;
  }
 }
 else if (NN) curleft += obj.x;
 return curleft;
}
function findY(obj) {
 var curtop = 0;
 if (DOM || IE) {
  while (obj.offsetParent) {
   curtop += obj.offsetTop;
   obj = obj.offsetParent;
  }
 }
 else if (NN) curtop += obj.y;
 return curtop;
}

// -->
<!--
function colorTd (id, col) {
	if (document.getElementById)
		document.getElementById('nt'+id).style.background=col;
}
//-->