$(document).ready(function(){$('img.lazyload').Lazy({scrollDirection:'vertical',effect:'fadeIn',visibleOnly:true,onError:function(element){console.log('error loading '+element.data('src'));},afterLoad:function(element){}});});var parentOpen="(";var parentClose=")";$(document).ready(function(){});$('a[href*=#]').click(function(event){$('html, body').animate({scrollTop:$($.attr(this,'href')).offset().top},500);event.preventDefault();});setTimeout("wowColorBox()",2000);function wowColorBox(){$(".fAlbum .ws_cover a").colorbox({maxWidth:'100%',maxHeight:'100%'});} $(document).ready(function(){$(".responsive li.equipo a span").on("click",function(){$(".slide#equipo").show();$('html, body').animate({scrollTop:$(".slide#equipo").offset().top},500);});$(".liLogo").insertBefore($(".contenedores"));$(".divBlogPost").before($(".scrollImgR"));$(".divBlogPost").before($(".scrollImg"));});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');}}} var SITE_URL='https://www.factinet.com/';var IMGS_URL='https://www.factinet.com/includes/sliders/demo-2/data1';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;});});$(document).ready(function(){vph=$(window).height();vpw=$(window).width();$(".youtube:not(.socialIcon)").colorbox({iframe:true,maxWidth:840,maxHeight:475,width:vpw,height:vph,fixed:true});resizeDiv2();});window.onresize=function(event){resizeDiv2();} function resizeDiv2(){vpw=$(window).width();vph=$(window).height();if(vpw<800){$('.art-post .sliderContainer, .art-post .rsImg').css({'height':vph+'px'});}} $(".divImgLogo").show();jQuery(document).ready(function($){oSlider=$('#full-width-slider').royalSlider({arrows:true,arrowsAutoHide:true,arrowsNav:true,arrowsNavAutoHide:false,arrowLeft:"includes/css/images/arrow-left.png",arrowRight:"includes/css/images/arrow-right.png",loop:true,keyboardNavEnabled:true,controlsInside:false,imageScaleMode:'fill',autoScaleSlider:true,controlNavigation:'thumbnails',thumbsFitInViewport:true,navigateByClick:true,startSlideId:0,usePreloader:false,autoPlay:{enabled:true,pauseOnHover:false,delay:5000},transitionType:'fade',globalCaption:false}).data("royalSlider");$(".rsArrowLeft").css("top",($(window).height()/2)+"px");$(".rsArrowRight").css("top",($(window).height()/2)+"px");resizeRoyaSlider();});$(window).on("resize",function(){resizeRoyaSlider();});function resizeRoyaSlider(){$(".sliderContainer").css("height",$(".rsOverflow").height());$(".royalSlider").css("height",$(".rsOverflow").height());} $(document).ready(function(){$(".art-hmenu li, .art-vmenu li, .art-slidemenu li").each(function(index){$(this).attr("data-slide",$(this).attr("class"))}) $("body").addClass("parallax");}) jQuery(window).scroll(function(){jQuery(".scrollImg.scrollIdeas").each(function(index){var barra=jQuery(window).scrollTop()-jQuery(this).offset().top+550;var posicion=(barra*0.30);jQuery(this).css({'background-position-y':(0+posicion-200)+'px'});});var barra=jQuery(window).scrollTop()-jQuery(".scrollImg.scrollIdeas").offset().top+550;var posicion=(barra*0.30);jQuery(".scrollImg.scrollIdeas").css({'background-position-y':(0+posicion-200)+'px'});});jQuery(window).scroll(function(){jQuery(".scrollImg.scrollContenedor").each(function(index){var barra=jQuery(window).scrollTop()-jQuery(this).offset().top+550;var posicion=(barra*0.30);jQuery(this).css({'background-position-y':(0+posicion-200)+'px'});});var barra=jQuery(window).scrollTop()-jQuery(".scrollImg.scrollContenedor").offset().top+550;var posicion=(barra*0.30);jQuery(".scrollImg.scrollContenedor").css({'background-position-y':(0+posicion-200)+'px'});});$(document).ready(function(){resizeDiv();});$(document).on('click touchstart','.art-sheet',function(event){if($(".art-menu").is(":visible")==true) $(".art-menu-btn").trigger("click")}) window.onresize=function(event){resizeDiv();} function resizeDiv(){vpw=$(window).width();vph=$(window).height();$('.slide').css({'min-height':vph+'px'});} $('a[href*=#]').click(function(event){$('html, body').animate({scrollTop:$($.attr(this,'href')).offset().top},500);event.preventDefault();});var lat='40.423545';var lon='-3.709659';var map;function createHomeLatLngMap(lat,lng){map=$("#map_canvas").goMap({zoom:15,maptype:'ROADMAP',mapTypeControl:true,places:"off",latitude:lat,longitude:lng});} $(document).ready(function(){createHomeLatLngMap(lat,lon);});window.dataLayer=window.dataLayer||[];function gtag(){dataLayer.push(arguments);} gtag('js',new Date());gtag('config','UA-3938643-34');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://sikar-technology.com/index.html',size:'medium',lang:'es-ES',annotation:''},facebook:{url:'http://sikar-technology.com/index.html',action:'like',layout:'button_count',width:'',send:'false',faces:'false',colorscheme:'',font:'',lang:'es_ES'},twitter:{url:'http://sikar-technology.com/index.html',count:'horizontal',via:'factinet_es',hashtags:'',related:'',lang:'es'},pinterest:{url:'http://sikar-technology.com/index.html',media:'https://www.factinet.com/uploads/grupos/4e909c42c16660b7a9b71b321922b43e_logo_sikar_technology.png',description:'Empresa dedicada a la Fabricación de Cuadros Eléctricos, Potencia, Control Numérico, PLC, instalaciones con puesta en marcha de equipos en procesos industriales, contando con profesionales ingenieros, técnicos superiores en instalaciones industriales, domótica, Fotovoltaica, instalaciones en baja y media tensión, todo nuestro personal cualificado cuyo objetivo establecer las mejores opciones al cliente e implementarlo con la mayor seguridad y profesionalidad.',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);}});});