//	Don't do anything until the page is completely loaded and the DOM is built
window.addEvent('domready', function() {
/*
	// Look for the login link and if we find it, add the scroll javascript
	if ($('loginLink')) {
	
		//	scroll object attached to #headerNavRow
		var scroll = new Fx.Scroll('headerNavRow', {
			wait: false,
			duration: 500,
	
		});
		
		//	Listen for a click event on #loginLink and fire the scroll event
		$('loginLink').addEvent('click', function(event) {
			event = new Event(event).stop();
			scroll.toElement('loginBox');
		});
	}
*/	
	//	If there's an #accordion
	if ($('accordion')) {
		// Create an accordion effect with these presets
		var accordion = new Accordion($$('h3.acc'), $$('div.acc'), {opacity: false, alwaysHide: true, show: -1}, $('accordion'));	
	}
	
	if ($('accordion2')) {
		// Create an accordion effect with these presets
		var accordion = new Accordion($$('h3.acc'), $$('div.acc'), {opacity: false, alwaysHide: true, show: -1}, $('accordion2'));	
	}
	
});