/**
* Autor : Rafael Nazario
* data : 6 Set 2018
*/
function addProduto(form){form.submit();}/** Fixar Footer */
(footer_fixed=()=>{
setTimeout(()=>{
_elements = ["headerTopo","myHeader","miolo","footer","pGravacao"];
//alert(_elements);
contentHeight = 0;
for(i in _elements) contentHeight += $('#'+_elements[i]).height();
if( contentHeight < $(window).height() ) $('#footer').addClass('footer-baixo');
else $('#footer').removeClass('footer-baixo');
},600);
})();
$(window).resize(()=>{ footer_fixed() });
/** */