<!--
/********************************************************************************
 * Enosh Core II
 * Copyright (C) 2004-2008 by John Thomas Clark
 ********************************************************************************
 * $Id: div.js 208 2008-07-08 18:52:14Z john $
 * $Rev: 208 $
 * $Date: 2008-07-08 14:52:14 -0400 (Tue, 08 Jul 2008) $
 * $Author: john $
 ********************************************************************************
 * @package Enosh Core II
 ********************************************************************************
 */
 
function togglediv (id) {
	//safe function to hide an element with a specified id
	if (document.getElementById) { // DOM3 = IE5, NS6
		if (document.getElementById(id).style.display == 'block') {
			hidediv(id);
		} else {
			showdiv(id);
		}
	}
 
}


function hidediv(id) {
	//safe function to hide an element with a specified id
	if (document.getElementById) { // DOM3 = IE5, NS6
		document.getElementById(id).style.display = 'none';
	}
}

function showdiv(id) {
	//safe function to show an element with a specified id
		  
	if (document.getElementById) { // DOM3 = IE5, NS6
		document.getElementById(id).style.display = 'block';
	}
}

    
    
  //-->
