//Mininav reveal & smoothscrolling

var Site = new Class({
	options: {
		scrollFX: {
			duration: 800,
			transition: Fx.Transitions.Sine.easeOut
		},
		
		accordionFX: {
			duration: 400,
			transition: Fx.Transitions.Sine.easeOut,
			show: 'none',
			start: 'all-closed',
			alwaysHide: true
		}
	},
	
	initialize: function(options) {
		this.setOptions(options);
		this.show = $$('.show');
		this.more = $$('.more');

		this.plugins();	
	},
	
	plugins: function() {
		new SmoothScroll(this.options.scrollFX);
		new Accordion(this.show, this.more, this.options.accordionFX);
	}
});
Site.implement(new Options);

window.addEvent('domready', function() {
var mySite = new Site();
});