function clearField(fieldName)
{
	document.getElementById(fieldName).value = '';
}

//auto blanks a formfield where f is the formfields name and t is the checkbox associated with it
function autoBlank(t, f)
{
	if(!t.checked)
	{
		f.value = '';
	}
}

function autoUnCheck(t)
{
	t.checked=false;
}

//auto checks a checkbox where t is the name/id of the checkbox
function autoCheck(t)
{
	t.checked=true;
}

function enableCheckBox(t)
{
	t.disabled = false;
}

function disableCheckBox(t)
{
	t.disabled = true;
}