// JavaScript Document
function Collapsed(id) {
	if (document.all) obj = document.all(id).style;
		else if (document.getElementById) obj = document.getElementById(id).style;

	if (obj) obj.display = (obj.display == 'block' ? 'none' : 'block');
}
function CollapsedSwitch(id, sw, button) {
	if (document.all) obj = document.all(id).style;
		else if (document.getElementById) obj = document.getElementById(id).style;
	if (document.all) obj2 = document.all(button);
		else if (document.getElementById) obj2 = document.getElementById(button);

	if (obj) obj.display = (sw == 0 ? 'none' : 'block');
	if (obj2) obj2.innerHTML = (sw == 0 ? '<img src="img/expand.gif" alt="Expand" width="14" height="14" />' : '<img src="img/collapse.gif" alt="Collapse" width="14" height="14" />');
}
function CollapsedPara(id, id2, button) {
	if (document.all) obj = document.all(id2);
		else if (document.getElementById) obj = document.getElementById(id2);

	if (obj) obj.value = (obj.value == 1 ? 0 : 1);

	CollapsedSwitch(id, obj.value, button)
}
