
/* Merged Plone Javascript file
 * This file is dynamically assembled from separate parts.
 * Some of these parts have 3rd party licenses or copyright information attached
 * Such information is valid for that section,
 * not for the entire composite file
 * originating files are separated by - filename.js -
 */

/* - sensenova.js - */
// http://sensenova.com.br/portal_javascripts/sensenova.js?original=1
jQuery(document).ready(function(){jQuery("#pfg-fieldsetname-primeiro-filho").hide()
jQuery("#pfg-fieldsetname-segundo-filho").hide()
jQuery("#pfg-fieldsetname-terceiro-filho").hide()
jQuery("#pfg-fieldsetname-quarto-filho").hide()
jQuery("#pfg-fieldsetname-quinto-filho").hide()
jQuery("#pfg-fieldsetname-sexto-filho").hide()
jQuery("#voce-tem-filhos-1").change(function(){if(jQuery("#voce-tem-filhos-1").val()=="Nenhum"){jQuery("#pfg-fieldsetname-primeiro-filho").hide()
jQuery("#pfg-fieldsetname-segundo-filho").hide()
jQuery("#pfg-fieldsetname-terceiro-filho").hide()
jQuery("#pfg-fieldsetname-quarto-filho").hide()
jQuery("#pfg-fieldsetname-quinto-filho").hide()
jQuery("#pfg-fieldsetname-sexto-filho").hide()}
if(jQuery("#voce-tem-filhos-1").val()=="1"){jQuery("#pfg-fieldsetname-primeiro-filho").show()
jQuery("#pfg-fieldsetname-segundo-filho").hide()
jQuery("#pfg-fieldsetname-terceiro-filho").hide()
jQuery("#pfg-fieldsetname-quarto-filho").hide()
jQuery("#pfg-fieldsetname-quinto-filho").hide()
jQuery("#pfg-fieldsetname-sexto-filho").hide()}
if(jQuery("#voce-tem-filhos-1").val()=="2"){jQuery("#pfg-fieldsetname-primeiro-filho").show()
jQuery("#pfg-fieldsetname-segundo-filho").show()
jQuery("#pfg-fieldsetname-terceiro-filho").hide()
jQuery("#pfg-fieldsetname-quarto-filho").hide()
jQuery("#pfg-fieldsetname-quinto-filho").hide()
jQuery("#pfg-fieldsetname-sexto-filho").hide()}
if(jQuery("#voce-tem-filhos-1").val()=="3"){jQuery("#pfg-fieldsetname-primeiro-filho").show()
jQuery("#pfg-fieldsetname-segundo-filho").show()
jQuery("#pfg-fieldsetname-terceiro-filho").show()
jQuery("#pfg-fieldsetname-quarto-filho").hide()
jQuery("#pfg-fieldsetname-quinto-filho").hide()
jQuery("#pfg-fieldsetname-sexto-filho").hide()}
if(jQuery("#voce-tem-filhos-1").val()=="4"){jQuery("#pfg-fieldsetname-primeiro-filho").show()
jQuery("#pfg-fieldsetname-segundo-filho").show()
jQuery("#pfg-fieldsetname-terceiro-filho").show()
jQuery("#pfg-fieldsetname-quarto-filho").show()
jQuery("#pfg-fieldsetname-quinto-filho").hide()
jQuery("#pfg-fieldsetname-sexto-filho").hide()}
if(jQuery("#voce-tem-filhos-1").val()=="5"){jQuery("#pfg-fieldsetname-primeiro-filho").show()
jQuery("#pfg-fieldsetname-segundo-filho").show()
jQuery("#pfg-fieldsetname-terceiro-filho").show()
jQuery("#pfg-fieldsetname-quarto-filho").show()
jQuery("#pfg-fieldsetname-quinto-filho").show()
jQuery("#pfg-fieldsetname-sexto-filho").hide()}
if(jQuery("#voce-tem-filhos-1").val()=="6 ou mais"){jQuery("#pfg-fieldsetname-primeiro-filho").show()
jQuery("#pfg-fieldsetname-segundo-filho").show()
jQuery("#pfg-fieldsetname-terceiro-filho").show()
jQuery("#pfg-fieldsetname-quarto-filho").show()
jQuery("#pfg-fieldsetname-quinto-filho").show()
jQuery("#pfg-fieldsetname-sexto-filho").show()}})});jQuery(document).ready(function(){jQuery("#pfg-fieldsetname-primeiro-carro").hide()
jQuery("#pfg-fieldsetname-segundo-carro").hide()
jQuery("#pfg-fieldsetname-terceiro-carro").hide()
jQuery("#pfg-fieldsetname-quarto-carro").hide()
jQuery("#quantos-automoveis-voce-possui").change(function(){if(jQuery("#quantos-automoveis-voce-possui").val()=="Nenhum"){jQuery("#pfg-fieldsetname-primeiro-carro").hide()
jQuery("#pfg-fieldsetname-segundo-carro").hide()
jQuery("#pfg-fieldsetname-terceiro-carro").hide()
jQuery("#pfg-fieldsetname-quarto-carro").hide()}
if(jQuery("#quantos-automoveis-voce-possui").val()=="1"){jQuery("#pfg-fieldsetname-primeiro-carro").show()
jQuery("#pfg-fieldsetname-segundo-carro").hide()
jQuery("#pfg-fieldsetname-terceiro-carro").hide()
jQuery("#pfg-fieldsetname-quarto-carro").hide()}
if(jQuery("#quantos-automoveis-voce-possui").val()=="2"){jQuery("#pfg-fieldsetname-primeiro-carro").show()
jQuery("#pfg-fieldsetname-segundo-carro").show()
jQuery("#pfg-fieldsetname-terceiro-carro").hide()
jQuery("#pfg-fieldsetname-quarto-carro").hide()}
if(jQuery("#quantos-automoveis-voce-possui").val()=="3"){jQuery("#pfg-fieldsetname-primeiro-carro").show()
jQuery("#pfg-fieldsetname-segundo-carro").show()
jQuery("#pfg-fieldsetname-terceiro-carro").show()
jQuery("#pfg-fieldsetname-quarto-carro").hide()}
if(jQuery("#quantos-automoveis-voce-possui").val()=="4 ou mais"){jQuery("#pfg-fieldsetname-primeiro-carro").show()
jQuery("#pfg-fieldsetname-segundo-carro").show()
jQuery("#pfg-fieldsetname-terceiro-carro").show()
jQuery("#pfg-fieldsetname-quarto-carro").show()}})});jQuery(document).ready(function(){jQuery("#edit_form_idade_0_year").appendTo(".plone_jscalendar");jQuery("#edit_form_idade_0_day").prependTo(".plone_jscalendar");jQuery(".plone_jscalendar > a").appendTo(".plone_jscalendar")});

