function login()
{	
	this.loginInit = function()
	{
	
	}

	this.loginProcess = function(data)
	{

		if(data=="1")
		{
			document.location.href="/";
		}
		else
		{
			$("form[name=login.loginProcess] p.err:eq(0)").html(lang.login.usernameOrPasswordErr);
			$("form[name=login.loginProcess] p.err:eq(0)").fadeIn();
		}
		
	};
}