function checkUncheckAll(theElement, nameWith)
{
	var theForm = theElement.form, z = 0;
	for(z=0; z < theForm.length; z++)
	{
		if(theForm[z].type == 'checkbox' && theForm[z].name.match(nameWith))
		{
			theForm[z].checked = theElement.checked;
		}
	}
}
function copyToAll(theElement, nameWith)
{
	var theForm = theElement.form, z = 0;
	for(z=0; z < theForm.length; z++)
	{
		if(theForm[z].type == 'text' && theForm[z].name.match(nameWith))
		{
			theForm[z].value = theElement.value;
		}
	}
}