var parentOpen="(";var parentClose=")";window.dataLayer=window.dataLayer||[];function gtag(){dataLayer.push(arguments);} gtag('js',new Date());gtag('config','AW-629155043');var forceCapaFija=false;$(document).ready(function(){var altura=$("nav li").height();$('.art-nav>div>ul').prepend('
  • logo
  • ');$('.logoCapaFija img').css("height",altura-12);$('.logoCapaFija img').css("width","auto");$('.logoCapaFija img').css("max-height","89%");});$(document).bind('scroll',onScroll);function onScroll(){if($(document).height()>$(window).height()+$("nav.art-nav.desktop-nav").height()){if(!forceCapaFija&&$(window).scrollTop()<$("nav.art-nav.desktop-nav").height()){$(".art-nav").removeClass('capaFija');}else{$(".art-nav").addClass('capaFija');}}} function onScrollMobile(){if($(document).height()>$('body').height()+$("nav.art-nav.desktop-nav").height()){if(!forceCapaFija&&$('body').scrollTop()<$("nav.art-nav.desktop-nav").height()){$(".art-nav").removeClass('capaFija');}else{$(".art-nav").addClass('capaFija');}}} jQuery(document).ready(function(){var isOpen=false;jQuery("#miniCart").hover(function(){if(!isOpen) jQuery("#miniCartDiv").not(":animated").slideDown('500').css('display','block');isOpen=true;},function(){jQuery("#miniCartDiv").slideUp('500');isOpen=false;});});jQuery(document).ready(function(){jQuery(window).scroll(function(){jQuery(".scrollImgR.scrollScroll").each(function(index){var barra=jQuery(window).scrollTop()-jQuery(this).offset().top+jQuery(".scrollImgR.scrollScroll").height();var posicion=-(barra*0.30);jQuery(this).css({'background-position-y':(0+posicion+100)+'px'});});});var barra=jQuery(window).scrollTop()-jQuery(".scrollImgR.scrollScroll").offset().top+jQuery(".scrollImgR.scrollScroll").height();var posicion=-(barra*0.30);jQuery(".scrollImgR.scrollScroll").css({'background-position-y':(0+posicion+100)+'px'});});jQuery(document).ready(function(){});jQuery(document).ready(function(){jQuery(".clkNormas").colorbox({maxHeight:"700px",height:"90%",maxWidth:"700px",width:"90%",fixed:true});jQuery(".clkAviso").colorbox({maxHeight:"700px",height:"90%",maxWidth:"700px",width:"90%",fixed:true});jQuery(".rgpd_1nivel").mouseover(function(){jQuery(this).css("height","initial");jQuery(this).css("overflow","unset");});jQuery(".rgpd_1nivel").mouseout(function(){jQuery(this).css("height","80px");jQuery(this).css("overflow","hidden");});});function validar(){if(jQuery("#formNewsletter").valid()){addUserNewsletter();}} jQuery(document).ready(function(){jQuery("#btn_enviar").click(function(event){event.preventDefault();validar();});jQuery("#formNewsletter").validate({rules:{email:{required:true,email:true},politica:{required:true},nombre:{required:true}}});var rgpdHeight=jQuery("#div_mini_newsletter .rgpd_1nivel").css("height");jQuery("#div_mini_newsletter .rgpd_1nivel").mouseover(function(){jQuery(this).css("height","initial");jQuery(this).css("overflow","unset");});jQuery("#div_mini_newsletter .rgpd_1nivel").mouseout(function(){jQuery(this).css("height",rgpdHeight);jQuery(this).css("overflow","hidden");});});function addUserNewsletter(){jQuery.ajax({contentType:"application/x-www-form-urlencoded",type:"POST",url:"addUserNewsletter&clean=1",data:jQuery("#formNewsletter").serialize(),success:function(datos){if(datos.status=='success'){Swal.fire({title:'Registro correcto!',text:datos.message,icon:'error',confirmButtonText:'Ok',onClose:()=>{jQuery("#div_mini_newsletter").html(datos.message);}})}else{if(datos.status=='error'){Swal.fire({title:'Error!',text:datos.error_msg,icon:'error',confirmButtonText:'Ok',onClose:()=>{jQuery("#div_mini_newsletter").html(datos.error_msg);}})}}},error:function(datos){}});} var _smartsupp=_smartsupp||{};_smartsupp.key='fa2f0d4e4c856421e415fced3f71140deb587ce5';window.smartsupp||(function(d){var s,c,o=smartsupp=function(){o._.push(arguments)};o._=[];s=d.getElementsByTagName('script')[0];c=d.createElement('script');c.type='text/javascript';c.charset='utf-8';c.async=true;c.src='https://www.smartsuppchat.com/loader.js?';s.parentNode.insertBefore(c,s);})(document);window.dataLayer=window.dataLayer||[];function gtag(){dataLayer.push(arguments);} gtag('js',new Date());gtag('config','UA-168945552-1');jQuery("#div_descripcion div,#div_descripcion p,#div_descripcion span,#div_descripcion a").not(".button").css({'color':'','font-size':'','text-indent':'','background-color':'transparent'});jQuery("#div_descripcion img").css({'max-width':'700px'});jQuery(document).ready(function(){jQuery("img:not(.pixelCode)").error(function(){event.preventDefault();jQuery(this).attr("title",jQuery(this).attr("src"));jQuery(this).attr("src","/cacheimg?zc=2&w=400&h=400&src=images/no-picture.png");jQuery(this).css({"width":"100%","opacity":"0.2"});});jQuery(".vlightbox1:not(.noColorbox)").colorbox({rel:'vlightbox1',maxWidth:'100%',maxHeight:'100%',slideshow:true,slideshowSpeed:600,slideshowStart:"Continuar",slideshowStop:"Parar",current:"{current} de {total}"});jQuery('a[href$=".jpg"], a[href$=".jpeg"], a[href$=".gif"], a[href$=".png"], a[href$=".JPG"], a[href$=".JPEG"], a[href$=".GIF"], a[href$=".PNG"]').not(".noColorbox").colorbox({maxWidth:'100%',maxHeight:'100%',slideshow:true,slideshowSpeed:6000});jQuery("a[href^='http']").not("[href*='"+location.host+"']").attr('target','_blank');if($(".readmore").length){$('').insertAfter($(".readmore"));$('.readmore').toggleClass("readmore__content__close");$('.readmore').css("height",$('.readmore').data("height"));jQuery(".readmore__toggle").click(function(){$(this).prev().toggleClass("readmore__content__close");if($(this).prev().hasClass("readmore__content__close")){$(this).text("Leer más...");$(this).prev().css("height",$('.readmore').data("height"));}else{$(this).text("Leer menos...");$(this).prev().css("height","initial");}});}});jQuery(document).ready(function(){jQuery('#shareme, .shareme').sharrre({share:{facebook:true,twitter:true,googlePlus:false,pinterest:false},buttons:{googlePlus:{url:'http://audifonosgranviabilbao.com/blog-tag-tercera-edad',size:'medium',lang:'es-ES',annotation:''},facebook:{url:'http://audifonosgranviabilbao.com/blog-tag-tercera-edad',action:'like',layout:'button_count',width:'',send:'false',faces:'false',colorscheme:'',font:'',lang:'es_ES'},twitter:{url:'http://audifonosgranviabilbao.com/blog-tag-tercera-edad',count:'horizontal',via:'factinet_es',hashtags:'',related:'',lang:'es'},pinterest:{url:'http://audifonosgranviabilbao.com/blog-tag-tercera-edad',media:'https://www.factinet.com/uploads/grupos/1adfad2f176d51f7d1edd455bfc3fc9f_5576.jpg',description:'Rehabilitación del oído. Examen completo. Revisiones de por vida. Pilas durante 5 años. Nuestras consultas están formadas por audioprotesistas titulados y cualificados. Atendemos con profesionalidad, responsabilidad, eficiencia, amabilidad y vocación de servicio. Audífonos de alta generación, prácticamente invisibles. Seriedad y garantía. Servicios adaptados a las necesidades del paciente.',layout:'horizontal'}},enableHover:false,enableCounter:false,enableTracking:true});$('a[href*="#"]:not([href="#"])').click(function(event){if(typeof($($.attr(this,'href')).offset())!='undefined'){event.preventDefault();$('html, body').animate({scrollTop:$($.attr(this,'href')).offset().top-($(".capaFija").is(":visible")*-100)-100},500);}});});