function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_showHideLayers() { //v6.0
  var i,p,v,obj,args=MM_showHideLayers.arguments;
  for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2];
    if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v=='hide')?'hidden':v; }
    obj.visibility=v; }
}

function MM_callJS(jsStr) { //v2.0
  return eval(jsStr)
}
//-->



	$(document).ready(function(){
		K=0;
				D=0;
						O=0;
						
		
	});

  
  
  
<!-- lance anim popout1 -->

  function show1() { //v2.0
  

  
	$('.popout3').css("visibility", "hidden");
	$('.popout2').css("visibility", "hidden");
	$('.popout1').css("visibility", "visible");
	$(document).ready(function(){
		if (D!=2) {

for (D=1; D<2; D++) 

{$(".popout1").animate({"left": "-=60px"}, 2000);}
      $(".popout1").css("left", "55px");

D=2;}


if (D==2)
{for (A=1; A<30; A++){
      $(".popout1").animate({"top": "+=5px"}, 500);
      $(".popout1").animate({"top": "-=5px"}, 500);
	} 
}});
  }
  

<!-- lance anim popout2 -->


  function show2() { //v2.0
  
	$('.popout3').css("visibility", "hidden");
	$('.popout1').css("visibility", "hidden");
	$('.popout2').css("visibility", "visible");
	$(document).ready(function(){
		if (O!=2) {
for (O=1; O<2; O++) 
{$(".popout2").animate({"top": "-=60px"}, 2000);}
    $(".popout2").css("top", "15px");

O=2;}

if (O==2)
{for (A=1; A<30; A++){
      $(".popout2").animate({"top": "+=5px"}, 500);
      $(".popout2").animate({"top": "-=5px"}, 500);
	} 
}});
  }
  

<!-- lance anim popout3 -->
  function show3() { //v2.0
	$('.popout1').css("visibility", "hidden");
	$('.popout2').css("visibility", "hidden");
	$('.popout3').css("visibility", "visible");
	$(document).ready(function(){
		if (K!=2) {
for (K=1; K<2; K++) 
{$(".popout3").animate({"top": "-=90px"}, 2000);}
    $(".popout3").css("top", "130px");

K=2;}


if (K==2)
{for (A=1; A<30; A++){
      $(".popout3").animate({"top": "+=5px"}, 500);
      $(".popout3").animate({"top": "-=5px"}, 500);
	} 
}});
  }