function updateExample(newClass, txt) {	
	new Tip('updateExampleTip', txt, { title: 'Updated', className: newClass});
}

function initMenu() {
	$$('.menulink').each(function(element) {
		element.observe('click', function() {
			$(element.rel).scrollTo();	
		});
	});
		
	if($('toggleChangelog')) {
	$('toggleChangelog').observe('click', function() {
		new Effect.toggle($('moreChangelog'), 'blind', { duration: 0.4 });											   
	});
	}
}
document.observe('dom:loaded', initMenu);