currentDiv ="";


function showTrucks(truckCat){
	//$('.cat-trucks').fadeOut('fast');
	$('#'+truckCat+'-show-link').fadeOut('fast');
	
	if(currentDiv > ""){
		$('.'+currentDiv).animate({"height": 193}, "slow")
		$('#'+currentDiv+'-show-link').fadeIn('fast');
		if(currentDiv != truckCat ){
			//$('.'+truckCat).animate({"height": 327}, "slow"); 
			//we know what the currentDiv is, we need to use it to give ourselves the correct height
			
			//console.log(currentDiv);
			//alert("what?");
			
			if(truckCat !='pumper'){
				$('.'+truckCat).animate({"height": 327}, "slow");
			}else{
				$('.'+truckCat).animate({"height": 448}, "slow");
			}
		}
	}else{
		//console.log(truckCat); //if the truckcat is pumper, we need to make this taller.
			if(truckCat !='pumper'){
				$('.'+truckCat).animate({"height": 327}, "slow");
			}else{
				$('.'+truckCat).animate({"height": 448}, "slow");
			}
	}
	if(currentDiv != truckCat ){
		//$('.'+truckCat+'-trucks').fadeIn('slow');
		currentDiv =truckCat;
	}else{
		currentDiv ="";
	}
}