/**
 * @author mizzu
 */

function FormSubmit(id)
{
	var self = this;
	this.form = document.forms[id];
}

FormSubmit.prototype.makeSubmit = function(id)
{
	var self = this;
	this.button = document.getElementById(id);

	this.button.onclick = function()
	{
		self.form.submit();
	}
}