/* - sensenova_tooltip_files/jquery.tooltip.pack.js - */
// http://sensenova.com.br/portal_javascripts/sensenova_tooltip_files/jquery.tooltip.pack.js?original=1
eval(function(p,a,c,k,e,r){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}(';(8($){j e={},9,m,B,A=$.2u.2g&&/29\\s(5\\.5|6\\.)/.1M(1H.2t),M=12;$.k={w:12,1h:{Z:25,r:12,1d:19,X:"",G:15,E:15,16:"k"},2s:8(){$.k.w=!$.k.w}};$.N.1v({k:8(a){a=$.1v({},$.k.1h,a);1q(a);g 2.F(8(){$.1j(2,"k",a);2.11=e.3.n("1g");2.13=2.m;$(2).24("m");2.22=""}).21(1e).1U(q).1S(q)},H:A?8(){g 2.F(8(){j b=$(2).n(\'Y\');4(b.1J(/^o\\(["\']?(.*\\.1I)["\']?\\)$/i)){b=1F.$1;$(2).n({\'Y\':\'1D\',\'1B\':"2r:2q.2m.2l(2j=19, 2i=2h, 1p=\'"+b+"\')"}).F(8(){j a=$(2).n(\'1o\');4(a!=\'2f\'&&a!=\'1u\')$(2).n(\'1o\',\'1u\')})}})}:8(){g 2},1l:A?8(){g 2.F(8(){$(2).n({\'1B\':\'\',Y:\'\'})})}:8(){g 2},1x:8(){g 2.F(8(){$(2)[$(2).D()?"l":"q"]()})},o:8(){g 2.1k(\'28\')||2.1k(\'1p\')}});8 1q(a){4(e.3)g;e.3=$(\'<t 16="\'+a.16+\'"><10></10><t 1i="f"></t><t 1i="o"></t></t>\').27(K.f).q();4($.N.L)e.3.L();e.m=$(\'10\',e.3);e.f=$(\'t.f\',e.3);e.o=$(\'t.o\',e.3)}8 7(a){g $.1j(a,"k")}8 1f(a){4(7(2).Z)B=26(l,7(2).Z);p l();M=!!7(2).M;$(K.f).23(\'W\',u);u(a)}8 1e(){4($.k.w||2==9||(!2.13&&!7(2).U))g;9=2;m=2.13;4(7(2).U){e.m.q();j a=7(2).U.1Z(2);4(a.1Y||a.1V){e.f.1c().T(a)}p{e.f.D(a)}e.f.l()}p 4(7(2).18){j b=m.1T(7(2).18);e.m.D(b.1R()).l();e.f.1c();1Q(j i=0,R;(R=b[i]);i++){4(i>0)e.f.T("<1P/>");e.f.T(R)}e.f.1x()}p{e.m.D(m).l();e.f.q()}4(7(2).1d&&$(2).o())e.o.D($(2).o().1O(\'1N://\',\'\')).l();p e.o.q();e.3.P(7(2).X);4(7(2).H)e.3.H();1f.1L(2,1K)}8 l(){B=S;4((!A||!$.N.L)&&7(9).r){4(e.3.I(":17"))e.3.Q().l().O(7(9).r,9.11);p e.3.I(\':1a\')?e.3.O(7(9).r,9.11):e.3.1G(7(9).r)}p{e.3.l()}u()}8 u(c){4($.k.w)g;4(c&&c.1W.1X=="1E"){g}4(!M&&e.3.I(":1a")){$(K.f).1b(\'W\',u)}4(9==S){$(K.f).1b(\'W\',u);g}e.3.V("z-14").V("z-1A");j b=e.3[0].1z;j a=e.3[0].1y;4(c){b=c.2o+7(9).E;a=c.2n+7(9).G;j d=\'1w\';4(7(9).2k){d=$(C).1r()-b;b=\'1w\'}e.3.n({E:b,14:d,G:a})}j v=z(),h=e.3[0];4(v.x+v.1s<h.1z+h.1n){b-=h.1n+20+7(9).E;e.3.n({E:b+\'1C\'}).P("z-14")}4(v.y+v.1t<h.1y+h.1m){a-=h.1m+20+7(9).G;e.3.n({G:a+\'1C\'}).P("z-1A")}}8 z(){g{x:$(C).2e(),y:$(C).2d(),1s:$(C).1r(),1t:$(C).2p()}}8 q(a){4($.k.w)g;4(B)2c(B);9=S;j b=7(2);8 J(){e.3.V(b.X).q().n("1g","")}4((!A||!$.N.L)&&b.r){4(e.3.I(\':17\'))e.3.Q().O(b.r,0,J);p e.3.Q().2b(b.r,J)}p J();4(7(2).H)e.3.1l()}})(2a);',62,155,'||this|parent|if|||settings|function|current||||||body|return|||var|tooltip|show|title|css|url|else|hide|fade||div|update||blocked|||viewport|IE|tID|window|html|left|each|top|fixPNG|is|complete|document|bgiframe|track|fn|fadeTo|addClass|stop|part|null|append|bodyHandler|removeClass|mousemove|extraClass|backgroundImage|delay|h3|tOpacity|false|tooltipText|right||id|animated|showBody|true|visible|unbind|empty|showURL|save|handle|opacity|defaults|class|data|attr|unfixPNG|offsetHeight|offsetWidth|position|src|createHelper|width|cx|cy|relative|extend|auto|hideWhenEmpty|offsetTop|offsetLeft|bottom|filter|px|none|OPTION|RegExp|fadeIn|navigator|png|match|arguments|apply|test|http|replace|br|for|shift|click|split|mouseout|jquery|target|tagName|nodeType|call||mouseover|alt|bind|removeAttr|200|setTimeout|appendTo|href|MSIE|jQuery|fadeOut|clearTimeout|scrollTop|scrollLeft|absolute|msie|crop|sizingMethod|enabled|positionLeft|AlphaImageLoader|Microsoft|pageY|pageX|height|DXImageTransform|progid|block|userAgent|browser'.split('|'),0,{}))

