	    $(window).load(function() {
	        $('#slider').nivoSlider();
	        
			var speed = 500;
			var Left = 0;
			var ItemSpace = 5;
			var ItemWidth = 320;
			var VisibleItemCount = 3;
			var ItemCount = $("div.#item-container div.block").length;
			var TotalWidth = ItemSpace*ItemCount + ItemWidth*ItemCount;
			
			document.getElementById("item-container").style.width = TotalWidth + "px";
				
			$( "#Next" ).click(function(){
				
				if(Left >= 0) return;//VisibleItemCount * ItemWidth) return;
				Left+=ItemWidth + ItemSpace;	
				
			  $( ".block:first" ).animate(
			  	{left: Left}, 
			  	{duration: speed,step: function( now, fx ) {$( ".block:gt(0)" ).css( "left", now ); }}
			  	); 
			  });
		
			$( "#Prev" ).click(function(){
			
				if(Left <= -1*((ItemCount-VisibleItemCount) * ItemWidth + VisibleItemCount*ItemSpace)) return;
				Left-=ItemWidth + ItemSpace;
				
			  $( ".block:first" ).animate({
			    left: Left
			  }, {duration: speed, step: function( now, fx ){ $( ".block:gt(0)" ).css( "left", now ); }}
			    );
			});
	    });

	    jQuery(function( $ ){
			
			var containerUr = $( "#containerUrunler" );
			$("#Anchor_Urunler").hover(
				function() {containerUr.slideDown(100);},
				function() {containerUr.slideUp(100);}
			);
			
			var containerKr = $( "#containerKurumsal" );
			$("#Anchor_Kurumsal").hover(
				function() {containerKr.slideDown(100);},
				function() {containerKr.slideUp(100);}
			);

			var containerKt = $( "#containerKutuphane" );
			$("#Anchor_Kutuphane").hover(
				function() {containerKt.slideDown(100);},
				function() {containerKt.slideUp(100);}
			);			
			
			});
		

