function divView(elementID) {
	var element, visibility;

// this is the way the standards work
	if (document.getElementById) element = document.getElementById(elementID);
// this is the way old msie versions work
	else if (document.all) element = document.all[elementID];
// this is the way nn4 works
	else if (document.layers) element = document.layers[elementID];

	visibility = element.style;

// if the style.display value is blank we try to figure it out here
	if (visibility.display == '' && element.offsetWidth != undefined && element.offsetHeight != undefined)
		visibility.display = (element.offsetWidth != 0 && element.offsetHeight != 0)?'block':'none';
  		visibility.display = (visibility.display == '' || visibility.display == 'block')?'none':'block';
}


