/**
 * JS
 * @author Darío Ruellan <druellan@ecimtech.com>
 * @copyright ecimTech 2009
 * @import: jquery.validate.pack.js
 */

$(function()
{
	$("form p:even").addClass("even");
	$("form input:checkbox").each(function()
	{
		var name = $(this).attr("name");
		$("<input>")
		.attr("type", "checkbox")
		.attr("value", " ")
		.attr("checked", "checked")
		.attr("name", name)
		.css("display", "none")
		.insertBefore(this);
	})
	
	$("#accreditation").validate(
	{
		errorPlacement: function(error, element) {},
		errorContainer: "#form_message"
	});

})

