var idx=12223018; var rgx=1095; var cor1="5a0000"; var dominio="https://pedidos-delivery.com"; var ed="s"; var celular="n"; userAgent = navigator.userAgent || navigator.vendor || window.opera; if( userAgent.match( /iPad/i ) || userAgent.match( /iPhone/i ) || userAgent.match( /iPod/i ) || userAgent.match( /Android/i ) ){ celular="s"; } document.write(''); document.write(''); document.write(''); userAgent = navigator.userAgent || navigator.vendor || window.opera; if( celular=="s" ){ document.write('
'); } if( celular=="n" ){ document.write('
'); document.write(''); document.write('
'); } function mudastate(){ //document.getElementById("xfrota").style.display = "visible"; if(frotastate=="v"){ fechalix() } else{ abrelix() } } // function abrelix(){ el1 = document.getElementById("xfrota"); el1.style.visibility='visible'; el2 = document.getElementById("xfexa"); el2.style.visibility='visible'; frotastate="v"; loc=dominio+'/xt/?id='+idx+'&ed='+ed+'&fch=s'; document.getElementById('xfrota').src = loc; } // function fechalix(){ el1 = document.getElementById("xfrota"); el1.style.visibility='hidden'; //document.getElementById("xfrota").style.display = "none"; el2 = document.getElementById("xfexa"); el2.style.visibility='hidden'; frotastate="h"; loc=''; document.getElementById('xfrota').src = loc; if(ed=="s"){ f1(); } } // function abre_janela(){ window.location=dominio+"/xt/?id="+idx+"&ed="+ed; } // if( celular=="n" ){ var frotastate=""; fechalix(); }