
Hedera.Visits = new Class
({
	Extends: Hedera.Form

	,activate: function ()
	{
		if (!this.hash.$.to)
			this.hash.assign ({
				from: new Date (),
				to: new Date ()
			});
	}
	
	,onRefreshClick: function ()
	{
		this.$.visits.refresh ();	
	}
	
	,onSessionsClick: function ()
	{
		this.hash.setAll ({form: 'admin/connections'});
	}
});

