// open up the comments
function toggleMenu(div) {
	// get the child elements
	var children = $(div).childElements();
	// if the span being shown? (ignores text nodes)
	if (children[1].getStyle('display') == 'none') {
		// lets show it
		new Effect.BlindDown(children[1], {duration:0.5, transition:Effect.Transitions.Bounce});
	} /*else {
		new Effect.BlindUp(children[1]);
	}
*/}

var  scroll = {
	top: function(event) { new Effect.ScrollTo('top'); },
	bottom: function(event) { new Effect.ScrollTo('footer'); }
}

Event.observe(document, 'load', function(){
	$('go_to_top').observe('click', scroll.top);
}); 

