
$(document).ready(function(){
	var $jq = jQuery.noConflict();
	//Examples of how to assign the ColorBox event to elements
	$jq("a[rel='galleria']").colorbox();
	//Example of preserving a JavaScript event for inline calls.
	$jq("#click").click(function(){ 
		$jq('#click').css({"background-color":"#f00", "color":"#fff", "cursor":"inherit"}).text("Open this window again and this message will still be here.");
		return false;
	});	
	$jq('#slider1').nivoSlider({ pauseTime:5000, pauseOnHover:false, directionNav:true, directionNavHide:false, effect:'fade' });
	setTimeout(function(){
		$jq('#slider2').nivoSlider({ pauseTime:5000, pauseOnHover:false, captionOpacity:0.6 });
	}, 1000);
	setTimeout(function(){
		$jq('#slider3').nivoSlider({
			pauseTime:5000,
			pauseOnHover:false,
			controlNavThumbs:true
		});
	}, 2000);
	setTimeout(function(){
		$jq('#slider4').nivoSlider({
			effect:'random',
			animSpeed:1500,
			pauseTime:5000,
			startSlide:2,
			directionNav:false,
			controlNav:true,
			keyboardNav:false,
			pauseOnHover:false
		});
	}, 3000);	
	

});

