= true;
		},
		datatype:"text",
		cache: false,
		async: false
	});
	return flag;
}

function f()
{
    var flag=0;
    if( login(document.getElementById('username').value, document.getElementById('password').value ) == "can_not_login" )
    {
        jAlert("Can't login please try again" , "ERROR" , 0 );
        return;
    }
    else
    {
        if (!isLoggedIn())
        {
            flag=0;
            jAlert("Authentication failed" , "ERROR" , function(e)
            {
                if(e)
        