function toggleSlide(box,box2){
      //Select the element you wish to slide

      var mySlide = new Fx.Slide(box);
      //Create a slide in/out
      $$('a.'+box2).addEvent('click', function(e){//add the click function (i.e on an anchor)
      e = new Event(e);//create a new event here
      mySlide.toggle();//do this to the selected element
      e.stop();//stop the event
      });
}

  