var dirr_set=1;
	$(function() {
			$("div#makeMeScrollable").smoothDivScroll({ autoScroll: "always", 
												 		autoScrollDirection: "endlessloopright",
														autoScrollStep: 1.
														});
			$(".scrollingHotSpotLeft").remove();
			$(".scrollingHotSpotRight").remove();
														
			//$("div#makeMeScrollable a").colorbox({speed:"500"});

			// Pause autoscrolling if the user clicks one of the images
			$("div#makeMeScrollable").bind("click", function() {
				$(this).smoothDivScroll("stopAutoScroll");
			});
			$("div#makeMeScrollable").bind("mouseenter", function() {
				$(this).smoothDivScroll("stopAutoScroll");
			});
			$("div#makeMeScrollable").bind("mouseleave", function() {
				$(this).smoothDivScroll("startAutoScroll");
			});



$("#todirr").click(function(){   
	if(dirr_set==1){
			$("div#makeMeScrollable").smoothDivScroll({autoScrollDirection: "endlessloopleft"}); 
	dirr_set=0;
	}else{
			$("div#makeMeScrollable").smoothDivScroll({autoScrollDirection: "endlessloopright"}); 
	dirr_set=1;
	}
        });

$("#todirr").hover(function(){
	$(this).css('backgroundPosition', ' 100% 100%');
   $("div#makeMeScrollable").smoothDivScroll({autoScrollStep: 4});  
},function(){
	$(this).css('backgroundPosition', ' 0% 0%');
   $("div#makeMeScrollable").smoothDivScroll({autoScrollStep: 1});  
});

$("div.scrollableArea a.mix_btn").hover(function(){
	
	var thiscclas= $(this).children('span.item_spp');
	thiscclas.css({'height':'0px','width':'0px','display':'block','padding-left':100,'padding-top':80});
  thiscclas.animate({

    width: 220,
    height: 170,
	paddingLeft:0,
	paddingTop:0
   
  }, 500, function() {  });


	 
},function(){
	
	var thiscclas= $(this).children('span.item_spp');
  thiscclas.animate({

    width: 0,
    height: 0,
	paddingLeft:100,
	paddingTop:80
   
  }, 500, function() {  });
	
	  
});

	$("span.item_spp").click(function(){   
		var linkk = $(this).parent().attr('href');
		window.location=linkk;
	})


	});
