function CheckLogin()
{
	if(!isMandatory(document.frmIndex.txtUsername))
	{
		return false;
	}
	if(!isMandatory(document.frmIndex.txtPassword))
	{
		return false;
	}
	LoginwithCert();
}
