I have been using a cool js bit of code to highlight an entire row if a checkbox is ticked...found on this forum

Code:
<script language="JavaScript">

function toggle_highlight(inputTagReference)
{
	var is_checked = inputTagReference.checked; //true or false
	if(is_checked)
	{
		inputTagReference.parentNode.parentNode.style.backgroundColor="#ffffcc";
	}
	else
	{
		inputTagReference.parentNode.parentNode.style.backgroundColor="";
	}
}

</script>
..now i'm wondering if it's possible to change the bg colour of all textboxes/textareas in that row at the same time?