window.addEvent('domready', function() {
                    $$('#nav a').each(function(el) {
                        el.addEvent('mouseover', function() {
                            new Fx.Styles(this, {duration:100}).start({
                                'background-color': '#454545',
                                'color': '#F0E8C4'
                            });
                        });
                        el.addEvent('mouseout', function() {
                            new Fx.Styles(this, {duration:250}).start({
                                'background-color': '#F0E8C4',
                                'color': '#151718'
                            });
                        });
                    });
                    
                    new Slideshow('rotator', {hu: 'http://images.tempusband.com/rotator/', duration: [1500, 8000], images: ['14.png', '17.jpg', '16.jpg', '9.jpg', '13.jpg', '6.jpg', '11.jpg', '8.jpg']});
                    
                    //var mailer = $('mailerForm');
                    //mailer.setStyle('top', mailer.getCoordinates().height*-1);
                    
                    //$('mailingList').addEvent('click', function() {
                    //    mailer.effect('top', {transition:Fx.Transitions.Cubic.easeOut}).start(0);
                    //});
                    
                    //$$('#mailerForm #cancel').addEvent('click', function() {
                    //    mailer.effect('top', {transition:Fx.Transitions.Cubic.easeOut}).start(mailer.getCoordinates().height*-1);
                    //});
                    
                    //$('mailerForm').addEvent('submit', function(e) {
                    //    e = new Event(e).stop();
                    //    var toUpdate = $('mailingMessage');
                    //    this.send({
                    //        onRequest: function() {
                    //            $('mailingMessage').setText('Sending...');
                    //        },
                    //        update: toUpdate
                    //    });
                    //    
                    //});*/
                });
