
Vn.News = new Class
({
	Extends: Vn.Module

	,editNew: function (newId)
	{
		this.hash.set ({
			'form': 'news/new'
			,'new': newId
		});
	}

	,onEditClick: function (column, newId)
	{
		this.editNew (newId);
	}
	
	,onAddClick: function ()
	{
		this.editNew (0);
	}
});

