
var id_show = '';

function hide(object) {
if (document.getElementById) { // DOM3 = IE5, NS6
document.getElementById(object).style.visibility = 'hidden';
document.getElementById(object).style.display = 'none';
}
else {
if (document.layers) { // Netscape 4
document.hideshow.visibility = 'hidden';
}
else { // IE 4
document.all.hideshow.style.visibility = 'hidden';
}
}
}

function show(object) {
if (id_show != '')
  {
  	hide(id_show);
  }
id_show = object;
if (document.getElementById) { // DOM3 = IE5, NS6
document.getElementById(object).style.visibility = 'visible';
document.getElementById(object).style.display = 'block';
}
else {
if (document.layers) { // Netscape 4
document.hideshow.visibility = 'visible';
}
else { // IE 4
document.all.hideshow.style.visibility = 'visible';
}
}
}
/*
function hide(object) {
	var o = Ext.get(object);
	if (o.isVisible()) {
		id_show = '';
		o.fadeOut({
			easing: 'easeOut',
			duration: .8,
			remove: false,
			useDisplay: false
		});
	}
}

function show(object) {
	if (id_show != '') {
		hide(id_show);
	}
	var o = Ext.get(object);
	if (!o.isVisible()) {
		id_show = object;
		o.slideIn('l',{
			easing: 'easeOut',
			duration: .8,
			remove: false,
			useDisplay: false
		});
	}
}*/
