$(document).ready(function(){

	// Lowering the opacity of all slide in divs
	$('.showimages div,.showimages p').css('opacity',0);

	// Using the hover method 
	$('.showimages').hover(function(){

		// Executed on mouseenter
		
		var el = $(this);
		
		// Find all the divs inside the showimages div,
		// and animate them with the new size
		
		el.find('div,p').animate({opacity:'1'  },400,function(){
			// Show the "Visit Company" text:	
		});

	},function(){

		// Executed on moseleave

		var el = $(this);
		
		// Hiding the text
		
		
		// Animating the divs
		el.find('div,p').animate({opacity:'0'  }, 400);

	}).click(function (){
		
		// When clicked, open a tab with the address of the hyperlink
		
		window.open($(this).find('a').attr('href'), "bb");
		});
});



