// JavaScript Document

$(document).ready(function() {
						   
	$('.link-through').css({'opacity': 0});

	var count = 0;
	var count2 = 0;	

	$('.link-through').each(function(){
		$(this).addClass('fadein-'+count);
		count++;
	});	

	setInterval(fadeLogo, 250);
	
	function fadeLogo() {
		if(count2!=count) {
			$('.fadein-'+count2).animate({'opacity': 1});
			count2++;
		}
	}
	
	$('.hover').hover(function(){
		$('.roll-over', this).stop(true, true).animate({height: "toggle"}, 250);
	}, function(){
		$('.roll-over', this).stop(true, true).animate({height: "toggle"}, 500);
	});
	
	// Use the code below to change the animation from a reveal and hide to fade-out and fade-in
	
	/*$('.hover').hover(function(){
		$('.roll-over', this).stop(true, true).fadeOut(250);
	}, function(){
		$('.roll-over', this).stop(true, true).fadeIn(500);
	});*/

});

