function login(a,b){	error=" ";// usuario		usuariovacio=vacio(a);	if (usuariovacio==0)	{			error=error+"\n Ingrese el nombre de Usuario";	}	//  clave	clavevacio=vacio(b);	if(clavevacio==0)	{		error=error+"\n Ingrese su Clave";	}//  *********************		if(error.length>1)	{		alert(error);		return false;	}	else	{		return true;	}	}function vacio(a){	r=a.length;	bandera=0;					if(r==0)	{		return 0;	}	else	{			for(i=0; i<r; i++)		{			if(a.charAt(i)!=" ")			{				bandera=1;			}		}				if(bandera==1)		{			return 1;		}		else		{			return 0;		}	}}