// JavaScript Document
window.addEvent('domready', function(){
									
//-vertical
 
 
var fx = new Fx.Styles('map', {duration:500, wait:false});
var fx2 = new Fx.Styles('toggle', {duration:500, wait:false});
var fx3 = new Fx.Styles('toggle2', {duration:500, wait:false});
	
	fx.start({
			'height' : 0,
			'width' : 0,
			'opacity' : [1,0]
		});
		fx3.start({
			'opacity': [1, 0],
			'height' : 1,
			'width' : 1
		});
	
	
 
$('toggle').addEvent('click', function(e){
		
		fx.start({
			'height' : 300,
			'width' : 500,
			'opacity' : [0,1]
		});
		fx2.start({
			'opacity': [1, 0],
			'height' : 1,
			'width' : 1
		});
		fx3.start({
			'opacity': [0, 1],
			'height' : 15,
			'width' : 150
		});
		
	
});
 

$('toggle2').addEvent('click', function(e){

		fx.start({
			'height' : 0,
			'width' : 0,
			'opacity' : [1,0]
		});
		fx2.start({
			'opacity': [0, 1],
			'height' : 15,
			'width' : 150
		});
		fx3.start({
			'opacity': [1, 0],
			'height' : 1,
			'width' : 1
		});


});
 
 


	
});
 



