// JavaScript Document

$j = jQuery.noConflict();


function skipIntro() {
	
	fadeOutIntro();
}


function fadeOutIntro() {
	
	$j('#introImage').children('#image1').fadeOut(800);
	$j('#introImage').children('#image2').fadeOut(1000);
	$j('#introImage').children('#image3').fadeOut(1500, function() {	
		$j('#introImage').css('display', 'none');	
	});
}

$j(document).ready(function() {
			
			setInterval('fadeOutIntro()', 5000);
			$j('#skipBtn img').hover(
					function() {
						newsrc = $j(this).attr('src').replace('_normal', '_active');
						$j(this).attr('src', newsrc);
					},
					function() {
						newsrc = $j(this).attr('src').replace('_active', '_normal');
						$j(this).attr('src', newsrc);
					}
			);
});
