var $j = jQuery.noConflict();
$j(document).ready(function() {
	
			$j('.firstopen').show();
			//Slide up and down & toogle the Class on click
			$j('.trigger').click(function(){										
			$j(this).toggleClass('active').next('.toggle-container').slideToggle('fast');
			$j('.toggle-container').hide();
			});
			
			$j("div#slideshow").carousel({
				autoSlide: true,
				loop: true,
				autoSlideInterval: 6000,
				pagination: false
			});
			
			
			$j("a.registertoday").hover(function() { 
			$j(this).stop().animate({ backgroundColor: "#015ABB",color: "#fff" }, 600);
			},function() {
			$j(this).stop().animate({ backgroundColor: "#ffffff", color: "#015ABB" }, 400);
			});
			
			//$j('a[rel*=facebox]').facebox();
			
			$j(".fancybox").fancybox({
			'overlayShow' : true,
			'zoomSpeedIn' : 600,
			'zoomSpeedOut' : 500,
			'easingIn' : 'easeOutBack',
			'easingOut' : 'easeInBack',
			'hideOnContentClick': false
			}); 
			
		
	$j('ul#portfolio').innerfade({
	speed: 1000,
	timeout: 5000,
	type: 'sequence',
	containerheight: '220px'
					});
	
			
							
});