
		
	function toggle(el) {			
		// find out if we have a decent browser
		thing  = document.getElementById(el).style;
		if (thing.display == 'block') {
			thing.display = 'none';
		} else {
			thing.display = 'block';
		}
	}
	
	function flip(el) {			
		if (el != "") {
			thing  = document.getElementById(el).style;
			thing.display = 'block';
		}
	}
	
	function drop(e,t) {
	// drop function to position one div at the foot of another
	// copyright Ian Anderson MMIII. All rights reserved.
	if (document.getElementById) {
			el = document.getElementById(e);
			targ = document.getElementById(t);
			el.style.top = targ.offsetTop + targ.offsetHeight + 'px';
		}
	}

/*
	function activate(el) {			
		tabses = new Array('navabout', 'navresources', 'navclientarea')
		for (i=0; i < tabses.length ; i ++) {
			thing = document.getElementById(tabses[i]).style
			thing.display = 'none'
		}
		thing  = document.getElementById(el).style;
		thing.display = 'block';
	}
	function setImg(targ, ) {
		document.images[targ].src = eval( targ + ".src" )
		for (i=0; i < imgses.length; i++) {
			if (imgses[i] != targ) {
				document.images[imgses[i]].src = eval(imgses[i] + "Img.src") 
			}
		}
	}
	var preloadFlag = false;
	function preloadImages() {
	imgses = new Array('about', 'resources', 'clientarea');
     if (document.images) {
        aboutImg = newImage("images/tab_about_light.gif");
		resourcesImg = newImage("images/tab_resources_light.gif");
		clientareaImg = newImage("images/tab_clientarea_light.gif");
        aboutDkImg = newImage("images/tab_about_dark.gif");
		resourcesDkImg = newImage("images/tab_resources_dark.gif");
		clientareaDkImg = newImage("images/tab_clientarea_dark.gif");
		preloadFlag = true;
     }
}*/
	function newImage(arg) {
    	 	if (document.images) {
    		      	rslt = new Image();
          			rslt.src = arg;
          			return rslt;
     		}
	}
        twistyLeft = newImage("/images/twisty_left.gif");
        twistyDown = newImage("/images/twisty_down.gif");
	function flop(targ) {
		if (targ != "") {
		if (document.images[targ].src == twistyLeft.src) {
			document.images[targ].src = twistyDown.src
		} else {
			document.images[targ].src = twistyLeft.src
		}
		}
	}
	
	
function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);

