			var oldID = 'tab1';	
			window.addEvent('load', function(){

					var scroll = new Fx.Scroll('stage-wrapper', {
						wait: true,
						duration: 0,
						offset: {'x': 0, 'y': 0},
						transition: Fx.Transitions.Expo.easeInOut
					});
 
					$('tab1').addEvent('click', function(event) {
						event = new Event(event).stop();
						scroll.toElement('description1');
					});
 
					$('tab2').addEvent('click', function(event) {
						event = new Event(event).stop();
						scroll.toElement('description2');
					});
 
					$('tab3').addEvent('click', function(event) {
						event = new Event(event).stop();
						scroll.toElement('description3');
					});
					$('tab4').addEvent('click', function(event) {
						event = new Event(event).stop();
						scroll.toElement('description4');
					});
 
 
 
 var accordion = new Accordion('h3.atStart', 'div.atStart', {
	opacity: false,
	onActive: function(toggler, element){
		toggler.setStyle('color', '#ff3300');
	},
 
	onBackground: function(toggler, element){
		toggler.setStyle('color', '#222');
	}
}, $('accordion'));

				});	
	function revealProject(newID)
		{
			if (oldID == newID) {
				return;
			}/* Cancels the request if the user clicks on the active link */
			activeID = oldID;
			oldID = newID;
			
			document.getElementById(oldID).className = "active";
			if (activeID){
				document.getElementById(activeID).className = "inactive";
			}
		};
