/* stolen from Mutak www.mutak.com/tomislav */
/* stolen from Kiefer http://www.jocund.net/brian */
function switchVisibility(obj) {
		if(document.getElementById(obj).style.display == 'block') {
			hide(obj);
		} else {
			show(obj);
		}
}

function show(obj) {
        document.getElementById(obj).style.display = 'block';
}

function hide(obj) {
        document.getElementById(obj).style.display = 'none';
}

/*  // This doesn't work with Firefox
function switchVisibility(object) {
        if (document.layers && document.layers[object]) {
                if(document.layers[object].display == 'block') {
                        hide(object);
                } else {
                        show(object);
                }
        } else if (document.all) {
                if(document.all[object].style.display == 'block') {
                        hide(object);
                } else {
                        show(object);
                }
        }
}

function show(object) {
    if (document.layers && document.layers[object]) {
        document.layers[object].display = 'block';
    } else if (document.all) {
        document.all[object].style.display = 'block';
        }
}

function hide(object) {
    if (document.layers && document.layers[object]) {
        document.layers[object].display = 'none';
    } else if (document.all) {
        document.all[object].style.display = 'none';
        }
}

*/