<!--
	function getObj(name)
	{
		if (document.getElementById)
		{
			this.obj = document.getElementById(name);
			this.style = document.getElementById(name).style;
		}
		else if (document.all[name])
		{
			this.obj = document.all(name);
			this.style = document.all(name).style;
		}
		else if (document.layers)
		{
			this.obj = document.layers(name);
			this.style = document.layers(name);
		}
	}

var prev_div = "0"; 
	function expand(cdiv)
	{	var x = new getObj(cdiv); 		// gets the ID of the current div via DOM checking
		var y = new getObj(prev_div); 	// gets the ID of the previous div via DOM checking
		if (cdiv != prev_div) {
			if (x.style.display == 'block') 								// if the display is BLOCK 
			{ x.style.display = 'none'; }									// change it to NONE 
			else { x.style.display = 'block'; }								// change it to BLOCK
			if (y.style.display == 'block') 								// if the display is BLOCK 
			{ y.style.display = 'none'; }									// change it to NONE
			else { y.style.display = 'block'; }								// change it to BLOCK			
		}
		else { 							// the current div IS the previous div
			if (x.style.display == 'block') 								// if the display is BLOCK 
			{ x.style.display = 'none'; }									// change it to NONE 
			else { x.style.display = 'none'; }								// change it to NONE
			if ((x.style.display == 'none') && (y.style.display == 'none')) {
			cdiv="0";
			}			
		}
		prev_div = cdiv;
	}
	
function open_div(div_ID){
	var x = new getObj(div_ID);
	x.style.display = (x.style.display == 'block') ? 'none' : 'block';
}
	
	
	
//-->