


 
// DOM Loaded 
$(function(){ 
     

    // homepage cycles 
    $('#feature_gallery .bigimg').wrapAll('<div class="bigimgs">').parents('#feature_gallery').append('<ul class="menu" id="feature_gallery_pager">').cycle({ 
        fx:'scrollLeft', 
        easing: 'swing', 
        inDelay:    250, 
        drop:       40, 
        timeout:    7000, // milliseconds between slide transitions (0 to disable auto advance) 
		speed:         1000,  // speed of the transition (any valid fx speed value) 
        pause:      true,
		//before:  onBefore,
        slideExpr: '.bigimg', 
        pager:      '#feature_gallery_pager', 
        pagerAnchorBuilder: function(idx, slide) { 
          
            return '<li><a href="#"><img src="'+slide.id+'" class="thumb"><span></span></a></li>';  
        } 
		
    });
	
$(function() {
    jQuery('#feature_gallery_pager').jcarousel({
        scroll:1
    });
});

	
/*
function onBefore() { 
    $('#output').html(this.title); 
} 
*/

	 $('div.bigimg').removeClass('hide');


     
}); 
 
/* Window load event (things that need to wait for images to finish loading) */ 
//equal heights 

 
