window.addEvent('domready', function() {
	var status = {
		'true': 'open',
		'false': 'close'
	};
	 

	var Start = new Fx.Slide('glowna').hide();
    var Oferta = new Fx.Slide('oferta').hide();

	$('v_toggle').addEvent('click', function(e){
		e.stop();
		Start.toggle();
		
	});
 
	$('v_toggle2').addEvent('click', function(e){
		e.stop();
		Oferta.toggle();
		
	});
	
	// When Vertical Slide ends its transition, we check for its status
	// note that complete will not affect 'hide' and 'show' methods
	myVerticalSlide.addEvent('complete', function() {
		$('vertical_status').set('html', status[myVerticalSlide.open]);
	});

 
});
