/*
- So that this is more accesible, display the div/table/whatevers to be hidden normally. Then set display: none; using JS, 
  so people with JS off can still see the content
*/

var isDHTML=0;
var isID=0;
var isAll=0;
var isLayers=0;

if (document.getElementById) {isID = 1; isDHTML = 1;}
else
{
	if (document.all) {isAll = 1; isDHTML = 1;}
	else {browserVersion=parseInt(navigator.appVersion);
		  if ((navigator.appName.indexOf('Netscape') != -1) && (browserVersion==4)) {isLayers=1; isDHTML=1;}}
}

function togDeets(name) {
	if (isID) {	var x = document.getElementById(name).style; }
	else 
	{ if (isAll) { var x = document.all[name].style; } 
		else
		{ if (isLayers) { var x = document.layers[name].style ; }
		}
	}
	
	if (isID) {	var y = document.getElementById('icon_'+name); }
	else 
	{ if (isAll) { var y = document.all['icon_'+name]; } 
		else
		{ if (isLayers) { var y = document.layers['icon_'+name]; }
		}
	}
	
	if (x.display == 'block') {
		x.display = 'none';
	} else {
		x.display = 'block';
	}
	
  if(y.getAttribute('src') == '/img/plus.gif') {
		y.setAttribute('src','/img/minus.gif');		
  } else {
		y.setAttribute('src','/img/plus.gif');
	}
}