function swtch (pid)
{
	if (document.getElementById)
	{
		piece = document.getElementById('nst' + pid);
		if (conts[pid])
		{
			piece.innerHTML = conts[pid];
			conts[pid] = '';

		}
		else
		{
			conts[pid] = piece.innerHTML;
			piece.innerHTML = '';

		}

	}
}


function button_on (bid)
{
	if (document.getElementById)
	{
		ttl = document.getElementById('ttl' + bid);
		ttl.style.color='#FFFFFF';
	}
}

function button_off (bid)
{
	if (document.getElementById)
	{
		ttl = document.getElementById('ttl' + bid);
		ttl.style.color='#000000';
	}
}

function checkForm(formID) {
	var frm = document.getElementById(formID);
	frm.elements['ch_targ'].value=frm.elements['ch_source'].value;
}