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

	var duration = 500,
	
		div = document.getElement('div.tabs');
		links = div.getElements('a'),
					
		carousel = new Carousel.Extra({
			activeClass: 'selected',
			container: 'slide',
			scroll: 2,
			circular: true,
			current: 0,
			previous: links.shift(),
			next: links.pop(),
			tabs: links,
			fx: {
			
				duration: duration
			}
		}),
		removed = 0;	
});
