var counter = 1;
    function loadImage(){
          switch(counter){
                case 1:
                      new Effect.Opacity('1Feature', {duration:1.0,from:1.0,to:0.0});
                      new Effect.Opacity('2Feature', {duration:1.0,from:0.0,to:1.0});
                      $('2Feature').style.zIndex="5";
                      $('1Feature').style.zIndex="1";
                      break;
                case 2:
                      new Effect.Opacity('2Feature', {duration:1.0,from:1.0,to:0.0});
                      new Effect.Opacity('3Feature', {duration:1.0,from:0.0,to:1.0});
                      $('3Feature').style.zIndex="5";
                      $('2Feature').style.zIndex="1";
                      break;
                default:
                      counter = 0;
                      new Effect.Opacity('3Feature', {duration:1.0,from:1.0,to:0.0});
                      new Effect.Opacity('1Feature', {duration:1.0,from:0.0,to:1.0});
                      $('1Feature').style.zIndex="5";
                      $('3Feature').style.zIndex="1";
          }
          counter++;
          setTimeout("changeImage()",3000);
    }
    function changeImage(){
          setTimeout("loadImage();",1600);
    }
    setTimeout("changeImage()",3000);
