').append(t.parseHTML(e)).find(o):e)}).complete(n&&function(e,t){r.each(n,a||[e.responseText,t,e])}),this},t.each(['ajaxStart','ajaxStop','ajaxComplete','ajaxError','ajaxSuccess','ajaxSend'],function(e,i){t.fn[i]=function(e){return this.on(i,e)}}),t.expr.filters.animated=function(e){return t.grep(t.timers,function(t){return e===t.elem}).length};var ge=e.document.documentElement;function Ne(e){return t.isWindow(e)?e:9===e.nodeType?e.defaultView||e.parentWindow:!1};t.offset={setOffset:function(e,i,n){var s,a,l,u,o,c,p,d=t.css(e,'position'),f=t(e),r={};'static'===d&&(e.style.position='relative'),o=f.offset(),l=t.css(e,'top'),c=t.css(e,'left'),p=('absolute'===d||'fixed'===d)&&t.inArray('auto',[l,c])>-1,p?(s=f.position(),u=s.top,a=s.left):(u=parseFloat(l)||0,a=parseFloat(c)||0),t.isFunction(i)&&(i=i.call(e,n,o)),null!=i.top&&(r.top=i.top-o.top+u),null!=i.left&&(r.left=i.left-o.left+a),'using'in i?i.using.call(e,r):f.css(r)}},t.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each(function(i){t.offset.setOffset(this,e,i)});var i,r,o={top:0,left:0},n=this[0],s=n&&n.ownerDocument;if(s)return i=s.documentElement,t.contains(i,n)?(typeof n.getBoundingClientRect!==u&&(o=n.getBoundingClientRect()),r=Ne(s),{top:o.top+(r.pageYOffset||i.scrollTop)-(i.clientTop||0),left:o.left+(r.pageXOffset||i.scrollLeft)-(i.clientLeft||0)}):o},position:function(){if(this[0]){var e,n,i={top:0,left:0},o=this[0];return'fixed'===t.css(o,'position')?n=o.getBoundingClientRect():(e=this.offsetParent(),n=this.offset(),t.nodeName(e[0],'html')||(i=e.offset()),i.top+=t.css(e[0],'borderTopWidth',!0),i.left+=t.css(e[0],'borderLeftWidth',!0)),{top:n.top-i.top-t.css(o,'marginTop',!0),left:n.left-i.left-t.css(o,'marginLeft',!0)}}},offsetParent:function(){return this.map(function(){var e=this.offsetParent||ge;while(e&&!t.nodeName(e,'html')&&'static'===t.css(e,'position'))e=e.offsetParent;return e||ge})}}),t.each({scrollLeft:'pageXOffset',scrollTop:'pageYOffset'},function(e,i){var n=/Y/.test(i);t.fn[e]=function(o){return y(this,function(e,o,r){var s=Ne(e);return void 0===r?s?i in s?s[i]:s.document.documentElement[o]:e[o]:void(s?s.scrollTo(n?t(s).scrollLeft():r,n?r:t(s).scrollTop()):e[o]=r)},e,o,arguments.length,null)}}),t.each(['top','left'],function(e,i){t.cssHooks[i]=ce(n.pixelPosition,function(e,n){return n?(n=v(e,i),A.test(n)?t(e).position()[i]+'px':n):void 0})}),t.each({Height:'height',Width:'width'},function(e,i){t.each({padding:'inner'+e,content:i,'':'outer'+e},function(n,o){t.fn[o]=function(o,r){var s=arguments.length&&(n||'boolean'!=typeof o),a=n||(o===!0||r===!0?'margin':'border');return y(this,function(i,n,o){var r;return t.isWindow(i)?i.document.documentElement['client'+e]:9===i.nodeType?(r=i.documentElement,Math.max(i.body['scroll'+e],r['scroll'+e],i.body['offset'+e],r['offset'+e],r['client'+e])):void 0===o?t.css(i,n,a):t.style(i,n,o,a)},i,s?o:void 0,s,null)}})}),t.fn.size=function(){return this.length},t.fn.andSelf=t.fn.addBack,'function'==typeof define&&define.amd&&define('jquery',[],function(){return t});var Kt=e.jQuery,Jt=e.$;return t.noConflict=function(i){return e.$===t&&(e.$=Jt),i&&e.jQuery===t&&(e.jQuery=Kt),t},typeof i===u&&(e.jQuery=e.$=t),t});var JQueryMasked=function(){};(function(e){'function'===typeof define&&define.amd?define(['jquery'],e):e(window.jQuery||window.Zepto)})(function(e){var t=function(t,i,n){var r=this,s;t=e(t);i='function'===typeof i?i(t.val(),void 0,t,n):i;r.init=function(){n=n||{};r.byPassKeys=[9,16,17,18,36,37,38,39,40,91];r.translation={0:{pattern:/\d/},9:{pattern:/\d/,optional:!0},'#':{pattern:/\d/,recursive:!0},A:{pattern:/[a-zA-Z0-9]/},S:{pattern:/[a-zA-Z]/}};r.translation=e.extend({},r.translation,n.translation);r=e.extend(!0,{},r,n);t.each(function(){!1!==n.maxlength&&t.attr('maxlength',i.length);n.placeholder&&t.attr('placeholder',n.placeholder);t.attr('autocomplete','off');o.destroyEvents();o.events();var e=o.getCaret();o.val(o.getMasked());o.setCaret(e+o.getMaskCharactersBeforeCount(e,!0))})};var o={getCaret:function(){var e;e=0;var i=t.get(0),n=document.selection,i=i.selectionStart;if(n&&!~navigator.appVersion.indexOf('MSIE 10'))e=n.createRange(),e.moveStart('character',t.is('input')?-t.val().length:-t.text().length),e=e.text.length;else if(i||'0'===i)e=i;return e},setCaret:function(e){if(t.is(':focus')){var i;i=t.get(0);i.setSelectionRange?i.setSelectionRange(e,e):i.createTextRange&&(i=i.createTextRange(),i.collapse(!0),i.moveEnd('character',e),i.moveStart('character',e),i.select())}},events:function(){t.on('keydown.mask',function(){s=o.val()});t.on('keyup.mask',o.behaviour);t.on('paste.mask drop.mask',function(){setTimeout(function(){t.keydown().keyup()},100)});t.on('change.mask',function(){t.data('changeCalled',!0)});t.on('blur.mask',function(t){t=e(t.target);t.prop('defaultValue')!==t.val()&&(t.prop('defaultValue',t.val()),t.data('changeCalled')||t.trigger('change'));t.data('changeCalled',!1)});t.on('focusout.mask',function(){n.clearIfNotMatch&&o.val().length
i;i++){par=s[i].split('=');if(par[0]!=''){var a=par[1],d='0123456789ABCDEF',m=/^([a-zA-Z0-9\_\-\.])$/,r,l,f,p,u='';for(r=0;r';var n='&obj='+t+'&'+i;n=QueryStringToHash(n);jQuery.ajax({method:'POST',url:'../'+e,data:n}).done(function(e){jQuery('#'+t).html(e)})};cfe.cfejs_cfe_up=function(e,t,i,n){if(n==''){n='powered=circle'};n=cleanParameter(n);path=cfe.vv;pars=QueryStringToHash('cfe='+cfe.cfe+'&cfei='+cfe.cfei+'&classe='+t+'&DIV='+e+'&metodo='+i+'&'+n);jQuery.ajax({method:'POST',url:path+'cfejs_cfe.php',data:pars}).done(function(t){jQuery('#'+e).html(t)})};var url='get_object.php';cfe.post=function(e,t,i){t=tr_spaces(t);t=cleanParameter(t);var n=t;path=cfe.vv;if(i==''){var o=new Ajax.Request(path+e,{method:'post',parameters:n})}else{var o=new Ajax.Request(path+e,{method:'post',parameters:n,onComplete:cfe.prompt(i)})}};cfe.envia_site=function(e,t){var i=new Ajax.Updater(t,path+'indique_site.php',{method:'get',parameters:'comm='+e+'&div='+t,evalScripts:!0})};cfe.VirtualForm=function(e,t,i,n,o,r){if(e==''){e='#'};if(n==''){n='_self'};if(t==''){t='post'};if(r==''){r='submit'};var a=' ';$('console').innerHTML=a;if(r=='submit'){$(i).submit()}};cfe.cfejs_cfe=function(e,t,i){if(i==''){i='powered=circle'};i=cleanParameter(i+'&cfe='+cfe.cfe);path=cfe.vv;jQuery.ajax({type:'POST',url:path+'cfejs_cfe.php',cache:!1,data:'cfe='+cfe.cfe+'&cfei='+cfe.cfei+'&classe='+e+'&metodo='+t+'&'+i,dataType:'script'})};cfe.obj.div=function(e,t,i,n,o){if(n==''){n='powered=circle'};n=cleanParameter(n);path=cfe.vv;if(o!='0'&&o!=''){var r=new Ajax.PeriodicalUpdater(e,path+'cfejs_cfe.php',{method:'post',parameters:'cfe='+cfe.cfe+'&cfei='+cfe.cfei+'&classe='+t+'&metodo='+i+'&'+n,evalScripts:!0,frequency:o})}else{var r=new Ajax.Updater(e,path+'cfejs_cfe.php',{method:'post',parameters:'cfe='+cfe.cfe+'&cfei='+cfe.cfei+'&classe='+t+'&metodo='+i+'&'+n,evalScripts:!0})}};cfe.autentication=function(e){var t=new Ajax.Request('https://emporioaventura2.locaweb.com.br/loja/cfe_aut.php',{method:'post',parameters:'aut='+e,onComplete:evalResponse})};cfe.prompt=function(e){for(var t=0;t<20;t++){e=e.replace('\n','
')};jQuery.prompt(e);var i;jQuery('.jqibuttons').on('click',function(e){jQuery.prompt.close()})};cfe.escapeSpecial=function(e){e=e.replace(/&/g,'{c:E}');e=e.replace(/#/g,'{c:SHARP}');e=e.replace(/%/g,'{c:PERCENT}');e=e.replace(/=/g,'{c:EQUAL}');e=e.replace(/\?/g,'{c:INTERROGACAO}');return e};cfe.MM_goToURL=function(){var e,t=MM_goToURL.arguments;document.MM_returnValue=!1;for(e=0;e<(t.length-1);e+=2)eval(t[e]+'.location=\''+t[e+1]+'\'');window.location='http://www.uol.com.br'};MM_swapImgRestore=function(){var e,t,i=document.MM_sr;for(e=0;i&&e0&&parent.frames.length){t=parent.frames[e.substring(o+1)].document;e=e.substring(0,o)};if(!(i=t[e])&&t.all)i=t.all[e];for(n=0;!i&&n Os campos abaixo precisam ser digitados:\n'+t+' ';cfe.prompt(t);jQuery('#submit').html('Enviar.');try{Field.focus(o)}catch(e){}}};var det=function(){};det.save=function(){var s,r='',t='',n='',i='',o='';jQuery.each(jQuery('input, select ,textarea','#detalhes'),function(e){var s=this;if(s.name=='destinys'){r='destino='+s.value}else{if(s.name.substring(0,2)=='r_'&&s.value==''){if(o=='')o=s;if(i=='')i=s;t+=s.id+' , '}else if(s.name.substring(0,2)=='e_'){if(s.value==''){t+=s.id+' , ';if(i=='')i=s}else if(s.value.indexOf('@',1)==-1){t+=s.id+' (inválido), ';if(i=='')i=s}else{n+=s.name+'='+cfe.escapeSpecial(s.value)+'&'}}else if(s.name.substring(0,2)=='n_'){n+=s.name+'='+cfe.escapeSpecial(s.value)+'&'}else{n+=s.name+'='+cfe.escapeSpecial(s.value)+'&'}}});if(t==''){jQuery('#submit').html('Aguarde, processando.');cfe.caxeForm=jQuery('#botEnviar').html();jQuery('#botEnviar').html('Enviado, aguarde...').css('color','#FF3300');n+='&chave='+cfe.chave;cfe.cfejs_cfe('detalhes','form_save',n)}else{t='