if (slideAutoScroll) {
slideDuration = 8000;
} else {
slideDuration = 0;
}

// make sure the $ is pointing to JQuery and not some other library
(function($){
    // add a new method to JQuery

    $.fn.equalHeight = function() {
       // find the tallest height in the collection
       // that was passed in (.column)
        tallest = 0;
        this.each(function(){
            thisHeight = $(this).height();
            if( thisHeight > tallest)
                tallest = thisHeight;
        });

        // set each items height to use the tallest value found
        this.each(function(){
            $(this).height(tallest);
        });
    }
})(jQuery);


jQuery(document).ready(function($) {
    $('#featured-panels').cycle({
		cleartypeNoBg: true,
	    fx:     'fade', 
		pause:  1,
	    speed:  1000, 
	    timeout: slideDuration, 
	    next:   '#next2', 
	    prev:   '#prev2' 
	});
	
	$('#promo-boxes h3').equalHeight();
	$('#promo-boxes div').equalHeight();
	
	//$('.twtr-hd').hide();
});
