//for applying the effects you have to include the scriptaculous.js?load=builder,dragdrop,effects'
//along with the effects.js


function toggleContent(element, effect, durationInSeconds){

    new Effect.toggle(element,effect, {duration:durationInSeconds});
}

function slideUpContent(element,durationInSeconds){

    new Effect.SlideUp(element, {duration:durationInSeconds});
}
