// when the DOM is ready...
$(document).ready(function () {

$(".partner:last").css("border", "none");

$("#tabTech").hover(function(){
	$("#tabTech").animate({
		height: "40px"
	}, 300);
});
$("#tabTech").mouseout(function(){
	$("#tabTech").animate({
		height: "31px"
	}, 300);
});

$("#tabClients").hover(function(){
	$("#tabClients").animate({
		height: "40px"
	}, 300);
});
$("#tabClients").mouseout(function(){
	$("#tabClients").animate({
		height: "31px"
	}, 300);
});

$("#tabWhat").hover(function(){
	$("#tabWhat").animate({
		height: "40px"
	}, 300);
});
$("#tabWhat").mouseout(function(){
	$("#tabWhat").animate({
		height: "31px"
	}, 300);
});

$('img.pdf').hover(function () {
        this.src = '/wp-content/themes/cam/uploads/pdf_on.png';
    }, function () {
        this.src = '/wp-content/themes/cam/uploads/pdf.png';
});


$('.custList').hide();
$('#custAuto').show();

$('.custTab').click(function () {
	$('#custTabs .active').removeClass('active');
	$(this).addClass('active');
});

$('#tabAuto').click(function () {
	$('.custList').hide();
	$('#custAuto').show();
});
$('#tabCement').click(function () {
	$('.custList').hide();
	$('#custCement').show();
});
$('#tabConsumer').click(function () {
	$('.custList').hide();
	$('#custConsumer').show();
});
$('#tabContainer').click(function () {
	$('.custList').hide();
	$('#custContainer').show();
});
$('#tabFood').click(function () {
	$('.custList').hide();
	$('#custFood').show();
});
$('#tabGov').click(function () {
	$('.custList').hide();
	$('#custGov').show();
});
$('#tabHealth').click(function () {
	$('.custList').hide();
	$('#custHealth').show();
});
$('#tabIndustrial').click(function () {
	$('.custList').hide();
	$('#custIndustrial').show();
});
$('#tabMetal').click(function () {
	$('.custList').hide();
	$('#custMetal').show();
});



});


