(function($){ /* without this and bottom })(jQuery); cycles will not work */

$(document).ready(function(){
			    
/*	$('.lightbox a').lightBox({	
		imageLoading: 'images/jquery_lightbox/lightbox-ico-loading.gif',
	imageBtnClose: 'images/jquery_lightbox/lightbox-btn-close.gif',
	imageBtnPrev: 'images/jquery_lightbox/lightbox-btn-prev.gif',
	imageBtnNext: 'images/jquery_lightbox/lightbox-btn-next.gif'
	}); */
	
    $('div.cycle_fade_long').cycle({
		speed: 1400,
		timeout: 6000,
		random: 1,
		pause: 1,
		next: 'div.cycle_fade_long div'
		});

	$('div.cycle').cycle({
			fx:      'scrollRight',
			pause: 1,
			next: 'p.title',		
			timeout: 5000,
			});

	$('div.news_cycle').cycle({
			fx:	'zoom',
			pause: 1
			});
	
	
	$('.theatre tr').mouseover(function() {
		$(this).addClass('over');})
		.mouseout(function() {
		$(this).removeClass('over');});
		
	$('.theatre tr:even').addClass('alt');
	
	$('.codeblock').prepend('<p class="nolrmp"><strong>if needed, please hover to expand</strong></p>');
		
	$('.codeblock').hover(function() {
        $(this).animate({ width: "900px"}, 500);
	    },
		function() {
        $(this).animate({ width: "590px" }, 500);
	});

});

})(jQuery);

