// JavaScript Document
var count = 0;
var firststart = 1;
function loopHead(){
    if(firststart){
      //alert("first start triggered");
      //new Effect.Fade($('loop3'));
      //new Effect.Fade($('loop2'));
       document.getElementById('loop1').style.visibility = "visible";
       document.getElementById('loop2').style.visibility = "visible";
      
      firststart = 0;
    }
    if(count == 0){
      new Effect.Fade($('loop3'));
    }
    if(count == 1){
      new Effect.Fade($('loop2'));
    }
    if(count == 2){
       new Effect.Appear($('loop2'));
    }
    if(count == 3){
     new Effect.Appear($('loop3'));
     count = 0;
    }else{
     
     count++;
    }
}
