var doc = document;
function gebi(i){return doc.getElementById(i);}
function setEmpty(id, text)
{
	var ipt = gebi(id);
	if (ipt.value == text)
	{
		ipt.value = '';
		ipt.className='';
	}
}

function resetText()
{
	var o = gebi("search_field");
	if (o.value == '') 
	{
		o.value='Search the site';
		o.className = 'graytxt';
	}
} 
