// JavaScript Document


$(document).ready(function() {



	$('.dropdown').hide();
	$(".timeline .tlp1").show();
	
	$('.nav li').mouseover(function(){
	
		$(this).find(".dropdown").show();
		$(this).find('a').css('color', '#103f83');
		$('.big_nav').find('a').css('color', '#e5e5e5');
	
	});
	$('.nav li').mouseleave(function(){
			
			$(this).find('.dropdown').hide();
			$(this).find('a').css('color', 'white');
		
	});

	$('.timeline .dot').mouseover(function(){
		$('.tl_popup').hide();
		$(this).find(".tl_popup").show();
			$('.timeline .headline').fadeOut();
	
	});
	$('.timeline .dot').mouseleave(function(){
			
			$(this).find('.tl_popup').hide();
		
			
	});
    $('.timeline').mouseleave(function(){
	   $('.timeline .headline').fadeIn();
	   $(".timeline .tlp1").fadeIn();
	});

$('.hcm_slider').hide();
	
	$('.intro_slider').delay(4000).fadeOut(800, function(){
		$('.hcm_slider').fadeIn(800, function(){
			$('.hcm_slider').delay(4000).fadeOut(800, function(){
			
			$('#coin-slider').delay(4000).fadeIn(1000).delay(4000).coinslider({ width: 1000, height:373, navigation: true, delay: 3000, sph:1, spw:1 });
			});
		});
	});
	
	

	
	
	
	
	

});


