function searchProductValidation(textboxId)
{
	var textBox = document.getElementById(textboxId);
	if (null == textBox)
	{
		return true;
	}
	
	// get value
	var freeText = jQuery.trim(textBox.value);
	if (null == freeText || 0 == freeText.length || 'Cautati ...' == freeText)
	{
		return false;
	}
	
	// ok
	return true;
}

function searchProductOnFocus(textboxId)
{
	var textBox = document.getElementById(textboxId);
	if (null == textBox)
	{
		return;
	}

	var valueText = jQuery.trim(textBox.value);
	if (valueText == 'Cautati ...')
	{
		textBox.value = '';
	}
}

function searchProductOnBlur(textboxId)
{
	var textBox = document.getElementById(textboxId);
	if (null == textBox)
	{
		return;
	}

	var valueText = jQuery.trim(textBox.value);
	if (null == valueText || 0 == valueText.length)
	{
		textBox.value = 'Cautati ...';
	}
}