



//when the dom is ready
window.addEvent('domready',function() {
	new SmoothScroll({ duration:700 }, window); 
	
	if($("project")){
		var tabs = new MGFX.Tabs('.pmenu','.projects',{
			autoplay: false,
			transitionDuration:500,
			slideInterval:6000
		});
	}
	if($("gt")){
		var tabs2 = new MGFX.Tabs('.gtmenu','.gts',{
			autoplay: false,
			transitionDuration:500,
			slideInterval:6000
		});
	}

});