function LoginCore() {
	this.currentPage = Object();
	this.ident ='';
	
	this.Add = function(ident,path,id,title) {
		
		 this.ident = ident;
		 var data = new Object();	
		 data['ident'] = ident; 
		 data['id'] = id; 
		 data['title'] = title;
		 data['path'] = path;
		 
		 data['widget'] = 'login';

		 this.InitializeRequest('POST', '/ajax.php');
         this.Commit(postquery(data));	
	}
		
	this.OnSuccess = function()
      {
      	//alert(this.GetResponseText());
      	eval(this.GetResponseText());
      	// fade(0,"form_"+this.ident);
      	// $("loading_"+this.ident).style.display = 'none';
      }

}

LoginCore.prototype = new ajax();
Login = new LoginCore();

