$(document).ready( function() {

	$("input.jq-input-text").focus( inputFocus ).blur( inputBlur ).keyup( inputChange ).change( inputChange ).val('');

});

function inputFocus()
{
	$("label.jq-label[for=" + $(this).attr('id') + "]").css('color', '#CCC');
}

function inputBlur()
{
	$("label.jq-label[for=" + $(this).attr('id') + "]").css('color', '');
}

function inputChange()
{
	var inputStr = $(this).val();
	
	if( inputStr.length > 0 )
	{
		$("label.jq-label[for=" + $(this).attr('id') + "]").css('display', 'none');
	}
	else
	{
		$("label.jq-label[for=" + $(this).attr('id') + "]").css('display', '');
	}
}
