function is_empty(str)
{
	return ( str==null || str==0 || str=="" || str.length<1 );
} // is_empty


function is_numeric(str)
{
	regularExp = new RegExp("^[0-9-.]*$");
	return regularExp.test(str);
} // is_numeric


 function is_email(str)
{
	return ( ( str.indexOf("@")>0 ) && ( str.indexOf(".")>0 ) );
} // is_email


function clear_form(frm) {
	frm.reset();
} //clear_form

