function namevalid()
{   
   var str = document.commform.txt.value;
   if (str.length >= 1)
   {      
     for (var i = 0; i < str.length; i++)
     {      
		var ch = str.substring(i, i + 1);  
		if (ch == ' ')
		{         
	   	   alert("Invalid First Name");
           	   document.commform.txt.focus();
     	   	   document.commform.txt.select();
           	   return false;
        	}
		else if (((ch < "a" || "z" < ch) && (ch < "A" || "Z" < ch)) && ch != '.' )
		{         
	   	   alert("Invalid Name");
           	   document.commform.txt.focus();
     	   	   document.commform.txt.select();
           	   return false;
        	}
           	   return true;
      } 
   }
   return true;
   document.commform.txt.select();
   document.commform.txt.focus();
}


function formload()
{
 document.commform.txt.focus();
}


function rcformload()
{
 document.newrcform.newrctxt.focus();
}
