jQuery(document).ready(function(){
       jQuery(".consultants li").hover(function(){     
		jQuery(".cons_buttons", this).delay(800).stop().animate({top:'-1px'},{queue:false,duration:300});  
     	}, function() {  
         	jQuery(".cons_buttons", this).stop().animate({top:'188px'},{queue:false,duration:300});  
	});

jQuery(document).ready(function(){
			jQuery('#filter input').click(function() {
								
				jQuery('input:radio:checked').each(function(i) {
					var filterVal = this.value;
					jQuery('ul.portfolio li div').each(function() {
						jQuery(this).fadeOut('fast').addClass('hidden');
					});

					jQuery('ul.portfolio li div').each(function() {
                                                if(jQuery(this).hasClass(filterVal)) {
							jQuery(this).fadeIn('slow').removeClass('hidden');
						};
					});
				});
			});
});


jQuery('.cat').hover(function(){     
				jQuery(".description", this).delay(800).stop().animate({top:'-1px'},{queue:false,duration:300});  
     			}, function() {  
         				jQuery(".description", this).stop().animate({top:'111px'},{queue:false,duration:300});  
			});
});




jQuery('#slideshow').cycle({
		        fx:     'fade',
		        speed:  2000,
		        timeout: 4000,
		        pagerEvent: 'mouseover',
		        pager:  '.leftMenu',
	
		        pagerAnchorBuilder: function(idx, slide) {
		           // return sel string for existing anchor
		           return '.leftMenu li:eq(' + (idx) + ') a'; 
		        }
});
