// JavaScript Document


jQuery(document).ready(function() {



$('.slidescontainer').cycle({ 
    fx:     'fade', 
    speed:  1000, 
    timeout: 5000

	});	
	
	$('.slides-internal').cycle({ 
    fx:     'fade', 
    speed:  1000, 
    timeout: 5000

	});	
	
								
$('#slides').cycle({ 
    fx:     'fade', 
    speed:  1000, 
    timeout: 5000,
	pause: true,
	next:   '#drpcycle .perv a', 
    prev:   '#drpcycle .next a'

	});	
	
	$('.boxgrid.captionfull').hover(function(){
					$(".cover", this).stop().animate({bottom:'0px', height:'169px'},{queue:false,duration:200});
				}, function() {
					$(".cover", this).stop().animate({bottom:'-169px'},{queue:false,duration:400});
				});
	
  });
  	$('#sliderimg').cycle({ 
			fx:     'fade', 
			speed:  'slow', 
			timeout: 0,
			 cleartype:  1,
			  pager:  '#pagerimg', 
			   pagerEvent: 'click',
			pagerAnchorBuilder: function(idx, slide) { 
				// return selector string for existing anchor 
				return '#pagerimg li:eq(' + idx + ') a'; 
			}
			});
			
			$('#sliedstab').cycle({ 
    fx:     'fade', 
    speed:  'slow', 
    timeout: 0,
	 cleartype:  1,
	  pager:  '#pagertext', 
	   pagerEvent: 'click',
    pagerAnchorBuilder: function(idx, slide) { 
        // return selector string for existing anchor 
        return '#pagertext li:eq(' + idx + ') a'; 
	}

}); 

