
var j$ = jQuery.noConflict();
(function(j$) {

j$(document).ready( function(){
    
//switch pictures
j$("#rotating_img a").click(function() {
        j$("#rotator_links a").removeClass("on");
		j$(this).addClass("on");
		return false;
	});

j$("#rotating_img").cycle({
    	timeout:4000,
    	speed:500,
    	before:onBefore,
    	pause:true,
    	next:'#nextButtonRotator',
    	prev:'#prevButtonRotator'
    	//random: true
	});
	
function onBefore() {
	j$('#desc').html(this.alt);
}

}); 

})(jQuery);
