      $(document).ready(function() {
      	
        $('#coda-slider-1').codaSlider({
          autoSlide: false,
          autoSlideInterval: 4000,
          autoSlideStopWhenClicked: true,
          dynamicArrows: false,
          dynamicTabs: false
        });
        
      $('body').keyup(function (event) {
        var direction = null;
    
        // handle cursor keys
        if (event.keyCode == 37) {
          // slide left
          direction = 'prev';
        } else if (event.keyCode == 39) {
          // slide right
          direction = 'next';
        }
    
        if (direction != null) {
          $('ul a.current').parent()[direction]().find('a').click();
        }
      });
        
        $(".tab_content").hide();
      	$("ul.tabs li:first").addClass("active").show();
      	$(".tab_content:first").show();
      	
      	$("ul.tabs li").click(function() {
      		$("ul.tabs li").removeClass("active");
      		$(this).addClass("active");
      		$(".tab_content").hide();
      		var activeTab = $(this).find("a").attr("href");
      		$(activeTab).fadeIn(1000);
      		return false;
      	});

      });
