  function confirmSubmit(thisForm)
    {
	   if (thisForm.user.value == 'IBackup Username') 
	   {
	     alert('Enter your username.')
	     thisForm.user.focus(); 
	     thisForm.user.select();
		 return false;
	   }else if (!invalidUserName(thisForm.user.value))
	   {
		 alert('Enter your valid username.')
	     thisForm.user.focus(); 
	     thisForm.user.select();
		 return false;
		   
	   }
	   else
	   { 
	   //thisForm.submit();
	   return true;
	   }
   }


function invalidUserName(Str)
{
var alloweduser = "abcdefghijklmnopqrstuvwxyz0123456789_";

for(var count = 0; count < Str.length; count++)
{
if(alloweduser.indexOf(Str.substring(count, count + 1)) == -1)
{
return(true);
}
};

}

/***********************************************************************/