
window.addEvent('domready', function(){
var fx = new Fx.Styles('box1', {duration:4000, wait:false});
	fx.set({'margin-top': '0px'});
	fx.start.delay(600, fx, {'margin-top': '-824px'});
});


window.addEvent('domready', function(){
			var list1 = $$('.nav2 li a');
			list1.each(function(element) {
				var fx1 = new Fx.Styles(element, {transition: Fx.Transitions.backOut, duration: 800, wait:false});
				fx1.start({'margin-top': '0px'});
				element.addEvent('mouseenter', function(){fx1.start({'margin-top': '5px'});});
				element.addEvent('mouseleave', function(){fx1.start({'margin-top': '0px'});});
			});
});


window.addEvent('domready', function(){
			var list2 = $$('.modContact');
			list2.each(function(element) {
				var fx2 = new Fx.Styles(element, {duration:400, wait:false});
				fx2.start({'opacity': '.8'});
				element.addEvent('mouseenter', function(){fx2.start({'opacity': '1'});});
				element.addEvent('mouseleave', function(){fx2.start({'opacity': '.8'});});
			});
}); 



/*window.addEvent('domready',function(){

		var hs1 = new noobSlide({
			box: $('box1'),
			items: $ES('span','box1'),
			mode: 'vertical',
			size: 300,
			startItem: 0,
			autoPlay: true

		});
		hs1.walk(0)
});*/






