function swap (id) {
	if (document.getElementById("txt_" + id).style.display == 'none') {
		document.getElementById("img_" + id).src = "gfx/icon_minus.gif";
		document.getElementById("txt_" + id).style.display = "";
	}
	else {
		document.getElementById("img_" + id).src = "gfx/icon_plus.gif";
		document.getElementById("txt_" + id).style.display = "none";
	}
}

function swap_text (id) {
	if (document.getElementById("txt_" + id).style.display == 'none') {
		document.getElementById("txt_" + id).style.display = "";
	}
	else {
		document.getElementById("txt_" + id).style.display = "none";
	}
}

function swap_all () {
  var i = 1;

	if (document.getElementById("txt_" + i).style.display == 'none') {
    while ( i ) {
		document.getElementById("img_" + i).src = "gfx/icon_minus.gif";
		document.getElementById("txt_" + i).style.display = "";
		i++;
		}
	}
	else {
    while ( i ) {
		document.getElementById("img_" + i).src = "gfx/icon_plus.gif";
		document.getElementById("txt_" + i).style.display = "none";
		i++;
		}
	}

}
