// JavaScript Document

function equalHeight(group) {
var tallest = 0;
group.each(function() {
    thisHeight = $(this).innerHeight(true);
    if(thisHeight > tallest) {
        tallest = thisHeight;
    }
  });
  return tallest;
}

function height_cange(){
	var surf_prod_height = equalHeight($("#content_height"));
	//alert($("#content_height").height());
	$("#table_height").height(surf_prod_height+15);
}

jQuery(document).ready(function(){            
	jQuery("#formulario").validationEngine('attach'); 
});
			
	
function limpa(){
	$(':input','#formulario')
 		.not(':button, :submit, :reset, :hidden')
		.val('')
		.removeAttr('checked')
		.removeAttr('selected');
	jQuery('#formulario').validationEngine('hide')
}
