function Portal(){
	this.showComponentsAfterSetup = function(){
		[ sliderBar, mainGroupContainer, categoryContainer ].each(function(e){
			e.style.visibility = 'visible';
		});
		return false;
	};

	this.refresh = function(category, mainGroupCategory, showcase){
		if(!portal.isAnimationScheduled() && category != categorySlider.getCurrentCategory()){
			categorySlider.moveSliderBarTo(category, mainGroupCategory);
			setTimeout(function(){showcaseSwitcher.switchToShowcase(showcase);}, changeShowcaseTimeout);
		}
		return false;
	};

	this.isAnimationScheduled = function(){
		queues = Effect.Queues.instances._object;
		for(var each in queues){
			if(each && queues.hasOwnProperty(each)){
				if(queues[each].effects && queues[each].effects.length !== 0){
					return true;
				}
			}
		}
		return false;
	};
}