/* - sensenova_tooltip_files/jquery.bgiframe.js - */
// http://sensenova.com.br/portal_javascripts/sensenova_tooltip_files/jquery.bgiframe.js?original=1
(function($){$.fn.bgIframe=$.fn.bgiframe=function(s){if($.browser.msie&&parseInt($.browser.version)<=6){s=$.extend({top:'auto',left:'auto',width:'auto',height:'auto',opacity:true,src:'javascript:false;'},s||{});var prop=function(n){return n&&n.constructor==Number?n+'px':n},html='<iframe class="bgiframe"frameborder="0"tabindex="-1"src="'+s.src+'"'+'style="display:block;position:absolute;z-index:-1;'+(s.opacity!==false?'filter:Alpha(Opacity=\'0\');':'')+'top:'+(s.top=='auto'?'expression(((parseInt(this.parentNode.currentStyle.borderTopWidth)||0)*-1)+\'px\')':prop(s.top))+';'+'left:'+(s.left=='auto'?'expression(((parseInt(this.parentNode.currentStyle.borderLeftWidth)||0)*-1)+\'px\')':prop(s.left))+';'+'width:'+(s.width=='auto'?'expression(this.parentNode.offsetWidth+\'px\')':prop(s.width))+';'+'height:'+(s.height=='auto'?'expression(this.parentNode.offsetHeight+\'px\')':prop(s.height))+';'+'"/>';return this.each(function(){if($('> iframe.bgiframe',this).length==0)
this.insertBefore(document.createElement(html),this.firstChild)})}
return this};if(!$.browser.version)
$.browser.version=navigator.userAgent.toLowerCase().match(/.+(?:rv|it|ra|ie)[\/: ]([\d.]+)/)[1]})(jQuery);

