/*
===================================================
By Xploïse,  http://www.xploise.nl

Fade function from: http://www.liquidpulse.net/code/javascript/styles/thealphaeffect
Adjusted to crossbrowser (gecko) functionality

getObj from: http://www.quirksmode.org/js/dhtmloptions.html

slide funtion from: http://home.arcor.de/michaels.interface/dhtml.htm
Completely rebuild to slide multiple layers... Basically changed to a DHTML slide menu
===================================================
*/

var DHTML = (document.getElementById || document.all || document.layers);

/* 
general function to get object and style info of a layer
*/

function getObj(name)
{
  if (document.getElementById)
  {
  	this.obj = document.getElementById(name);
	this.style = document.getElementById(name).style;
  }
  else if (document.all)
  {
	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];
  }
}


function expand(id){
		if (!DHTML) return;
		var x = new getObj(''+id+'');
         if(x.style.display == 'none')
 {
  x.style.display = 'block';
 }
 else
 {
 	x.style.display = 'none';
 }
}
