function showhide(layer_ref)  

{
	var state = document.getElementById(layer_ref).style.display;
	
	if (state == 'block') {

		state = 'none';

	}

	else {

		state = 'block';

	}

	if (document.all) { //IS IE 4 or 5 (or 6 beta)

		eval( "document.all." + layer_ref + ".style.display = state");

	}

	if (document.layers) { //IS NETSCAPE 4 or below

		document.layers[layer_ref].display = state;

	}

	if (document.getElementById && !document.all) {

		maxwell_smart = document.getElementById(layer_ref);

		maxwell_smart.style.display = state;

	}

	return;

}




function highlightDisplay(layer_ref)  

{

	var i = 1;	
	for(i = 1; i <= 4; i++) {
		var state = document.getElementById('highlight-' + i).style.display;
	
		if (state == 'block') {
	
			showhide('highlight-' + i);
	
		}
	}
	
	showhide(layer_ref);
			
	return;

}






