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

	var myVerticalSlide = new Fx.Slide('vertical_slide');
	myVerticalSlide.hide();
	$('vertical_slide').setStyle('display', 'block');
	$('v_toggle').addEvent('click', function(e){
		e.stop();
		myVerticalSlide.toggle();
	});
	
	$('abrirDominio1').addEvents({
		'mouseenter': function(){
			// Always sets the duration of the tween to 1000 ms and a bouncing transition
			// And then tweens the height of the element
			$('dominio1').setStyle('display', 'block');
			$('dominio1').set('tween', {
				duration: 1000,
				transition: Fx.Transitions.Bounce.easeOut // This could have been also 'bounce:out'
			}).tween('height', '150px');

	},
		'mouseleave': function(){
			// Resets the tween and changes the element back to its original size
			$('dominio1').set('tween', {}).tween('height', '0px');
			$('dominio1').setStyle('display', 'none');

		}
	});

	$('abrirDominio2').addEvents({
		'mouseenter': function(){
			// Always sets the duration of the tween to 1000 ms and a bouncing transition
			// And then tweens the height of the element
			$('dominio2').setStyle('display', 'block');
			$('dominio2').set('tween', {
				duration: 1000,
				transition: Fx.Transitions.Bounce.easeOut // This could have been also 'bounce:out'
			}).tween('height', '150px');

	},
		'mouseleave': function(){
			// Resets the tween and changes the element back to its original size
			$('dominio2').set('tween', {}).tween('height', '0px');
			$('dominio2').setStyle('display', 'none');

		}
	});

	$('abrirDominio3').addEvents({
		'mouseenter': function(){
			// Always sets the duration of the tween to 1000 ms and a bouncing transition
			// And then tweens the height of the element
			$('dominio3').setStyle('display', 'block');
			$('dominio3').set('tween', {
				duration: 1000,
				transition: Fx.Transitions.Bounce.easeOut // This could have been also 'bounce:out'
			}).tween('height', '150px');

	},
		'mouseleave': function(){
			// Resets the tween and changes the element back to its original size
			$('dominio3').set('tween', {}).tween('height', '0px');
			$('dominio3').setStyle('display', 'none');

		}
	});

	$('abrirDominio4').addEvents({
		'mouseenter': function(){
			// Always sets the duration of the tween to 1000 ms and a bouncing transition
			// And then tweens the height of the element
			$('dominio4').setStyle('display', 'block');
			$('dominio4').set('tween', {
				duration: 1000,
				transition: Fx.Transitions.Bounce.easeOut // This could have been also 'bounce:out'
			}).tween('height', '150px');

	},
		'mouseleave': function(){
			// Resets the tween and changes the element back to its original size
			$('dominio4').set('tween', {}).tween('height', '0px');
			$('dominio4').setStyle('display', 'none');

		}
	});

	$('abrirDominio5').addEvents({
		'mouseenter': function(){
			// Always sets the duration of the tween to 1000 ms and a bouncing transition
			// And then tweens the height of the element
			$('dominio5').setStyle('display', 'block');
			$('dominio5').set('tween', {
				duration: 1000,
				transition: Fx.Transitions.Bounce.easeOut // This could have been also 'bounce:out'
			}).tween('height', '150px');

	},
		'mouseleave': function(){
			// Resets the tween and changes the element back to its original size
			$('dominio5').set('tween', {}).tween('height', '0px');
			$('dominio5').setStyle('display', 'none');

		}
	});

	$('abrirDominio6').addEvents({
		'mouseenter': function(){
			// Always sets the duration of the tween to 1000 ms and a bouncing transition
			// And then tweens the height of the element
			$('dominio6').setStyle('display', 'block');
			$('dominio6').set('tween', {
				duration: 1000,
				transition: Fx.Transitions.Bounce.easeOut // This could have been also 'bounce:out'
			}).tween('height', '150px');

	},
		'mouseleave': function(){
			// Resets the tween and changes the element back to its original size
			$('dominio6').set('tween', {}).tween('height', '0px');
			$('dominio6').setStyle('display', 'none');

		}
	});
	$('abrirDominio7').addEvents({
		'mouseenter': function(){
			// Always sets the duration of the tween to 1000 ms and a bouncing transition
			// And then tweens the height of the element
			$('dominio7').setStyle('display', 'block');
			$('dominio7').set('tween', {
				duration: 1000,
				transition: Fx.Transitions.Bounce.easeOut // This could have been also 'bounce:out'
			}).tween('height', '150px');

	},
		'mouseleave': function(){
			// Resets the tween and changes the element back to its original size
			$('dominio7').set('tween', {}).tween('height', '0px');
			$('dominio7').setStyle('display', 'none');

		}
	});
	$('abrirDominio8').addEvents({
		'mouseenter': function(){
			// Always sets the duration of the tween to 1000 ms and a bouncing transition
			// And then tweens the height of the element
			$('dominio8').setStyle('display', 'block');
			$('dominio8').set('tween', {
				duration: 1000,
				transition: Fx.Transitions.Bounce.easeOut // This could have been also 'bounce:out'
			}).tween('height', '150px');

	},
		'mouseleave': function(){
			// Resets the tween and changes the element back to its original size
			$('dominio8').set('tween', {}).tween('height', '0px');
			$('dominio8').setStyle('display', 'none');

		}
	});

	$('abrirDominio9').addEvents({
		'mouseenter': function(){
			// Always sets the duration of the tween to 1000 ms and a bouncing transition
			// And then tweens the height of the element
			$('dominio9').setStyle('display', 'block');
			$('dominio9').set('tween', {
				duration: 1000,
				transition: Fx.Transitions.Bounce.easeOut // This could have been also 'bounce:out'
			}).tween('height', '150px');

	},
		'mouseleave': function(){
			// Resets the tween and changes the element back to its original size
			$('dominio9').set('tween', {}).tween('height', '0px');
			$('dominio9').setStyle('display', 'none');

		}
	});

	$('abrirDominio10').addEvents({
		'mouseenter': function(){
			// Always sets the duration of the tween to 1000 ms and a bouncing transition
			// And then tweens the height of the element
			$('dominio10').setStyle('display', 'block');
			$('dominio10').set('tween', {
				duration: 1000,
				transition: Fx.Transitions.Bounce.easeOut // This could have been also 'bounce:out'
			}).tween('height', '150px');

	},
		'mouseleave': function(){
			// Resets the tween and changes the element back to its original size
			$('dominio10').set('tween', {}).tween('height', '0px');
			$('dominio10').setStyle('display', 'none');

		}
	});


	$('abrirDominio11').addEvents({
		'mouseenter': function(){
			// Always sets the duration of the tween to 1000 ms and a bouncing transition
			// And then tweens the height of the element
			$('dominio11').setStyle('display', 'block');
			$('dominio11').set('tween', {
				duration: 1000,
				transition: Fx.Transitions.Bounce.easeOut // This could have been also 'bounce:out'
			}).tween('height', '150px');

	},
		'mouseleave': function(){
			// Resets the tween and changes the element back to its original size
			$('dominio11').set('tween', {}).tween('height', '0px');
			$('dominio11').setStyle('display', 'none');
		}
	});

	$('abrirDominio12').addEvents({
		'mouseenter': function(){
			// Always sets the duration of the tween to 1000 ms and a bouncing transition
			// And then tweens the height of the element
			$('dominio12').setStyle('display', 'block');
			$('dominio12').set('tween', {
				duration: 1000,
				transition: Fx.Transitions.Bounce.easeOut // This could have been also 'bounce:out'
			}).tween('height', '50px');

	},
		'mouseleave': function(){
			// Resets the tween and changes the element back to its original size
			$('dominio12').set('tween', {}).tween('height', '0px');
			$('dominio12').setStyle('display', 'none');
		}
	});
	$('abrirDominio13').addEvents({
		'mouseenter': function(){
			// Always sets the duration of the tween to 1000 ms and a bouncing transition
			// And then tweens the height of the element
			$('dominio13').setStyle('display', 'block');
			$('dominio13').set('tween', {
				duration: 1000,
				transition: Fx.Transitions.Bounce.easeOut // This could have been also 'bounce:out'
			}).tween('height', '100px');

	},
		'mouseleave': function(){
			// Resets the tween and changes the element back to its original size
			$('dominio13').set('tween', {}).tween('height', '0px');
			$('dominio13').setStyle('display', 'none');
		}
	});
	
	$('abrirDominio14').addEvents({
		'mouseenter': function(){
			// Always sets the duration of the tween to 1000 ms and a bouncing transition
			// And then tweens the height of the element
			$('dominio14').setStyle('display', 'block');
			$('dominio14').set('tween', {
				duration: 1000,
				transition: Fx.Transitions.Bounce.easeOut // This could have been also 'bounce:out'
			}).tween('height', '100px');

	},
		'mouseleave': function(){
			// Resets the tween and changes the element back to its original size
			$('dominio14').set('tween', {}).tween('height', '0px');
			$('dominio14').setStyle('display', 'none');
		}
	});
	$('abrirDominio15').addEvents({
		'mouseenter': function(){
			// Always sets the duration of the tween to 1000 ms and a bouncing transition
			// And then tweens the height of the element
			$('dominio15').setStyle('display', 'block');
			$('dominio15').set('tween', {
				duration: 1000,
				transition: Fx.Transitions.Bounce.easeOut // This could have been also 'bounce:out'
			}).tween('height', '100px');

	},
		'mouseleave': function(){
			// Resets the tween and changes the element back to its original size
			$('dominio15').set('tween', {}).tween('height', '0px');
			$('dominio15').setStyle('display', 'none');
		}
	});
	
	$('busc-alojamiento3').addEvents({
		'keypress': function(){
			// Always sets the duration of the tween to 1000 ms and a bouncing transition
			// And then tweens the height of the element
			$('divhoteles').setStyle('display', 'block');
			$('divhoteles').set('tween', {
				duration: 1000,
				transition: Fx.Transitions.Bounce.easeOut // This could have been also 'bounce:out'
			})//.tween('height', '50px');

	}, 
		'blur': function(){
			// Resets the tween and changes the element back to its original size
			$('divhoteles').set('tween', {}).tween('height', '0px');
			$('divhoteles').setStyle('display', 'none');
		}
	});
	

});