// *LATER: assign these to a texbox object at runtime so caller doesn't need to assign event handlers

function tbFocus(s, defaultText)
{
	var o;
	if (typeof(MM_findObj) != 'undefined' && (o = MM_findObj(s)) && o.type && o.type == 'text') {
		if (defaultText && o.value == defaultText) 
			o.value = '';
	}
}
function tbBlur(s, defaultText)
{
	var o;
	if (typeof(MM_findObj) != 'undefined' && (o = MM_findObj(s)) && o.type && o.type == 'text') {
		if (typeof(defaultText) != 'undefined' && defaultText && o.value == '')
			o.value = defaultText;
	}
}

