function ltrim(str)
{
  return str.replace(/^\s+/g, '');
}
function notEmpty(e)
{
	var str = e.value;
	if(str.length == 0)
	{
		return false;
	} else {
	return true;
	}
}
function noenter() 
{
  return !(window.event && window.event.keyCode == 13);
}

function dofocus(e) 
{
	e.focus();
}
function fieldfocus(e){
setTimeout( dofocus(e) , 100 );
}

