
window.jz=window.JZ=window.Jz=window.jZ=jz={}
jz.AtualizaConteudo=function(html){if(jz.PainelAjax().isVisible()){jz.PainelAjax().setHTML(html);}else{$("#conteudoPagina").html(html);}}
jz.Projeto={publicPath:'',moduleName:'',controllerName:'',actionName:''}
jz.IniData={};jz.Congressista={};jz.Validacao={}
jz.Today=new Date();jz.GetPage=function(url){$.get(url,null,jz.AtualizaConteudo);return false;}
jz.Go2=function(url){if(jz.PainelAjax().isVisible()){jz.GetPage(url);}else{document.location.href=url;}
return false;}
jz.ConstroiUrlQueryFromArray=function(data){return $(data).map(function(){return jz.Funcoes.urlencode(this.toString()).replace('%2F','/');}).get().join('/');}
jz.ConstroiUrlCommon=function(){return jz.Projeto.publicPath.concat('/common/').concat(jz.ConstroiUrlQueryFromArray(arguments));}
jz.ConstroiUrlNoModule=function(){return jz.Projeto.publicPath.concat('/'+jz.ConstroiUrlQueryFromArray(arguments));}
jz.NewTab=function(url,data){if(typeof data!=undefined){}
$('<FORM/>').attr('method','get').attr('target','_blank').attr('action',url).appendTo(document.body).submit().remove();}
jQuery.fn.extend({check:function(){return $(this).attr('checked','checked');},uncheck:function(){return $(this).attr('checked','');}});if(typeof console=='undefined'){var console=new function(){this.log=function(){}}}