document.addEvent('domready', function() {
	if (window.location.pathname.match(/^\/home\/$/)
			|| window.location.pathname.match(/^\/$/)) {
		$('lbImage').addEvent('click', function() {
			window.location = 'echovet2100/index.html';
		});
		Slimbox.open("media/images/lancamento_hs2100.jpg");
	}
	if ($('linha_humana')) {
		$('merlinh').addEvent('mouseenter', function() {
			$('merlinh').tween('height', 150);
		});

		$('merlinh').addEvent('mouseout', function() {
			$('merlinh').tween('height', 80);
		});

		$('minifocush').addEvent('mouseenter', function() {
			$('minifocush').tween('height', 150);
		});

		$('minifocush').addEvent('mouseout', function() {
			$('minifocush').tween('height', 80);
		});

		$('profocush').addEvent('mouseenter', function() {
			$('profocush').tween('height', 200);
		});

		$('profocush').addEvent('mouseout', function() {
			$('profocush').tween('height', 120);
		});
	}

	if ($('linha_veterinaria')) {
		$('1500vet').addEvent('mouseenter', function() {
			$('1500vet').tween('height', 150);
		});

		$('1500vet').addEvent('mouseout', function() {
			$('1500vet').tween('height', 80);
		});

		$('2000vet').addEvent('mouseenter', function() {
			$('2000vet').tween('height', 150);
		});

		$('2000vet').addEvent('mouseout', function() {
			$('2000vet').tween('height', 80);
		});

		$('autoscan').addEvent('mouseenter', function() {
			$('autoscan').tween('height', 150);
		});

		$('autoscan').addEvent('mouseout', function() {
			$('autoscan').tween('height', 80);
		});

		$('th100').addEvent('mouseenter', function() {
			$('th100').tween('height', 150);
		});

		$('th100').addEvent('mouseout', function() {
			$('th100').tween('height', 80);
		});

		$('kx5100').addEvent('mouseenter', function() {
			$('kx5100').tween('height', 150);
		});

		$('kx5100').addEvent('mouseout', function() {
			$('kx5100').tween('height', 80);
		});

		$('echovet2100').addEvent('mouseenter', function() {
			$('echovet2100').tween('height', 150);
		});

		$('echovet2100').addEvent('mouseout', function() {
			$('echovet2100').tween('height', 80);
		});

	}

	var myTips = new Tips('.tooltip');
	myTips.addEvent('show', function(tip) {
		tip.fade('in');
	});
	
	$$('.tooltip').each(function(e){
		e.store('tip:text', ' ');
	});

});
