//var sear_empty_str = 'mp3 you looking for';
var sear_empty_str = '';

function SearchFocus(obj)
{
	if (obj.value == "" | obj.value == sear_empty_str)
		obj.value = "";
}

function SearchFocusLost(obj)
{
	if (obj.value == "")
		obj.value = sear_empty_str;
}

function BlinkRed(obj, c, timeout, old)
{
	if (c <= 0) return;
	c--;

	if (old == null | old == undefined)
	{
		old = obj.style.backgroundColor;
		obj.style.backgroundColor = 'red';
	}
	else
	{
		obj.style.backgroundColor = old;
		old = null;
	}
	window.setTimeout(function() {BlinkRed(obj, c, timeout, old)}, timeout);
}

function SearchStart(form)
{
	if (form.text.value == "" | form.text.value == sear_empty_str)
	{
		BlinkRed(form.text, 2*2, 250);
		return false;
	}
	return true;
}
