function smoothScrolling() {
	// smooth scroll internal links. Thanks, mootools.
	new SmoothScroll();
}

function allowedTags() {
	// Check to see if the #some_html_is_ok exists. If it doesn't, don't run this function.
	if(!$('some-html-is-ok')) return false;
	var someHTMLIsOk = $('some-html-is-ok');
	// First, let's make #some_html_is_ok look clickable.
	someHTMLIsOk.setStyle('cursor', 'pointer');
	// Get the allowed tags from the title property
	var allowedTagsText = someHTMLIsOk.getProperty('title');
	// 	// Let's create a div. We'll use it to clear the content of any floats.
	var tooltipWrapperDiv = new Element('div');
	tooltipWrapperDiv.setStyle('clear', 'both');
	tooltipWrapperDiv.setProperty('id','allowed-tags');
	// ok, inject our new div into the DOM
	tooltipWrapperDiv.injectAfter(someHTMLIsOk);
	// This div will go inside the wrapper div above.
	var tooltipContent = new Element('div');
	// give the div an id
	tooltipContent.setProperties({id: 'allowed-tags-content'});
	// dump the allowed tags into the new div
	var tooltipText = tooltipContent.appendText(allowedTagsText);
	tooltipText.injectInside('allowed-tags');
	// a little special effects magic...
	var tooltipSlide = new Fx.Slide('allowed-tags-content', {duration: 300});
	tooltipSlide.hide();
	someHTMLIsOk.onclick = function() {tooltipSlide.toggle()}
}

// Run these functions when the DOM loads.
window.addEvent('domready', allowedTags);
window.addEvent('domready', smoothScrolling);