/* - sensenova_tooltip_files/jquery.dimensions.js - */
// http://sensenova.com.br/portal_javascripts/sensenova_tooltip_files/jquery.dimensions.js?original=1
(function($){var height=$.fn.height,width=$.fn.width;$.fn.extend({height: function(){if(this[0]==window)
return self.innerHeight||$.boxModel&&document.documentElement.clientHeight||document.body.clientHeight;if(this[0]==document)
return Math.max(document.body.scrollHeight,document.body.offsetHeight);return height.apply(this,arguments)},width: function(){if(this[0]==window)
return self.innerWidth||$.boxModel&&document.documentElement.clientWidth||document.body.clientWidth;if(this[0]==document)
return Math.max(document.body.scrollWidth,document.body.offsetWidth);return width.apply(this,arguments)},innerHeight: function(){return this[0]==window||this[0]==document?this.height():this.is(':visible')?this[0].offsetHeight-num(this,'borderTopWidth')-num(this,'borderBottomWidth'):this.height()+num(this,'paddingTop')+num(this,'paddingBottom')},innerWidth: function(){return this[0]==window||this[0]==document?this.width():this.is(':visible')?this[0].offsetWidth-num(this,'borderLeftWidth')-num(this,'borderRightWidth'):this.width()+num(this,'paddingLeft')+num(this,'paddingRight')},outerHeight: function(){return this[0]==window||this[0]==document?this.height():this.is(':visible')?this[0].offsetHeight:this.height()+num(this,'borderTopWidth')+num(this,'borderBottomWidth')+num(this,'paddingTop')+num(this,'paddingBottom')},outerWidth: function(){return this[0]==window||this[0]==document?this.width():this.is(':visible')?this[0].offsetWidth:this.width()+num(this,'borderLeftWidth')+num(this,'borderRightWidth')+num(this,'paddingLeft')+num(this,'paddingRight')},scrollLeft: function(val){if(val!=undefined)
return this.each(function(){if(this==window||this==document)
window.scrollTo(val,$(window).scrollTop());else
this.scrollLeft=val});if(this[0]==window||this[0]==document)
return self.pageXOffset||$.boxModel&&document.documentElement.scrollLeft||document.body.scrollLeft;return this[0].scrollLeft},scrollTop: function(val){if(val!=undefined)
return this.each(function(){if(this==window||this==document)
window.scrollTo($(window).scrollLeft(),val);else
this.scrollTop=val});if(this[0]==window||this[0]==document)
return self.pageYOffset||$.boxModel&&document.documentElement.scrollTop||document.body.scrollTop;return this[0].scrollTop},position: function(options,returnObject){var elem=this[0],parent=elem.parentNode,op=elem.offsetParent,options=$.extend({margin:false,border:false,padding:false,scroll:false},options||{}),x=elem.offsetLeft,y=elem.offsetTop,sl=elem.scrollLeft,st=elem.scrollTop;if($.browser.mozilla||$.browser.msie){x+=num(elem,'borderLeftWidth');y+=num(elem,'borderTopWidth')}
if($.browser.mozilla){do{if($.browser.mozilla&&parent!=elem&&$.css(parent,'overflow')!='visible'){x+=num(parent,'borderLeftWidth');y+=num(parent,'borderTopWidth')}
if(parent==op) break} while((parent=parent.parentNode)&&(parent.tagName.toLowerCase()!='body'||parent.tagName.toLowerCase()!='html'))}
var returnValue=handleOffsetReturn(elem,options,x,y,sl,st);if(returnObject){$.extend(returnObject,returnValue);return this}
else{return returnValue}},offset: function(options,returnObject){var x=0,y=0,sl=0,st=0,elem=this[0],parent=this[0],op,parPos,elemPos=$.css(elem,'position'),mo=$.browser.mozilla,ie=$.browser.msie,sf=$.browser.safari,oa=$.browser.opera,absparent=false,relparent=false,options=$.extend({margin:true,border:false,padding:false,scroll:true,lite:false},options||{});if(options.lite) return this.offsetLite(options,returnObject);if(elem.tagName.toLowerCase()=='body'){x=elem.offsetLeft;y=elem.offsetTop;if(mo){x+=num(elem,'marginLeft')+(num(elem,'borderLeftWidth')*2);y+=num(elem,'marginTop')+(num(elem,'borderTopWidth') *2)} else
if(oa){x+=num(elem,'marginLeft');y+=num(elem,'marginTop')} else
if(ie&&jQuery.boxModel){x+=num(elem,'borderLeftWidth');y+=num(elem,'borderTopWidth')}} else{do{parPos=$.css(parent,'position');x+=parent.offsetLeft;y+=parent.offsetTop;if(mo||ie){x+=num(parent,'borderLeftWidth');y+=num(parent,'borderTopWidth');if(mo&&parPos=='absolute') absparent=true;if(ie&&parPos=='relative') relparent=true}
op=parent.offsetParent;if(options.scroll||mo){do{if(options.scroll){sl+=parent.scrollLeft;st+=parent.scrollTop}
if(mo&&parent!=elem&&$.css(parent,'overflow')!='visible'){x+=num(parent,'borderLeftWidth');y+=num(parent,'borderTopWidth')}
parent=parent.parentNode} while(parent!=op)}
parent=op;if(parent.tagName.toLowerCase()=='body'||parent.tagName.toLowerCase()=='html'){if((sf||(ie&&$.boxModel))&&elemPos!='absolute'&&elemPos!='fixed'){x+=num(parent,'marginLeft');y+=num(parent,'marginTop')}
if((mo&&!absparent&&elemPos!='fixed')||(ie&&elemPos=='static'&&!relparent)){x+=num(parent,'borderLeftWidth');y+=num(parent,'borderTopWidth')}
break}} while(parent)}
var returnValue=handleOffsetReturn(elem,options,x,y,sl,st);if(returnObject){$.extend(returnObject,returnValue);return this}
else{return returnValue}},offsetLite: function(options,returnObject){var x=0,y=0,sl=0,st=0,parent=this[0],op,options=$.extend({margin:true,border:false,padding:false,scroll:true},options||{});do{x+=parent.offsetLeft;y+=parent.offsetTop;op=parent.offsetParent;if(options.scroll){do{sl+=parent.scrollLeft;st+=parent.scrollTop;parent=parent.parentNode} while(parent!=op)}
parent=op} while(parent&&parent.tagName.toLowerCase()!='body'&&parent.tagName.toLowerCase()!='html');var returnValue=handleOffsetReturn(this[0],options,x,y,sl,st);if(returnObject){$.extend(returnObject,returnValue);return this}
else{return returnValue}}});var num=function(el,prop){return parseInt($.css(el.jquery?el[0]:el,prop))||0};var handleOffsetReturn=function(elem,options,x,y,sl,st){if(!options.margin){x-=num(elem,'marginLeft');y-=num(elem,'marginTop')}
if(options.border&&($.browser.safari||$.browser.opera)){x+=num(elem,'borderLeftWidth');y+=num(elem,'borderTopWidth')} else if(!options.border&&!($.browser.safari||$.browser.opera)){x-=num(elem,'borderLeftWidth');y-=num(elem,'borderTopWidth')}
if(options.padding){x+=num(elem,'paddingLeft');y+=num(elem,'paddingTop')}
if(options.scroll){sl-=elem.scrollLeft;st-=elem.scrollTop}
return options.scroll?{top:y-st,left:x-sl,scrollTop:st,scrollLeft:sl}:{top:y,left:x}}})(jQuery);

