function setlabeltext()
{
	var inputs = $$('input.labeltext[type=text], textarea.labeltext');
	for (var i=0; i<inputs.length; i++)
	{
		inputs[i].setAttribute('label', $F(inputs[i]));
		inputs[i].onfocus = function()
		{
			if ($F(this) == this.getAttribute('label')) this.value = '';
		};
		inputs[i].onblur = function()
		{
			if ($F(this) == '') this.value = this.getAttribute('label');
		};
	}
}
function $LF(el)
{
	var value = ($(el) ? $F(el) : '');
	if ($(el) && value == $(el).getAttribute('label')) value = '';
	return value;
}
Event.observe(window, 'load', function() { setlabeltext(); });