    //scroll to top
    $$('.upButton').each(function(elm){
        Event.observe(elm, 'click', function(event) {
            scroll();
        });
    });
    


function scroll(anchor){
    if(anchor)
        new Effect.ScrollTo(anchor);
    else
        new Effect.ScrollTo("header");
}
