/*

$(document).ready(function(){
		var liRaster = 3;
		var liHeight = $('#catSwitch ul li').css('height');
		liHeight = parseInt(liHeight.slice(0, liHeight.length-2) );
		liHeight +=2;
		var marginTop = $('#catSwitch').css('margin-top');
		marginTop = parseInt(marginTop.slice(0, marginTop.length-2))
		var marginBottom = $('#catSwitch').css('margin-bottom');
		marginBottom = parseInt(marginBottom.slice(0, marginBottom.length-2));		
		var liLength = (($('#catSwitch li').length)-1)/liRaster;
		
		$('#catSwitch').animate({
			height: (liHeight * 3) 	
		}, 1000 );		
			
		$('.catswitchLink').click(function() {										   
			if($('#catSwitch').height() <= 4*liHeight) {
				var tmpHeight = liHeight * liLength;
				$('#catSwitch').animate({
					height: (tmpHeight+marginTop+marginBottom) 			
				  }, "slow","swing" );
			} else {
				$('#catSwitch').animate({
					height: liHeight * 3
				  }, "slow","swing" ); 					
				}			
			return false;	
		});
});
*/

