function mail(a){window.location.href="mailto:"+a+"@activeaudio.fr"}function Banner(){this.length=Banner.arguments.length;for(var a=0;a<this.length;a++)this[a+1]=Banner.arguments[a]}var nom=new Banner("/banniere/bandeau-rntp.jpg","/banniere/ray-on-pls.jpg","/banniere/nouveau-logo.jpg","/banniere/nanterre.jpg","/banniere/hall-gare.jpg","/banniere/atrium_bnp.jpg","/banniere/bandeau_SA.jpg","/banniere/bandeau-rntp.jpg","/banniere/ray-on-pls.jpg","/banniere/westside.jpg","/banniere/accueil.jpg","/banniere/forummeyrin.jpg","/banniere/nouveau-logo.jpg","/banniere/bandeau_SA.jpg"),numero=1;function animateBanner(){document.image.src=nom[numero];numero+=1;if(numero==nom.length+1)numero=1;setTimeout(animateBanner,6E3)}function Anim(a,b,c){this.nb=a;this.prefix=b;this.suffix=c;this.curr=1;this.images=[];for(a=0;a<this.nb;++a){this.images[a]=new Image;this.images[a].src=this.prefix+this.curr+this.suffix}this.curr=0;this.next=function(){this.curr++;if(this.curr>this.nb)this.curr=1;return this.prefix+this.curr+this.suffix}}var animation=new Anim(8,"/wp-content/sagitone/principe/fonctionnement-balise-sonore-",".jpg");function animateSagitone(){if(document.sagitone_animation!=null){document.sagitone_animation.src=animation.next();setTimeout(animateSagitone,1E3)}}var animation2=new Anim(7,"/wp-content/generevac/ut26-",".png");function animateGenrevac(){if(document.genrevac_animation!=null){document.genrevac_animation.src=animation2.next();setTimeout(animateGenrevac,0.7E3)}}installAnimation=function(){animateSagitone();animateGenrevac();animateBanner()};$("#img_real_sagitone a").lightBox();$(".sadrive_col_img a").lightBox();$(".model_simu_img a").lightBox();$(".realisation_img a").lightBox();$(".mountrayon a").lightBox();
$(".team_members").css({"overflow":"hidden","width":"180px","height":"215px"});$(".team_members").click(function(){if($("#team").attr("class")=="focusmember"){$(this).css("overflow","hidden");$(this).animate({"height":"215px","width":"180px"},500,function(){$("#team").removeClass("focusmember");$(".team_members").fadeIn();});}else{$("#team").addClass("focusmember");$(".team_members").fadeOut("fast");$(this).fadeIn("fast");$(this).animate({"height":"420px","width":"585px"},500,function(){$(this).css("overflow","visible");});}window.location.href="#footer";});

