$(document).ready(function(){
						   $('input').focus(function(){boldifyLabel(this)}).blur(function(){regularizeLabel(this)});
						   $('textarea').focus(function(){boldifyLabel(this)}).blur(function(){regularizeLabel(this)});
						   });

function boldifyLabel(input)
{
	$('label').removeClass('boldify');
	
	var labelId = $(input).attr('id');
	$('label[for='+labelId+']').addClass('boldify');
}

function regularizeLabel(input)
{
	$('label').removeClass('boldify');
}