var DesignPackForm = Class.create(
{
	initialize: function()
	{
		$$('li.buttons button').each(function(button)
		{
			button.observe('click', this.formSubmitted.bind(this));
		}.bind(this));
	},
	
	formSubmitted: function()
	{
		if($("checkbox_Urban").getValue() || $("checkbox_evolution").getValue())
		{
			
		}
		else
		{
			event.stop();
			alert("You must select either Evolution, Urban or both.");
		}
	}
});

document.observe('dom:loaded', function()
{
	if($('checkbox_Urban'))
	{
		var formValidation = new DesignPackForm();
	}
});

