$(document).ready(function(){
	 
	 $(".js").click(function(event) { 
  			event.preventDefault(); 
		})
	  
	  $("nav li, .imtext").hover(function(){
			$(this).stop().animate({left: "10px"}, { queue:false, duration:650 }, function(){});
		},function(){
			$(this).stop().animate({left: "0px"}, { queue:false, duration:450 }, function(){});
		});
		 
 	$(".bigger").hover(function(){
			$(this).stop().animate({width: "560px"}, { queue:false, duration:650 }, function(){});
		},function(){
			$(this).stop().animate({width: "160px"}, { queue:false, duration:450 }, function(){});
		});
 
 
 
  });
	
	
  /*function slideSwitch() {
	  var $active = $('#slideshow IMG.active');
	  if ( $active.length == 0 ) $active = $('#slideshow IMG:last');
	  var $next =  $active.next().length ? $active.next() : $('#slideshow IMG:first');
	  $active.addClass('last-active');
	  $next.css({opacity: 0.0})
		  .addClass('active')
		  .animate({opacity: 1.0}, 1000, function() {
			  $active.removeClass('active last-active');
		  });
  }
  $(function() {
	  setInterval( "slideSwitch()", 3000 );
  });*/

	function my_func(button) {
		$(document).ready(function(){
			//my_docu = "_ajax_index.php" . button;
			$('.content').load(button);

			/*if($('#slider').css('display') == 'none' && $('#ident').text() != button ) {
				$('#slider').text('');
				$("#slider").slideToggle("slow", function() {$("#slider").load(my_docu);});
			}
			
			if($('#slider').css('display') != 'none' && $('#ident').text() != 'button' ) {
				$("#slider").load(my_docu);
			}
			
			if($('#ident').text() == button ) {
				$("#slider").slideToggle("slow");
			}*/
		});	
	}	
 
