 $(document).ready(function(){
     $(function(){
    			$('#slider').bxSlider({
    			displaySlideQty: 5,
    			moveSlideQty: 5,
    			auto: true,
    			speed: 1000,
    			pause: 5000,
    			autoHover: true,
    			controls: false
    			});
    }); 
 
    var animateText = function(a){
		  $('#logo1').delay(4000).fadeOut(1000);
          $('#line-bottom').delay(2000).fadeIn(2000).delay(2000);
		  $('#web-link-cz').delay(2000).fadeIn(2000).delay(2000);
		  $('#web-link-en').delay(2000).fadeIn(2000).delay(2000);
		  
		  $('#logo2').delay(4000).fadeIn(2000).delay(2000);
		  $('#line-top').delay(4000).fadeIn(2000).delay(2000);
		  
		  $('#mail').delay(6000).fadeIn(2000).delay(2000);
		  $('#photo-box').delay(6000).fadeIn(2000).delay(2000);        
       };
    animateText(1);
       
    //Larger thumbnail preview 
  
$("ul li").hover(function() {
	$(this).css({'z-index' : '9999'});
	$(this).children('img').addClass("hover").stop()
		.animate({
			marginTop: '-14px', 
			marginLeft: '-15px', 
			width: '150px', 
			height: '101px',
			padding: '0px' 
		}, 200);
	
	} , function() {
	$(this).css({'z-index' : '0'});
	$(this).find('img').removeClass("hover").stop()
		.animate({
			marginTop: '0', 
			marginLeft: '0',
			width: '114px', 
			height: '76px', 
			padding: '0px'
		}, 400);
    });
/* 
    //Swap Image on Click
	$("#slider li a").click(function() {
		return false;
	});  */         
});   	    		    
