// Place your application-specific JavaScript functions and classes here
// This file is automatically included by javascript_include_tag :defaults

function setCurrentBannerMenuItem(menu_item, section_div) {
	// De-current-ize all the menu options
	$$('.banners-menu-item').each(function(element) {element.removeClassName('current')});
	
	// Hide all sections
	$$('.banners').each(Element.hide);
	
	// Show & highlight the selected option
	$(menu_item).addClassName('current');
	$(section_div).show();
}